Snitz Forums 2000
Snitz Forums 2000
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Snitz Forums 2000 DEV-Group
 DEV Discussions (General)
 Quotes Cause Errors
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

@tomic
Senior Member

USA
1790 Posts

Posted - 05 September 2002 :  17:23:46  Show Profile  Visit @tomic's Homepage  Send @tomic an ICQ Message
http://forum.snitz.com/forum/topic.asp?TOPIC_ID=34329

When I tried to load this topic I got some errors from my Visual Studio debugger that led right to the lines with the topic subect for Previous Topic and the only thing different that I could see was the use of quotes in the Subject.:

<a href="topic.asp?TOPIC_ID=34329"><img src="icon_go_left.gif" width="15" height="15" border="0" alt="Previous Topic: Some help with the "Buddy Mod" Please" title="Previous Topic: Some help with the "Buddy Mod" Please" align="top" hspace="6" onMouseOver="(window.status='Previous Topic: Some help with the "Buddy Mod" Please'); return true" onMouseOut="(window.status=''); return true" /></a><b><font face="Verdana, Arial, Helvetica" size="2" color="#F5FFFA"> Topic </font></b><a href="topic.asp?TOPIC_ID=34328"><img src="icon_go_right.gif" width="15" height="15" border="0" alt="Next Topic: Active Users 4.17 update problem" title="Next Topic: Active Users 4.17 update problem" align="top" hspace="6" onMouseOver="(window.status='Next Topic: Active Users 4.17 update problem'); return true" onMouseOut="(window.status=''); return true" /></a></font></b></td>

@tomic

SportsBettingAcumen.com

RichardKinser
Snitz Forums Admin

USA
16655 Posts

Posted - 05 September 2002 :  17:37:47  Show Profile
the code that was causing that has been removed.
Go to Top of Page

kwhipp
Junior Member

USA
407 Posts

Posted - 05 September 2002 :  18:52:53  Show Profile  Visit kwhipp's Homepage  Send kwhipp an AOL message  Send kwhipp an ICQ Message  Send kwhipp a Yahoo! Message
Richard -

To fix the error that @tomic found I did the following.

In inc_func_common.asp (function chkString) after line 377 insert the following.
		Case "imagetag"
			fString = replace(fString,"""","")
			fString = replace(fString,"'","")
			chkString = fString
			exit function


Then in topic.asp (Sub Topic_nav()) change:
"Previous Topic: " & chkString(rsPrevTopic("T_SUBJECT"),"display")

to
"Previous Topic: " & chkString(rsPrevTopic("T_SUBJECT"),"imagetag")


and also change:
"Next Topic: " & chkString(rsNextTopic("T_SUBJECT"),"display")

to
"Next Topic: " & chkString(rsNextTopic("T_SUBJECT"),"imagetag")


- Kevin
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.16 seconds. Powered By: Snitz Forums 2000 Version 3.4.07