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

Can't Find Error

Quote Reply
Can't Find Error
Running Links 2 on a Unix server, have sat here for close to 4 hours trying to get this up, but cannot get rid of this error.

Error including libraries: Can't locate /var/www/cgi-bin/dir/admin/db.pl at admin.cgi line 28.

Any suggestions?

Thanks
Quote Reply
Re: [spherica] Can't Find Error In reply to
From admin.cgi:

require "links.cfg"; # Change this to full path to links.cfg if you have problems.
require "$db_lib_path/db.pl"; # Database Routines.

The green one is line 28. In your links.cfg, you need the FULL path names. Read this page for more info: www.linksresource.com


Leonard
aka PerlFlunkie
Quote Reply
Re: [PerlFlunkie] Can't Find Error In reply to
bugger, first off, sorry, this went in the wrond place, it should have went in the unix spot.

Next I tried what you suggested and no change.
Quote Reply
Re: [spherica] Can't Find Error In reply to
Are you on a shared server (hosted)? Have you installed any other scripts on it before? Read this thread:

http://www.gossamer-threads.com/perl/gforum/gforum.cgi?post=91607#91607

and use this script to make sure your paths are right:

http://www.gossamer-threads.com/perl/resources/jump.cgi?ID=1457

A thread on the script is here:

http://www.gossamer-threads.com/...i?post=135026#135026


Leonard
aka PerlFlunkie

Last edited by:

PerlFlunkie: Jul 29, 2004, 3:18 AM
Quote Reply
Re: [PerlFlunkie] Can't Find Error In reply to
I'll try and post this the best I can. Again this should have went under Unix, but anyway.

I finally got the directory iself working, I can add sites from the admin side, and rebuild works fine, however, the add.cgi and modify.cgi pages cannot be found.

Next, I tried to use the script provided (http://gossamer-threads.com/...tach/659-install.cgi) but maybe its just me missing something, but i can get it to work, is there a readme for it?

I am waiting for the client to give me the hosting contact so I get a hold of them, which is what I should do, then I wouldn't have to guess at this.

Also, I have never worked with Unix server, I don't know if its shared, although I believe it is (its soooo slow), so I don't know what scripts have been setup and run on it. (new client)

Thanks for the help Leonard
Quote Reply
Re: [spherica] Can't Find Error In reply to
Uplaod the script to your admin directory, and run it. It's a cgi file, needs to be 755. If you are asked for a password, it will be same as the one for your links admin, since the whole admin directory should be protected by the same htaccess. As soon as you run the program, it will give you a list of what's needed to configure your links.cfg. You can either copy the info manually, or it's supposed to write to the cfg file when you click the submit button. I have not tried that. I did notice that the output page is missing the path to the public cgi-bin, which would be the same as the admin path minus the /admin.

If you have the admin working, and building, then you're almost home! You should not need the install script, since you must have your paths right, already.

Did you put your add, etc in the directory just below /admin (...cgi-bin/links), and put the correct path and url in the cfg?

If your client is paying someone else for use of the server (hosting), it is most likely shared, as dedicated severs get rather pricey.


Leonard
aka PerlFlunkie
Quote Reply
Re: [PerlFlunkie] Can't Find Error In reply to
Thanks again Leonard

However I have tried a dozen times doing different things, and it will not show. I get the error: Internal Server Error

As far as I know I have set what needs to be set up............ Not having fun with this Unix