Author |
Topic |
|
rtrm
Starting Member
United Kingdom
10 Posts |
Posted - 26 February 2006 : 09:00:13
|
Hi
I've recently applied the Poll Mod. Sincwe the mod was applied the text of the intial post of each topic is duplicated - like this:
Anybody have any idea what's causing this problem?
Roy |
|
rtrm
Starting Member
United Kingdom
10 Posts |
Posted - 26 February 2006 : 09:01:15
|
I guess the problem is in the topic.asp file. Here it is as it currently stands:
Code removed by ruirib: please post your file as a link to a text file.. |
|
|
modifichicci
Average Member
Italy
787 Posts |
|
rtrm
Starting Member
United Kingdom
10 Posts |
Posted - 27 February 2006 : 11:53:18
|
Thanks very much for your reply.
I've added an end if before 1120, and now get the error:
Microsoft VBScript compilation error '800a03f8'
Expected 'Sub'
/fate/topic.asp, line 1127
end if ----^
That section of code now reads (from 1113):
end if Response.Write " </td>" & vbNewLine & _ " </tr>" & vbNewLine & _ "</table>" & vbNewLine end if else Response.Write " <font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """ color=""" & strForumFontColor & """><span class=""spnMessageText"" id=""msg"">" end if if Request.QueryString("SearchTerms") <> "" then Response.Write SearchHiLite(formatStr(Topic_Message)) else Response.Write formatStr(Topic_Message) end if Response.Write "</span id=""msg""></font>" & vbNewLine end if |
|
|
Jezmeister
Senior Member
United Kingdom
1141 Posts |
Posted - 27 February 2006 : 14:13:57
|
im not sure you need that extra end if - I havent counted but just looking at that section... I think the part you've now ended is a larger if statement and you're cutting it short. and anyway I don't think its got anything to do with your problem
could you post a txt file of your topic.asp? |
Edited by - Jezmeister on 27 February 2006 14:14:57 |
|
|
rtrm
Starting Member
United Kingdom
10 Posts |
Posted - 27 February 2006 : 14:56:35
|
This is the topic.asp file:
file://www.daggerford.com/topic.asp.txt
Couldn't think of a better way of enabling you to download it.
Roy |
|
|
modifichicci
Average Member
Italy
787 Posts |
Posted - 28 February 2006 : 08:01:05
|
Are you sure this topic is that with poll mod? I dont'see the changes for that mod.. In my file that is a very modded file, there is and end if where i said, but it's possible that that end if has to go in another place, it seems the calling to show message is done twice, as it is out of an end if loop or inside a loop od the poll mod. Check the changes you have done, expecially in the get first routine. |
Ernia e Laparocele Forum di Ernia e Laparocele Acces - MySql Migration Tutorial Adamantine forum |
|
|
rtrm
Starting Member
United Kingdom
10 Posts |
Posted - 28 February 2006 : 08:10:52
|
Hmmm, think I might have linked to the wrong file. I have too many versions!
I'm check out the Poll Mod changes again when I get home.
Roy |
|
|
rtrm
Starting Member
United Kingdom
10 Posts |
Posted - 01 March 2006 : 10:53:15
|
I reapplyed the patch again from scratch, and it now works.
I think the problem was around a part of the code that had already been altered by the Event Mod.
Thanks to everyone who helped,
Roy |
|
|
|
Topic |
|