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
 Modifying Register.asp
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

vesse
New Member

United Kingdom
69 Posts

Posted - 31 August 2002 :  15:55:04  Show Profile  Visit vesse's Homepage  Send vesse an AOL message  Send vesse an ICQ Message
I've been working on trying to implement Richards Avatar Version 2 MOD for my forum on a second test copy of the forum scripts (but running off the same database). As I upgraded from a Snitz 3.3.03 database I already had the Avatar tables as well as the M_AVATAR_URL field in my database and I just had to add a M_AVATAR_URL field to MEMBERS_PENDING. The first stage of registration works fine and the data goes into the database but when I try to activate the account I get an error message from the script related to inc_func_common.asp about an invalid use of Null Replace. But the thing is this error should not be caused by the script in theory because the chkString() function which I believe is causing the error is supposed to handle Null strings.

Does anyone know whats gone wrong or what might be the cause of this problem?

The error message recieved is:

Microsoft VBScript runtime error '800a005e'

Invalid use of Null: 'Replace'

/devforum/inc_func_common.asp, line 322

Building Web Systems for a new Generation @ http://www.vdesign-studios.com
webmaster@vdesign-studios.com
rvesse@hotmail.com
rvesse@dhtmlshock.com

vesse
New Member

United Kingdom
69 Posts

Posted - 31 August 2002 :  16:06:41  Show Profile  Visit vesse's Homepage  Send vesse an AOL message  Send vesse an ICQ Message
Traced this bug further, it actually occurs in the HTMLEncode function which is called for HTML Encoding of the SQLString data which is being passed to it bythe chkString function. If I comment out this line then the user is able to register without problem. Whats going on and how can I fix this properly?

Building Web Systems for a new Generation @ http://www.vdesign-studios.com
webmaster@vdesign-studios.com
rvesse@hotmail.com
rvesse@dhtmlshock.com
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.41 seconds. Powered By: Snitz Forums 2000 Version 3.4.07