Gossamer Forum
Home : Products : Gossamer Links : Discussions :

search.cgi stopped working in Links212

Quote Reply
search.cgi stopped working in Links212
Recently my search.cgi stopped working and don't know when it happended.

When I search a term in a browser, only a blank page is returned. If I reload the page, the result shows up. I tested in different browsers and got the same problem. I can search in shell without any problem.

If I turn on debugging, when I search, I got 500 error.

I don't know what is the problem. I even discard my search log, cache and reindex my tables, they makes no difference.

Any clues? Thanks.
Quote Reply
Re: [long327] search.cgi stopped working in Links212 In reply to
Hi,

If you run search.cgi from SSH/Telnet, with;

cd /path/to/cgi
perl search.cgi

...what does it show you?

Cheers

Andy (mod)
andy@ultranerds.co.uk
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package | GLinks ULTRA Package PRO
Links SQL Plugins | Website Design and SEO | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!
Quote Reply
Re: [Andy] search.cgi stopped working in Links212 In reply to
I ran search.cgi in shell without problem.

./search.cgi query=some word
Quote Reply
Re: [long327] search.cgi stopped working in Links212 In reply to
Mmm.. does the error_log say anything interesting?

Cheers

Andy (mod)
andy@ultranerds.co.uk
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package | GLinks ULTRA Package PRO
Links SQL Plugins | Website Design and SEO | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!
Quote Reply
Re: [Andy] search.cgi stopped working in Links212 In reply to
Error log didn't give anything about the search.cgi.
Quote Reply
Re: [long327] search.cgi stopped working in Links212 In reply to
Mmm.. it sounds more and more like a perl path issue, Whats the first line of search.cgi look like?

Cheers

Andy (mod)
andy@ultranerds.co.uk
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package | GLinks ULTRA Package PRO
Links SQL Plugins | Website Design and SEO | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!
Quote Reply
Re: [Andy] search.cgi stopped working in Links212 In reply to
Hi Andy,

I didn't change any code, it is the default code coming with links212. It worked previously. The problem is I have to refresh the search result page before it returns result, otherwise the result is just a empty page.
Quote Reply
Re: [long327] search.cgi stopped working in Links212 In reply to
Mmm.... still sounds like somethings dodgey with some software on your server :(

BTW: is there any reason your not using GLinks 3.0.4? Its soooooo much better than 2.1.2 <G>

Cheers

Andy (mod)
andy@ultranerds.co.uk
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package | GLinks ULTRA Package PRO
Links SQL Plugins | Website Design and SEO | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!
Quote Reply
Re: [Andy] search.cgi stopped working in Links212 In reply to
It seems it has something to do with search caching. If a query has been search once, the second time it returns result w/o problem. So the problem may be related to search caching.
Quote Reply
Re: [long327] search.cgi stopped working in Links212 In reply to
This sounds vaguely familiar to me - do you have any plugins installed to do with searching?