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)
 BUG: admin_config_email.asp
 Forum Locked  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

Bladesnitz
Snitz Hosting Admin

USA
8 Posts

Posted - 06 August 2005 :  15:17:36  Show Profile  Visit Bladesnitz's Homepage  Send Bladesnitz an AOL message  Send Bladesnitz an ICQ Message  Send Bladesnitz a Yahoo! Message
In the 'admin_config_email.asp',

in the 'IsObjInstalled' function,

the "Err = 0" lines should be replaced with "Err.clear"

This is the only place in the code I found that Err = 0 is used.

On Chili!ASP, this results in some strange behavior (and thus returns no objects). By making the above changed, the Err object is kept intact and the function operates properly.

--- admin_config_email.asp.orig 2004-09-29 06:00:00.000000000 -0400
+++ admin_config_email.asp 2005-08-06 16:00:59.000000000-0400
@@ -263,7 +263,7 @@
on error resume next
'## initialize default values
IsObjInstalled = false
- Err = 0
+ Err.clear
'## testing code
dim xTestObj
set xTestObj = Server.CreateObject(strClassString)
@@ -272,7 +272,7 @@
end if
'## cleanup
set xTestObj = nothing
- Err = 0
+ Err.clear
on error goto 0
end function
%>
<

Edited by - Davio on 26 September 2006 05:42:33

Davio
Development Team Member

Jamaica
12217 Posts

Posted - 07 August 2005 :  01:40:09  Show Profile
It could be removed too. Since Err is reset to 0 after the "on error resume next" statement is called.

Thanks for the heads up.<

Support Snitz Forums
Go to Top of Page

Bladesnitz
Snitz Hosting Admin

USA
8 Posts

Posted - 07 August 2005 :  02:38:59  Show Profile  Visit Bladesnitz's Homepage  Send Bladesnitz an AOL message  Send Bladesnitz an ICQ Message  Send Bladesnitz a Yahoo! Message
I'm definitly no ASP guru, but I'm glad to contribute when I can :) BTW.. other than that, works great on SunOneASP as far as I've seen so far...<
Go to Top of Page

Davio
Development Team Member

Jamaica
12217 Posts

Posted - 06 August 2006 :  00:25:32  Show Profile
Fixed in 3.4.06.

The following changes were made to the IsObjInstalled function in admin_config_email.asp:
Changed Err = 0 to Err.Clear.
Changed if 0 = Err then to if Err.Number = 0 then.<

Support Snitz Forums
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.13 seconds. Powered By: Snitz Forums 2000 Version 3.4.07