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
 Site Poll Mod
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

maduko
New Member

USA
58 Posts

Posted - 11 July 2005 :  18:17:06  Show Profile  Visit maduko's Homepage
When I try to include the poll on my home page I get this error....

Microsoft VBScript compilation error '800a0411'
Name redefined
/forum/inc_adovbs.asp, line 14
Const adOpenForwardOnly = 0
------^

I believe the trouble originates from the AdMentor script we use to rotate our banner ads. If I remove that script the poll will display.

Any suggestions on how to make the two coexist?



Places2ride.com

Shaggy
Support Moderator

Ireland
6780 Posts

Posted - 12 July 2005 :  04:41:49  Show Profile
It looks like you have inc_adovbs.asp included twice on the page your getting that error on either directly or through another include. Based on your "fix" it's more than likely included in one of your AdMentor files.


Search is your friend
“I was having a mildly paranoid day, mostly due to the
fact that the mad priest lady from over the river had
taken to nailing weasels to my front door again.”
Go to Top of Page

maduko
New Member

USA
58 Posts

Posted - 12 July 2005 :  09:11:41  Show Profile  Visit maduko's Homepage
This is the code in the AdMentor include that appears to be the culprit:

Function AdMentor_DBGetBannersInFarm( oConn, nBannerFarm )
Dim oRS
Set oRS = CreateObject("ADODB.Recordset")
oRS.CursorLocation = adUseClient
oRS.MaxRecords = g_AdMentor_MaxRecords
oRS.CacheSize = g_AdMentor_MaxRecords
oRS.CursorType = adOpenForwardOnly
oRS.Open "select bannerid, gifurl, weight, alttext, undertext, xsize, ysize from banner where farmid=" & nBannerFarm & " and weight > 0 and showcount < maximpressions AND clickcount+underclickcount < maxclicks AND validtodate >= " & Internal_AdMentordb_GetDateFunction() & " AND validfromdate <= " & Internal_AdMentordb_GetDateFunction(), oConn

Set oRS.ActiveConnection = Nothing
Set AdMentor_DBGetBannersInFarm = oRS
End Function



Places2ride.com

Go to Top of Page

Shaggy
Support Moderator

Ireland
6780 Posts

Posted - 12 July 2005 :  09:31:01  Show Profile
Nothing in there that would cause the problem. Can you post a link to a *.txt copy of that entire file?


Search is your friend
“I was having a mildly paranoid day, mostly due to the
fact that the mad priest lady from over the river had
taken to nailing weasels to my front door again.”
Go to Top of Page

jonaldjustine
Starting Member

Philippines
17 Posts

Posted - 23 July 2005 :  09:25:55  Show Profile  Visit jonaldjustine's Homepage  Send jonaldjustine a Yahoo! Message
I also have a prolem with my poll. When I turn my poll ON and clicks the submit button, it shows the page stating that my configuration was posted but when I returned to the Poll Admin page, the poll was turned OFF so I cannot use my poll. Can you help me with this?

"Remember that the Master of masters is God!"
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.33 seconds. Powered By: Snitz Forums 2000 Version 3.4.07