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

Install problem

Quote Reply
Install problem
I installed the program, double-checked the permissions, paths, etc. and am getting this error when I click on "add" from admin. Any ideas?
-----------------
Error including libraries: Can't locate /home/www/cgi-local/links/admin/links.def in @INC (@INC contains: /usr/local/lib/perl5/sun4-solaris/5.00404 /usr/local/lib/perl5 /usr/local/lib/perl5/site_perl/sun4-solaris /usr/local/lib/perl5/site_perl .) at links.cfg line 116.

Make sure they exist, permissions are set properly, and paths are set correctly.
Quote Reply
Re: Install problem In reply to
Did you check your paths. Because the error says it can't find the links.def
Michael
http://www.websiteresources.net
Quote Reply
Re: Install problem In reply to
Got that fixed...

now, when I try to add a category, I fill out the form, hit "add record" and I am gettin a 404 error message - file not found.

My Admin:
http://citybob.com/cgi-local/links/admin
Quote Reply
Re: Install problem In reply to
You've defined paths incorrectly, or have the build directory different than the directory where add.cgi resides.

Please see the thread titled Links Installations for help with moving the files/paths

--Mark

------------------
You can reach me by ICQ at UIN #8602162


Quote Reply
Re: Install problem In reply to
I have the build directory "pages" in the same directory as the add.cgi I have rechecked my paths and am not sure what I have done wrong. Any more suggestions?
Quote Reply
Re: Install problem In reply to
If you look in the source of that file, you'll see that your form is trying to post to http://citybob.com/links/admin/admin.cgi/links. You should be able to fix your problem by going to your links.cfg file and editing this line (it is on line 43):

# URL of Admin Script.
$db_script_url = $db_dir_url . "/admin.cgi";

Also, just because you have to put cgi in a cgi-bin doesn't mean you have to build the pages into a cgi-bin directory. Actually, I would recommend building into regular directories.