Author |
Topic  |
|
Webbo
Average Member
  
United Kingdom
982 Posts |
Posted - 23 July 2009 : 16:01:14
|
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
|
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 |
 |
|
Carefree
Advanced Member
    
Philippines
4222 Posts |
Posted - 23 July 2009 : 17:10:37
|
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. |
 |
|
Webbo
Average Member
  
United Kingdom
982 Posts |
Posted - 23 July 2009 : 17:24:53
|
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 |
 |
|
Webbo
Average Member
  
United Kingdom
982 Posts |
Posted - 23 July 2009 : 17:58:20
|
I've done a search in all the forum files for 'cast' and nothing found |
 |
|
HuwR
Forum Admin
    
United Kingdom
20600 Posts |
Posted - 23 July 2009 : 18:12:00
|
my guess would be that it is the database that is the issue, maybe cast is a reserved word |
 |
|
Webbo
Average Member
  
United Kingdom
982 Posts |
Posted - 23 July 2009 : 19:05:30
|
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 |
 |
|
Etymon
Advanced Member
    
United States
2396 Posts |
Posted - 23 July 2009 : 20:58:36
|
It seems to be just with your topic.asp page.
Any mods installed? |
 |
|
Etymon
Advanced Member
    
United States
2396 Posts |
Posted - 23 July 2009 : 21:01:04
|
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 |
 |
|
Etymon
Advanced Member
    
United States
2396 Posts |
Posted - 23 July 2009 : 21:03:50
|
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 |
 |
|
Webbo
Average Member
  
United Kingdom
982 Posts |
Posted - 24 July 2009 : 03:12:11
|
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 |
 |
|
Shaggy
Support Moderator
    
Ireland
6780 Posts |
Posted - 24 July 2009 : 05:11:44
|
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.” |
 |
|
Etymon
Advanced Member
    
United States
2396 Posts |
|
gary b
Junior Member
 
USA
267 Posts |
Posted - 26 July 2009 : 16:08:27
|
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 |
 |
|
|
Topic  |
|