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

 All Forums
 Snitz Forums 2000 DEV-Group
 DEV Bug Reports (Closed)
 Error Code 0 when running setup w/mysql & chiliasp
 Forum Locked  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

Davio
Development Team Member

Jamaica
12217 Posts

Posted - 30 August 2002 :  20:52:44  Show Profile
In config.asp we added the Err.Number to the if statements so it won't go into a never ending loop with chiliasp, because chiliasp doesn't support the Errors() collection. It kept returning 0 instead of the correct error code. But we also sent the same 0 for the error code. So basically it's not fixed yet.

We need to use Err.Number instead to get the error code.
In config.asp, change lines 141, 167 from this:
ConnErrorNumber = my_Conn.Errors(counter).Number
to this:
ConnErrorNumber = Err.Number
Change lines 143, 168 from this:
if my_Conn.Errors(counter).Number <> 0 or Err.Number <> 0 then
to this:
if ConnErrorNumber <> 0 then
Line 170 can be removed.
In line 205 change the myConnError variable to ConnErrorNumber.

For setup.asp. We need to change all instances of:
ConnErrorNumber = my_Conn.Errors(counter).Number
to this:
ConnErrorNumber = Err.Number
Lines 114, 486, 3612, 3633, 3716, 3817, 3846, 3883 and 3993.

And we need to remove the following code in red:
if ConnErrorNumber <> 0 or Err.Number <> 0 then
from lines 116, 488, 3614, 3634, 3718, 3818, 3847, 3884 and 3996. Since we are already checking for that.

That's it.

Support Snitz Forums

RichardKinser
Snitz Forums Admin

USA
16655 Posts

Posted - 30 August 2002 :  22:56:00  Show Profile
fixed in v3.4.02
Go to Top of Page
  Previous Topic Topic Next Topic  
 Forum Locked  Topic Locked
 Printer Friendly
Jump To:
Snitz Forums 2000 © 2000-2021 Snitz™ Communications Go To Top Of Page
This page was generated in 0.15 seconds. Powered By: Snitz Forums 2000 Version 3.4.07