Author |
Topic |
|
spyderuk
Junior Member
United Kingdom
211 Posts |
Posted - 14 January 2006 : 15:00:11
|
Ok Got it all installed, edited forum to take a poll, so far so good. Posted a new poll. Went to view poll and got this error.
Microsoft VBScript compilation error '800a03f4'
Expected 'If'
/forum2/topic.asp, line 1324
end sub ----^
I have checked the file and this is what is there. looks the same as the one I was updating from.
'First of all get max value and nLowValue nMaxValue = 0 for nCount = 1 to 15 if trim(vAnswers(nCount)) <> "" and vCount(nCount) > nMaxValue then nMaxValue = vCount(nCount) end if next if nMaxValue = 0 then nMaxValue = 1 end if
Line 1324 is "for nCount = 1 to 15"
Anygood?? |
Snitz 3.4.05. Mods Installed, Additional Smilies, Poll's, PM's, Email All Users, Today/Yesterday, Active Users 4, Portal Mod, My Own Google, Referer Mod, Avatars, Intergrated Conqueror Chat, Usergroups, IPGate, File Attachment Mod & Image Resize Mod. Next Mod? My Snitz Forum
|
|
Davio
Development Team Member
Jamaica
12217 Posts |
Posted - 14 January 2006 : 20:13:37
|
Post a link to a txt version of your topic.asp file. |
Support Snitz Forums
|
|
|
spyderuk
Junior Member
United Kingdom
211 Posts |
Posted - 15 January 2006 : 06:03:53
|
Ok let's try this.
Topic.txt
Let's see if that works.
Thank's |
Snitz 3.4.05. Mods Installed, Additional Smilies, Poll's, PM's, Email All Users, Today/Yesterday, Active Users 4, Portal Mod, My Own Google, Referer Mod, Avatars, Intergrated Conqueror Chat, Usergroups, IPGate, File Attachment Mod & Image Resize Mod. Next Mod? My Snitz Forum
|
Edited by - spyderuk on 15 January 2006 06:04:54 |
|
|
spyderuk
Junior Member
United Kingdom
211 Posts |
Posted - 16 January 2006 : 17:15:33
|
Davio. Just for you info I have installed Pm mod and additional smilies although I can't see the smilies affecting anything |
Snitz 3.4.05. Mods Installed, Additional Smilies, Poll's, PM's, Email All Users, Today/Yesterday, Active Users 4, Portal Mod, My Own Google, Referer Mod, Avatars, Intergrated Conqueror Chat, Usergroups, IPGate, File Attachment Mod & Image Resize Mod. Next Mod? My Snitz Forum
|
|
|
Davio
Development Team Member
Jamaica
12217 Posts |
Posted - 17 January 2006 : 01:27:03
|
Oops. Sorry I missed this. I'll take a look at your file now. |
Support Snitz Forums
|
|
|
Davio
Development Team Member
Jamaica
12217 Posts |
Posted - 17 January 2006 : 01:47:04
|
You're missing an "end if" after line 1317 in your topic.asp file. Here is a graphical look at the missing code (had a little extra time on my hands )
Your file is on the right. The topic.asp file from the poll mod is on the left. |
Support Snitz Forums
|
|
|
spyderuk
Junior Member
United Kingdom
211 Posts |
Posted - 17 January 2006 : 03:03:39
|
Cheers Davio. I'll take a peek at it tonight. Work time now |
Snitz 3.4.05. Mods Installed, Additional Smilies, Poll's, PM's, Email All Users, Today/Yesterday, Active Users 4, Portal Mod, My Own Google, Referer Mod, Avatars, Intergrated Conqueror Chat, Usergroups, IPGate, File Attachment Mod & Image Resize Mod. Next Mod? My Snitz Forum
|
|
|
spyderuk
Junior Member
United Kingdom
211 Posts |
Posted - 18 January 2006 : 06:24:20
|
Ok got a bit further but now have this when trying to place a vote.
ADODB.Recordset error '800a0cc1'
Item cannot be found in the collection corresponding to the requested name or ordinal.
/forum2/topic.asp, line 135
I have downloaded my trial of beyond compare to try and have a look at this myself but line 135 seems to be a line from the pm mod. Member_PM = rsTopic("M_PMRECEIVE")
Searched and found this http://forum.snitz.com/forum/topic.asp?TOPIC_ID=59150&SearchTerms=Recordset,error
I had copied over the original which had part of my pm mod? Made the change and it seems to be working
Thanks for your help Davio
Edit. Just updated Master forum with all modded files and set it up no errors. Did a backup first just in case This modding is getting addictive but I'm waiting a week or so then I'm thinking avatar mod.
|
Snitz 3.4.05. Mods Installed, Additional Smilies, Poll's, PM's, Email All Users, Today/Yesterday, Active Users 4, Portal Mod, My Own Google, Referer Mod, Avatars, Intergrated Conqueror Chat, Usergroups, IPGate, File Attachment Mod & Image Resize Mod. Next Mod? My Snitz Forum
|
Edited by - spyderuk on 18 January 2006 07:35:31 |
|
|
spyderuk
Junior Member
United Kingdom
211 Posts |
Posted - 18 January 2006 : 07:58:47
|
Oop's, me and my big mouth. Got this error when clicking active topics.
Microsoft VBScript runtime error '800a0009'
Subscript out of range: 'fF_PASSWORD_NEW'
/forum/active.asp, line 504 Topic
Done a search and looked at it myself but there seems to be so much going on in that file. Just when some of this was beginning to make sense.
I'm still looking though!
EDIT- Re-edited the file from a back-up using BC. It was so easy and works a charm. Beats doing it manually. Had error deleting poll but found I missed a response write |
Snitz 3.4.05. Mods Installed, Additional Smilies, Poll's, PM's, Email All Users, Today/Yesterday, Active Users 4, Portal Mod, My Own Google, Referer Mod, Avatars, Intergrated Conqueror Chat, Usergroups, IPGate, File Attachment Mod & Image Resize Mod. Next Mod? My Snitz Forum
|
Edited by - spyderuk on 18 January 2006 08:39:52 |
|
|
Davio
Development Team Member
Jamaica
12217 Posts |
Posted - 18 January 2006 : 15:25:39
|
Ok, so after all the EDIT's are you running ok now or are you still having a problem? Not totally sure if you got your problems fixed or not.
Yeah, Beyond Compare is a life saver when making edits to your file. That's why I bought it. |
Support Snitz Forums
|
|
|
spyderuk
Junior Member
United Kingdom
211 Posts |
Posted - 19 January 2006 : 16:22:50
|
quote: Originally posted by Davio
Ok, so after all the EDIT's are you running ok now or are you still having a problem? Not totally sure if you got your problems fixed or not.
Yeah, Beyond Compare is a life saver when making edits to your file. That's why I bought it.
All sorted Davio. Thanks a million. I got the free trial so need to get all my mods done in around 20 summat days I may end up buying it didn't look at the cost when dl'ing.
Bashing my head against the wall with another mod now though!! Have a look if you dare |
Snitz 3.4.05. Mods Installed, Additional Smilies, Poll's, PM's, Email All Users, Today/Yesterday, Active Users 4, Portal Mod, My Own Google, Referer Mod, Avatars, Intergrated Conqueror Chat, Usergroups, IPGate, File Attachment Mod & Image Resize Mod. Next Mod? My Snitz Forum
|
Edited by - spyderuk on 19 January 2006 16:23:32 |
|
|
spyderuk
Junior Member
United Kingdom
211 Posts |
Posted - 21 January 2006 : 16:36:00
|
Davio. I hope you catch this, save me starting a new thread(Topic). The poll mod is great but the admins(see who's voted) seems to have stopped working.
Maybe it's due to the last mod that listed thousands of logged on users all with the same username that all linked back to my profile. I've been getting nasty dreams about that.
The link is there, no errors reported but no popup? All other pop ups function as normal. |
Snitz 3.4.05. Mods Installed, Additional Smilies, Poll's, PM's, Email All Users, Today/Yesterday, Active Users 4, Portal Mod, My Own Google, Referer Mod, Avatars, Intergrated Conqueror Chat, Usergroups, IPGate, File Attachment Mod & Image Resize Mod. Next Mod? My Snitz Forum
|
|
|
Davio
Development Team Member
Jamaica
12217 Posts |
Posted - 21 January 2006 : 23:41:04
|
The link is activates a javascript function that should be in your inc_header.asp file. Check your inc_header.asp file to make sure you have all the poll mod code in there. |
Support Snitz Forums
|
|
|
spyderuk
Junior Member
United Kingdom
211 Posts |
Posted - 22 January 2006 : 04:43:44
|
That's it. Restored a backup after that other mod... Backups coming out my ears.. Cheers David.
EDIT. Yep somehow uploaded a backup of inc_header.asp without the poll mod code. Easy when you know where to look
All sorted & fresh back-up made. I'm gonna leave it alone for a while.
Thanks again. |
Snitz 3.4.05. Mods Installed, Additional Smilies, Poll's, PM's, Email All Users, Today/Yesterday, Active Users 4, Portal Mod, My Own Google, Referer Mod, Avatars, Intergrated Conqueror Chat, Usergroups, IPGate, File Attachment Mod & Image Resize Mod. Next Mod? My Snitz Forum
|
Edited by - spyderuk on 22 January 2006 05:21:10 |
|
|
|
Topic |
|
|
|