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
 End Of Code Errors
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

Jorrit787
Average Member

Netherlands
681 Posts

Posted - 21 November 2004 :  16:45:59  Show Profile  Visit Jorrit787's Homepage  Send Jorrit787 an AOL message  Send Jorrit787 a Yahoo! Message
I just keep getting these kinds of error at the end of codes:

Microsoft VBScript compilation error '800a03f6' 

Expected 'End' 

/Jorrit787/forum/Default.asp, line 1090

For example, the last lines in default.asp are like this:

Function listForumModerators(fForum_ID)
	fForumMods = split(strForumMods,"|")
	For iModerator = 0 to ubound(fForumMods)
		fForumMod = split(fForumMods(iModerator),",")
		ModForumID = fForumMod(0)
		ModMemID = fForumMod(1)
		ModMemName = fForumMod(2)
		If cLng(ModForumID) = cLng(fForum_ID) then
			If fMods = "" then
				fMods = "<nobr>" & profileLink(chkString(ModMemName,"display"),ModMemID) & "</nobr>"
			Else
				fMods = fMods & ", <nobr>" & profileLink(chkString(ModMemName,"display"),ModMemID) & "</nobr>"
			End If
		End if
	Next
	If fMods = "" then 
	 fMods = " "
	 listForumModerators = fMods
	Else
	End If  <-- Line 1090
End Function
%>

It doesn't look to me like there's an unfinished If block, but I keep getting this...

What to do?

eXtremeGossip

Edited by - ruirib on 21 November 2004 17:02:51

Jezmeister
Senior Member

United Kingdom
1141 Posts

Posted - 21 November 2004 :  16:54:21  Show Profile  Visit Jezmeister's Homepage
have you made any modifications to inc_header? if so check the modifications.
Go to Top of Page

laser
Advanced Member

Australia
3859 Posts

Posted - 21 November 2004 :  17:05:34  Show Profile
Why do you have nothing between Else & End If ?
Go to Top of Page

muzishun
Senior Member

United States
1079 Posts

Posted - 21 November 2004 :  17:50:42  Show Profile  Visit muzishun's Homepage
That's what I was thinking. Have you tried commenting out or deleting the Else before the last End If?

Bill Parrott
Senior Web Programmer, University of Kansas
Co-Owner and Code Monkey, Eternal Second Designs (www.eternalsecond.com)
Personal Website (www.chimericdream.com)

Edited by - muzishun on 21 November 2004 17:50:59
Go to Top of Page

Jorrit787
Average Member

Netherlands
681 Posts

Posted - 21 November 2004 :  18:35:32  Show Profile  Visit Jorrit787's Homepage  Send Jorrit787 an AOL message  Send Jorrit787 a Yahoo! Message
I still don't know what it is/was, but I removed the AdminLevel MOD and everything is working again...

eXtremeGossip
Go to Top of Page

Jezmeister
Senior Member

United Kingdom
1141 Posts

Posted - 21 November 2004 :  19:00:56  Show Profile  Visit Jezmeister's Homepage
check that when you put it in you didn't accidentaly delete any end if's, and that the mod itself has enough
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 0.43 seconds. Powered By: Snitz Forums 2000 Version 3.4.07