Gossamer Forum
Home : Products : Links 2.0 : Installation -- Unix :

Search not working

Quote Reply
Search not working
Hi I'm getting a Page not found when doing a search or when trying to click on one of the links that i added. Any ideas why? Thanks.

Quote Reply
Re: Search not working In reply to
1) You need to make sure you are using FULL PATHS (as discussed in the forums) to your LINKS.CFG file in the cgi scripts in the /cgi-bin/links/ folder.

EXAMPLE:

Code:

require "/full/path/to/links.cfg";


2) If the problem is with 404 (NOT FOUND) errors in your LINKS pages that you have built, then you need to edit all the links to the .cgi scripts in your TEMPLATE files.

Other than that, you will have to be more specific about the problems you are experiencing...your post was a bit vague...

Regards,

Eliot Lee
Quote Reply
Re: Search not working In reply to
Thanks a lot! Yeah It wasn't a full path before. Now it's working.

Quote Reply
Re: Search not working In reply to
You're welcome...next time, please search the Resources section in this site and also the support forums more carefully before posting questions.

Thank you.

Regards,

Eliot Lee
Quote Reply
Re: Search not working In reply to
Eliot,

I just installed Links2 today. Admin worked, but link to the page I added failed, search failed, etc. Dug through the forum, resources, etc, checked links.cfg, everything was fine...so I thought!

Tryed various search terms, still no answer. Randomly stumbled across this thread. Went and checked my various .cgi files, sure enough they didn't have full paths. Changed that, still no go!!!

Then it dawned on me that the page I was looking at had been "built", went in and ran a "build".... All is well!

Thanks for all your help on here, it does do alot of people good. I looked at links about 6 months ago and decided it would be too hard for me to install. I've got no programming experience, don't understand paths (just got new host) but today I decided to give it a shot! Less than an hour and it appears to be working!

Thanks again!