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

 All Forums
 Help Groups for Snitz Forums 2000 Users
 Help: General / Classic ASP versions(v3.4.XX)
 Strange Search problem
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

Webbo
Average Member

United Kingdom
982 Posts

Posted - 23 July 2009 :  16:01:14  Show Profile  Visit Webbo's Homepage
When you do a search on my forum for the word 'cast' it returns a blank page when I click on one of the results links
Search for anything else and the search function works as it should, it's just the word cast that causes the problem

If I do a 'view source' on a page from the results I get the following only:

quote:
<!--INCLUDE FILE="LangMODS_Ls3kAU4_1030.asp" --><!--INCLUDE FILE="LangMODS_Ls3kAU4_1033.asp" --><!--INCLUDE FILE="LangMODS_Ls3kAU4_1034.asp" --><!--INCLUDE FILE="LangMODS_Ls3kAU4_1036.asp" --><!--INCLUDE FILE="LangMODS_Ls3kAU4_1037.asp" --><!--INCLUDE FILE="LangMODS_Ls3kAU4_1041.asp" --><!--INCLUDE FILE="LangMODS_Ls3kAU4_1043.asp" --><!--INCLUDE FILE="LangMODS_Ls3kAU4_1046.asp" --><!--INCLUDE FILE="LangMODS_Ls3kAU4_1053.asp" --><!--INCLUDE FILE="LangMODS_Ls3kAU4_2070.asp" -->


Anyone have any ideas where to start looking?


Edit: Link to forum
Click: Search link
Enter: cast
Click 'Search' button
Click on any of the results links
Blank page

Edited by - Webbo on 23 July 2009 16:07:05

gary b
Junior Member

USA
267 Posts

Posted - 23 July 2009 :  16:13:10  Show Profile  Visit gary b's Homepage
I searched and clicked result... blank page!

I copied result link
http://www.maggotdrowning.com/forum/topic.asp?TOPIC_ID=95678&SearchTerms=cast

and stripped SearchTerms=cast off the link.

Link works fine... result displays. [Edit] but page does not highlight search word[/Edit]

Issue appears to be SearchTerms=cast

Edited by - gary b on 23 July 2009 16:21:02
Go to Top of Page

Carefree
Advanced Member

Philippines
4222 Posts

Posted - 23 July 2009 :  17:10:37  Show Profile
Truncating the search term to "cas" also works. There must be something in one of your asp/js files which is aborting due to exactly the term "cast". I'd start with "search.asp" and search for the word in it and in each/every included file.
Go to Top of Page

Webbo
Average Member

United Kingdom
982 Posts

Posted - 23 July 2009 :  17:24:53  Show Profile  Visit Webbo's Homepage
Yes but likewise the &SearchTerms= is part of every search results link, it is the word cast that appears to be causing the problem

Posted at the same time as carefree

Edited by - Webbo on 23 July 2009 17:26:10
Go to Top of Page

Webbo
Average Member

United Kingdom
982 Posts

Posted - 23 July 2009 :  17:58:20  Show Profile  Visit Webbo's Homepage
I've done a search in all the forum files for 'cast' and nothing found
Go to Top of Page

HuwR
Forum Admin

United Kingdom
20600 Posts

Posted - 23 July 2009 :  18:12:00  Show Profile  Visit HuwR's Homepage
my guess would be that it is the database that is the issue, maybe cast is a reserved word
Go to Top of Page

Webbo
Average Member

United Kingdom
982 Posts

Posted - 23 July 2009 :  19:05:30  Show Profile  Visit Webbo's Homepage
Nope, I checked that but we also have a second forum as such running from the same database and it doesn't have the same issue...

Link here
Go to Top of Page

Etymon
Advanced Member

United States
2396 Posts

Posted - 23 July 2009 :  20:58:36  Show Profile  Visit Etymon's Homepage
It seems to be just with your topic.asp page.

Any mods installed?
Go to Top of Page

Etymon
Advanced Member

United States
2396 Posts

Posted - 23 July 2009 :  21:01:04  Show Profile  Visit Etymon's Homepage
When I do a Subject Only search on your forum search, results are found and displayed.

I mean displayed in the search results.

Edited by - Etymon on 23 July 2009 21:01:36
Go to Top of Page

Etymon
Advanced Member

United States
2396 Posts

Posted - 23 July 2009 :  21:03:50  Show Profile  Visit Etymon's Homepage
Maybe you could comment out non-vital .js files in topic.asp and see how it goes.

Edited by - Etymon on 23 July 2009 21:06:41
Go to Top of Page

Webbo
Average Member

United Kingdom
982 Posts

Posted - 24 July 2009 :  03:12:11  Show Profile  Visit Webbo's Homepage
The only .js files referenced in topic.asp are:

inc_spellcheck.js - IE Spellcheck Mod
inc_code.js - User Group Mod

And these have been in place for some time, saying that I've no idea how long the error has been there as it's only just been spotted
There's been many mods to the forum code over time and tbh its like looking for the proverbial needle in the haystack

Edited by - Webbo on 24 July 2009 03:12:24
Go to Top of Page

Shaggy
Support Moderator

Ireland
6780 Posts

Posted - 24 July 2009 :  05:11:44  Show Profile
Can you post a link to *.txt copies of your topic.asp file and all the files it includes? "Cast" is a reserved word in certain databases but there's nothing in a default topic.asp that would stop the loading of the entire page.


Search is your friend
“I was having a mildly paranoid day, mostly due to the
fact that the mad priest lady from over the river had
taken to nailing weasels to my front door again.”
Go to Top of Page

Etymon
Advanced Member

United States
2396 Posts

Posted - 24 July 2009 :  09:05:35  Show Profile  Visit Etymon's Homepage
You have a couple instances of "http://pagead2.googlesyndication.com/pagead/show_ads.js" in there as well. Have you tried disabling? It may be something in their files that is reserving the word "cast".
Go to Top of Page

gary b
Junior Member

USA
267 Posts

Posted - 26 July 2009 :  16:08:27  Show Profile  Visit gary b's Homepage
Webbo...

Did you ever resolve the problem?

I changed the URL by deleting the "c" and refreshing the page:

http://www.maggotdrowning.com/forum/topic.asp?TOPIC_ID=95852&SearchTerms=ast

I then looked at the 'page source code' and I noticed several things.

quote:
</style>
</head>

<body onload=walkImages() background="http://www.maggotdrowning.com/forum/backgrounds/isc.jpg" bgproperties="fixed" bgColor="whitesmoke" text="midnightblue" link="lightslateblue" aLink="red" vLink="lightslateblue">
<table align="center" width="95%" height="82" border="0" bgcolor="midnightblue" cellPadding="2" cellSpacing="0" >
<tr>
<td valign="top">
<table align="center" border="0" cellPadding="2" cellSpacing="0" width="100%" height="80">
<tr>
<td valign="center" width="30%" bgcolor="whitesmoke"><a href="default.asp" tabindex="-1"><img src="http://www.maggotdrowning.com/images/magtrans.gif" border="0" alt="The Maggotdrowner's Forum" title="The Maggotdrowner's Forum" /></a>
</td>
<td align="center" valign="center" width="70%" bgcolor="whitesmoke">
<font face="Verdana, Arial, Helvetica" color="mintcream" size="1">
<head><!-- Generated by OpenX 2.6.3 -->
<script type='text/javascript' src='http://www.maggotdrowning.com/openx/www/delivery/spcjs.php?id=1&withtext=1'></script>
</head>
<body><font='arial'>
<script


I see two <head> and two <body> tags, for example. Could this in combination with the 'cast' have an impact? I also see <a> tag before <html>.

Just some observations.

Edited by - gary b on 26 July 2009 16:09:13
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.38 seconds. Powered By: Snitz Forums 2000 Version 3.4.07