Author |
Topic  |
|
GooFY0nE
New Member

Denmark
82 Posts |
Posted - 20 May 2002 : 10:19:34
|
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
|
remove the end if from line 1064
 Crash's Site | Crash is from 
|
 |
|
GooFY0nE
New Member

Denmark
82 Posts |
Posted - 20 May 2002 : 10:59:31
|
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 |
 |
|
GooFY0nE
New Member

Denmark
82 Posts |
Posted - 20 May 2002 : 11:02:55
|
****....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 |
 |
|
Davio
Development Team Member
    
Jamaica
12217 Posts |
Posted - 20 May 2002 : 11:41:00
|
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 ! |
 |
|
GooFY0nE
New Member

Denmark
82 Posts |
Posted - 20 May 2002 : 11:53:40
|
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 |
 |
|
Davio
Development Team Member
    
Jamaica
12217 Posts |
Posted - 20 May 2002 : 11:59:32
|
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 ! |
 |
|
GooFY0nE
New Member

Denmark
82 Posts |
Posted - 20 May 2002 : 12:02:02
|
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 |
 |
|
Davio
Development Team Member
    
Jamaica
12217 Posts |
Posted - 20 May 2002 : 12:08:15
|
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 ! |
 |
|
GooFY0nE
New Member

Denmark
82 Posts |
Posted - 20 May 2002 : 12:16:33
|
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 |
 |
|
Davio
Development Team Member
    
Jamaica
12217 Posts |
Posted - 20 May 2002 : 17:48:57
|
You're welcome! 
«------------------------------------------------------» Want to know when the next version comes out, as soon as possible? Join our Mailing Lists ! |
 |
|
|
Topic  |
|