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

Another db.pl problem

Quote Reply
Another db.pl problem
Whenever I try to run admin.cgi I keep getting this message:
Error including libraries: Can't locate /html/cgi-bin/links/admin/db.pl blah blah blah at admin.cgi line 28.

I tried looking thru the FAQS and the other messages in the forum, but none of them seem to cover this problem.

Need Help,
Creed
Quote Reply
Re: Another db.pl problem In reply to
Make sure that you have the complete absolute path to the directory where your library files (db.pl, db_utils.pl, and admin_html.pl) are located in the $db_script_path variable in the links.cfg file.

Regards,

------------------
Eliot Lee....
Former Handle: Eliot
* Check Resource Center
* Search Forums
Quote Reply
Re: Another db.pl problem In reply to
Heres a little clip from my links.cfg file:
# PATH and URL of Admin CGI directory. No Trailing Slash.
$db_script_path = "/html/cgi-bin/links/admin";
$db_dir_url = "http://hammer.prohosting.com/~swol/cgi-bin/links/admin";

Everything seems right in there, I'm just wondering if the problem could be somewhere else...

Cheers,
Creed
Quote Reply
Re: Another db.pl problem In reply to
Uh...no...The error message indicates that the script is unable to locate the db.pl file, which is located in the $db_lib_path, WHICH is DEFINED by the $db_script_path.

Wink

Regards,

------------------
Eliot Lee....
Former Handle: Eliot
* Check Resource Center
* Search Forums
Quote Reply
Re: Another db.pl problem In reply to
Ok, so if the whole problem is in the links.cfg file, does that mean I might also have it chmoded wrong? Cause the script path is right.

Confused,
Creed Smile
Quote Reply
Re: Another db.pl problem In reply to
No..again the error message indicates that you do not have the FULL absolute path in the $db_script_path. Check with your hosting company to make sure you are using the correct one.

Wink

Regards,

------------------
Eliot Lee....
Former Handle: Eliot
* Check Resource Center
* Search Forums
Quote Reply
Re: Another db.pl problem In reply to
Waaaaaa....
I guess ProHosting isn't the greatest for cgi scripts?
Quote Reply
Re: Another db.pl problem In reply to
Possibly not...If they do not provide technical support or online documentation on how to use their server resources, then you should consider switching hosting companies.

Best of luck!

Regards,

------------------
Eliot Lee....
Former Handle: Eliot
* Check Resource Center
* Search Forums
Quote Reply
Re: Another db.pl problem In reply to
Ahhh well, thanks a lot for trying to help me out!

Looking At HyperMart,
Creed