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
 poll_mod_33 error topic.asp, line 1064, column 4
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

GooFY0nE
New Member

Denmark
82 Posts

Posted - 20 May 2002 :  10:19:34  Show Profile  Visit GooFY0nE's Homepage  Send GooFY0nE an ICQ Message
Hi, im getting a error when i make a poll and try to view it, when i press then link to view the poll i just made i get this error:

______________________________________________________________________
Technical Information (for support personnel)

Error Type:
Microsoft VBScript compilation (0x800A03F8)
Expected 'Sub'
/topic.asp, line 1064, column 4
end if
---^


Browser Type:
Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0)

Page:
GET /topic.asp

______________________________________________________________________


i must say that i have installed Email Validation mod, PM mod, Sticky Topic mod and a few others on this forum and now added poll_mod_33, it seems to work fine, when i go to admin options i have the poll mod options and i can change them without prob's, i can make a poll without any prob's, only when i try to view the poll/go to the poll i get this error....any ide's anyone ???

Link to my topic.asp in .txt format:
http://www.aagren.net/errors/topic.asp.txt

Link to my beta forum with the poll_mod_33 on it:
http://www.aagren.net/beta

Link to my current forum without the poll_mod_33 on it:
http://www.aagren.net


Thx for all the nice MOD's guy's ur the best......


Regards
GooFY0nE


Edited by - GooFY0nE on 20 May 2002 10:42:17

Edited by - GooFY0nE on 20 May 2002 10:44:30

crash
Advanced Member

Netherlands
2064 Posts

Posted - 20 May 2002 :  10:52:06  Show Profile  Visit crash's Homepage
remove the end if from line 1064



Crash's Site | Crash is from
Go to Top of Page

GooFY0nE
New Member

Denmark
82 Posts

Posted - 20 May 2002 :  10:59:31  Show Profile  Visit GooFY0nE's Homepage  Send GooFY0nE an ICQ Message
quote:

remove the end if from line 1064



Crash's Site | Crash is from




ok trying it now.....Thx Crash for the fast reply....brb

Regards:
GooFY0nE
Aagren.Net
Go to Top of Page

GooFY0nE
New Member

Denmark
82 Posts

Posted - 20 May 2002 :  11:02:55  Show Profile  Visit GooFY0nE's Homepage  Send GooFY0nE an ICQ Message
****....thst didn't help just gave me another error:


ADODB.Recordset (0x800A0CC1)
Item cannot be found in the collection corresponding to the requested name or ordinal.
/beta/topic.asp, line 763



I'll set it back......

Regards:
GooFY0nE
Aagren.Net
Go to Top of Page

Davio
Development Team Member

Jamaica
12217 Posts

Posted - 20 May 2002 :  11:41:00  Show Profile
After you put back the end if, line 1046, remove the code in red:
if (mlev <> 0) or (mlev = 0 and  strLogonForMail <> "1") then %>
After you do that, you are going to get the second error you just posted. This is because you replaced the entire SQL query with the one from the poll mod. Because you did this, the SQL tables you added in to the SQL query is now gone. Like the M_PMRECEIVE. So you going to have to add it back in. I'm not sure about the Private Message mod, but I think it should look something like the following. After line 120 in your file, add the code in red:
strMemberTablePrefix & "MEMBERS.M_COUNTRY, " & _
strMemberTablePrefix & "MEMBERS.M_PMRECEIVE, " & _
strActivePrefix & "TOPICS.T_DATE, " & _
I'm not 100% sure, but I think that should do it. Refer to the instructions for the Private Message mod to make sure that is the right code to add.

«------------------------------------------------------»
Want to know when the next version comes out,
as soon as possible? Join our Mailing Lists !
Go to Top of Page

GooFY0nE
New Member

Denmark
82 Posts

Posted - 20 May 2002 :  11:53:40  Show Profile  Visit GooFY0nE's Homepage  Send GooFY0nE an ICQ Message
sorry davio, i don't undestand the 2 first lines of your reply...

" After you put back the end if, line 1046, remove the code in red:
if (mlev <> 0) or (mlev = 0 and strLogonForMail <> "1") then %> "

were did u find this line: if (mlev <> 0) or (mlev = 0 and strLogonForMail <> "1") then %> ???

and is it only the %> of that line u want me to del ??

Regards:
GooFY0nE
Aagren.Net
Go to Top of Page

Davio
Development Team Member

Jamaica
12217 Posts

Posted - 20 May 2002 :  11:59:32  Show Profile
It's line 1046, in the PostingOptions() sub. Unless you gave a link to the wrong topic.asp file in your post. Can't you find line 1046?

And yes, the code in red is all I need you to delete.

«------------------------------------------------------»
Want to know when the next version comes out,
as soon as possible? Join our Mailing Lists !
Go to Top of Page

GooFY0nE
New Member

Denmark
82 Posts

Posted - 20 May 2002 :  12:02:02  Show Profile  Visit GooFY0nE's Homepage  Send GooFY0nE an ICQ Message
quote:

It's line 1046, in the PostingOptions() sub. Unless you gave a link to the wrong topic.asp file in your post. Can't you find line 1046?

And yes, the code in red is all I need you to delete.

«------------------------------------------------------»
Want to know when the next version comes out,
as soon as possible? Join our Mailing Lists !






sorry Davio....the line was there and without the %> so that line is ok....i will make the other change now.....Thx.....

Regards:
GooFY0nE
Aagren.Net
Go to Top of Page

Davio
Development Team Member

Jamaica
12217 Posts

Posted - 20 May 2002 :  12:08:15  Show Profile
quote:
sorry Davio....the line was there and without the %> so that line is ok....i will make the other change now.....Thx.....


I'm only telling you according to what I see in your topic.asp file you posted above. If you have already removed that bit of code, then you shouldn't get the first error you are getting anymore.

«------------------------------------------------------»
Want to know when the next version comes out,
as soon as possible? Join our Mailing Lists !
Go to Top of Page

GooFY0nE
New Member

Denmark
82 Posts

Posted - 20 May 2002 :  12:16:33  Show Profile  Visit GooFY0nE's Homepage  Send GooFY0nE an ICQ Message
OK Solution:

1. i went to line 1047 and removed the %> from the line " if (mlev <> 0) or (mlev = 0 and strLogonForMail <> "1") then %> "

2. Then i added a PM line between line 120 and 121 " strMemberTablePrefix & "MEMBERS.M_PMRECEIVE, " & _ "

and that was that...all corrections made by Davio.

Thx Davio u Da MANNN !!!!

Regards:
GooFY0nE
Aagren.Net
Go to Top of Page

Davio
Development Team Member

Jamaica
12217 Posts

Posted - 20 May 2002 :  17:48:57  Show Profile
You're welcome!

«------------------------------------------------------»
Want to know when the next version comes out,
as soon as possible? Join our Mailing Lists !
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.38 seconds. Powered By: Snitz Forums 2000 Version 3.4.07