Snitz Forums 2000
Snitz Forums 2000
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Help Groups for Snitz Forums 2000 Users
 Help: MOD Implementation
 Poll MOD - inc_func_common.asp - error
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

NiteOwl
Junior Member

Canada
403 Posts

Posted - 02 November 2003 :  19:16:29  Show Profile  Visit NiteOwl's Homepage
I have latest Snitz, latest Poll MOD and mySQL database.

I receive the following error:

Microsoft VBScript compilation error '800a03ea' 
Syntax error 
/inc_func_common.asp, line 167 
(UCase(Right(strArray(Co     - ),  )) <> "file:///") and _
-------------------------------^



-=NiteOwl=-

Edited by - NiteOwl on 02 November 2003 20:05:06

laser
Advanced Member

Australia
3859 Posts

Posted - 02 November 2003 :  19:30:24  Show Profile
Looks like you missed the If at the start of that line.
Go to Top of Page

NiteOwl
Junior Member

Canada
403 Posts

Posted - 02 November 2003 :  19:38:35  Show Profile  Visit NiteOwl's Homepage
oh, this is the complete section:


function ChkURLs(ByVal strToFormat, ByVal sPrefix, ByVal iType)
	Dim strArray
	Dim Counter

	ChkURLs = strToFormat

	if InStr(1, strToFormat, sPrefix) > 0 Then
		strArray = Split(strToFormat, sPrefix, -1)
		ChkURLs = strArray(0)

		for Counter = 1 To UBound(strArray)
			if ((strArray(Counter-1) = "" Or Len(strArray(Counter-1)) < 5) And strArray(Counter)<> "") then
				ChkURLs = ChkURLs & edit_hrefs(sPrefix & strArray(Counter), iType)
			elseif ((UCase(Right(strArray(Counter-1), 6)) <> "HREF=""") and _
				(UCase(Right(strArray(Counter-1), 5)) <> "[IMG]") and _
				(UCase(Right(strArray(Counter-1), 5)) <> "[URL]") and _
				(UCase(Right(strArray(Counter-1), 6)) <> "[URL=""") and _
				(UCase(Right(strArray(Counter-1), 6)) <> "ftp://") and _
				(UCase(Right(strArray(Counter-1), 8)) <> "file:///") and _
				(UCase(Right(strArray(Counter-1), 7)) <> "http://") and _
				(UCase(Right(strArray(Counter-1), 8)) <> "https://") and _
				(UCase(Right(strArray(Counter-1), 5)) <> "SRC=""") and _
				(strArray(Counter) <> "")) then

				ChkURLs = ChkURLs & edit_hrefs(sPrefix & strArray(Counter), iType)
			else
				ChkURLs = ChkURLs & sPrefix & strArray(Counter)
			end if
		next
	end if
end function

-=NiteOwl=-
Go to Top of Page

Davio
Development Team Member

Jamaica
12217 Posts

Posted - 03 November 2003 :  06:26:21  Show Profile
Try re-uploading the file. Looks like the file got corrupted.
Make sure you're not using Frontpage to upload the file.

Support Snitz Forums
Go to Top of Page

NiteOwl
Junior Member

Canada
403 Posts

Posted - 04 November 2003 :  08:02:26  Show Profile  Visit NiteOwl's Homepage
You were correct, it was not front page but another program in the background which caused this! Thanks

-=NiteOwl=-
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Topic Locked
 Printer Friendly
Jump To:
Snitz Forums 2000 © 2000-2021 Snitz™ Communications Go To Top Of Page
This page was generated in 1.33 seconds. Powered By: Snitz Forums 2000 Version 3.4.07