Author |
Topic |
|
madmark
Starting Member
20 Posts |
Posted - 16 July 2001 : 23:53:21
|
I am trying to implement the Poll mod on my site. Everything goes great (mod_dbsetup went smoothly, I can see the Add Poll icon, things are rather peachy). Unfortunately, with the Poll mod files installed, I can no longer read ANY topics at all. I had some other mods installed so I went through and pieced the Poll mod lines in so I wouldn't overwrite my other files. I believe that I have it narrowed down to the topic.asp file. Anyone want to see what I missed ? Please? http://www.mydta.org/topic.txt
|
|
Davio
Development Team Member
Jamaica
12217 Posts |
Posted - 17 July 2001 : 09:16:33
|
You didn't show me an example of what you are talking about. But just looking at your file I see a few errors.
On line 581, you missing a closing ASP tag %>.580 <% end if 581 ' ########################################### %> 582 <% if (strICQ = "1") then %> Line 749 needs to de deleted.749 <font color="<% =strForumFontColor %>" face="<% =strDefaultFontFace %>" size="<% =strDefaultFontSize %>"><% =formatStr(rs("T_MESSAGE")) %></font></td>
- David |
|
|
madmark
Starting Member
20 Posts |
Posted - 17 July 2001 : 11:46:33
|
Thank you for the speedy reply. I implemented those changes that you recommended, unfortunately, I'm in the same boat. I just get the error: HTTP 500 - Internal server error Internet Explorer whenever I click on a topic to read. My site is still in the development stage so I'll leave the newly modified files up if you want to see the error. (not that you WANT to see the error , I'm sure you have better things to do! Right now if you click on a post to read there will be an error in the topic.asp. http://www.mydta.org/forum/default.asp p.s. I locked the top forum (just testing it out) but the testing forum is open.
Thanks!
Mark Swanson
Edited by - madmark on 17 July 2001 11:48:01
Edited by - madmark on 17 July 2001 11:49:43 |
|
|
madmark
Starting Member
20 Posts |
Posted - 17 July 2001 : 11:51:37
|
Also, what program do you guys use to edit your files in? I have been using wordpad but it's a pain that there are no line numbers. I had to close my eyes and count to 749 to delete that one line. Stop laughing. Mark
Edited by - madmark on 17 July 2001 11:52:19 |
|
|
Davio
Development Team Member
Jamaica
12217 Posts |
Posted - 17 July 2001 : 19:46:34
|
quote: I had to close my eyes and count to 749 to delete that one line. Stop laughing.
LOL!!! There is a free program called Araneae. You can use that. I use Allaire Homesite to do my editing.
As for your error, you didn't refresh the topic.txt file so I can see the changes you made. I know what the problem is, it is missing a closing asp tag %>. This is the error that it is giving:Microsoft VBScript compilation error '800a0400'
Expected statement
/forum/topic.asp, line 748
</tr> ^ So it is saying that you need a closing ASP tag, right before that </tr> tag on line 748.
If you are using IE, go to your internet options, click the Advanced tab, scroll down till you see the "Show friendly HTTP error messages" option and un-check it. Then you will see the detailed error message above instead of the Internal Server error.
- David |
|
|
madmark
Starting Member
20 Posts |
Posted - 19 July 2001 : 17:40:16
|
YOU ARE THE MAN!
I used the program Araneae in conjunction with the helpful errors that I now receive through IE and have solved all my problems. I honestly can't thank you enough. The teachers in the union that have given me this job to do the website shall also be forever grateful that things work!
Note to all other users (especially novices like myself):
Do both things that Davio recommended- Use Araneae to edit your scripts and turn off the <Show friendly HTTP error messages> in IE, it is So incredibly useful.
Thanks again- Mark Swanson
|
|
|
Davio
Development Team Member
Jamaica
12217 Posts |
Posted - 19 July 2001 : 23:43:20
|
You're Welcome.
- David |
|
|
|
Topic |
|