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: General / Classic ASP versions(v3.4.XX)
 Error in admin_variable_info.asp (and solution?)
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

juliana
Starting Member

United States
13 Posts

Posted - 02 February 2008 :  20:58:59  Show Profile  Visit juliana's Homepage
i'm using ver. 3.4.06.
when viewing admin_variable_info.asp page i got this error at /STRBADWORDS line:

Microsoft VBScript runtime error '800a005e' 

Invalid use of Null: 'cstr'

/admin_variable_info.asp, line 156

i changed line 153 so that this chunk of code:

		if Application.Contents(key) = "" then
			Response.Write	" "
		else
			Response.Write	chkString(CStr(Application.Contents(key)), "admindisplay")
		end if 

looks like this:

		if Application.Contents(key) = "" or IsNull(Application.Contents(key)) then
			Response.Write	" "
		else
			Response.Write	chkString(CStr(Application.Contents(key)), "admindisplay")
		end if 


can you guys verify that this is a good enough solution?

i got tons of "bad words" that are displayed at /STRBADWORDWORDS line so i guess /STRBADWORDS above is not used/needed in this version of forum?

"It's not the size of the lift, it's the articulation!" - Lil ED
Off Road North America - JeepingSingles.net

Edited by - juliana on 02 February 2008 21:00:19

ruirib
Snitz Forums Admin

Portugal
26364 Posts

Posted - 03 February 2008 :  05:32:25  Show Profile  Send ruirib a Yahoo! Message
Seems like a good solution, if it works for you.


Snitz 3.4 Readme | Like the support? Support Snitz too
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.28 seconds. Powered By: Snitz Forums 2000 Version 3.4.07