Gossamer Forum
Home : Products : Links 2.0 : Discussions :

Error Message

Quote Reply
Error Message
Hi guys,

You have already helped me a ton, thnx.
I have left my entire directory open, so that you can view it and maybe tell me what is wrong.

Whenever i try to go to admin, i get this message:

Error including libraries: Can't locate /cgi-bin/search/admin/db.pl in @INC (@INC contains: /usr/local/lib/perl5/i386-bsdos/5.00404 /usr/local/lib/perl5 /usr/local/lib/perl5/site_perl/i386-bsdos /usr/local/lib/perl5/site_perl .) at admin.cgi line 28.

Make sure they exist, permissions are set properly, and paths are set correctly.


Here is what my paths are set to in links.cfg. None of my cgi files work.


# Paths and URL's to Important Stuff
# --------------------------------------------------------
# PATH and URL of Admin CGI directory. No Trailing Slash.
$db_script_path = "/cgi-bin/search/admin";
$db_dir_url = "http://weedbed.hypermart.net/cgi-bin/search/admin";

# URL of User CGI directory. No Trailing Slash.
$db_cgi_url = "http://weedbed.hypermart.net/cgi-bin";

# PATH and URL of Pages to be built. No Trailing Slash.
$build_root_path = "/links/pages";
$build_root_url = "http://weedbed.hypermart.net/links/pages";

# PATH and URL of What's New page. No Trailing slash.
$build_new_path = "links/New";
$build_new_url = "links/New";

# PATH and URL of What's Cool page. No Trailing slash.
$build_cool_path = "links/Cool";
$build_cool_url = "links/Cool";

# PATH and URL of What's Rating page. No Trailing slash.
$build_ratings_path = "links/Ratings";
$build_ratings_url = "links/Ratings";

My address is http://weedbed.hypermart.net/links. All my cgi files are in cgi-bin/search...and so on

Thank you very much for all your help, i think you can tell where i got my name...:-)

New Guy
Quote Reply
Re: Error Message In reply to
Again...like I have mentioned in one of your duplicate Topics...you are NOT using the correct ABSOLUTE paths in the $db_script_path and $build_root_path variables in the links.cfg file. If you do not know the correct ABSOLUTE PATH to use, contact your Hosting Company. You are currently using relative paths, which won't work.

Best of luck!

Regards,

------------------
Eliot Lee....
Former Handle: Eliot
* Check Resource Center
* Search Forums
Quote Reply
Re: Error Message In reply to
Hi Anthro Rules,

You were right. I can now get into the admin page, but can't add categories etc.

Any ideas?

Here is what my script looks like:

# Paths and URL's to Important Stuff
# --------------------------------------------------------
# PATH and URL of Admin CGI directory. No Trailing Slash.
$db_script_path = "/home/weedbed/public_html/cgi-bin/search/admin";
$db_dir_url = "http://weedbed.virtualave.net/cgi-bin/search/admin";

# URL of User CGI directory. No Trailing Slash.
$db_cgi_url = "http://weedbed.virtualave.net/cgi-bin";

# PATH and URL of Pages to be built. No Trailing Slash.
$build_root_path = "/home/weedbed/public_html/links/pages";
$build_root_url = "http://weedbed.virtualave.net/links/pages";

# PATH and URL of What's New page. No Trailing slash.
$build_new_path = "home/weedbed/public_html/links/New";
$build_new_url = "http://weedbed.virtualave.net/links/New";

# PATH and URL of What's Cool page. No Trailing slash.
$build_cool_path = "home/weedbed/public_html/links/Cool";
$build_cool_url = "http://weedbed.virtualave.net/links/Cool";

# PATH and URL of What's Rating page. No Trailing slash.
$build_ratings_path = "home/weedbed/public_html/links/Ratings";
$build_ratings_url = "http://weedbed.virtualave.net/links/Ratings";

Thanks Again,

New Guy

P.S. Go ahead and try my admin page, it is not password protected yet.



[This message has been edited by New Guy (edited March 27, 2000).]
Quote Reply
Re: Error Message In reply to
I have responded to your duplicate Topic.

Regards,

------------------
Eliot Lee....
Former Handle: Eliot
* Check Resource Center
* Search Forums
Quote Reply
Re: Error Message In reply to
I had a similar problem before with Virtualave.

I basically deleted all the Links directories and made new ones then uploaded all cgi's and the other files fresh.

He may have made some directories not readable..because that's what happened to mine before.

So doing that solved all my problems with Virtual Avenue.

Regards,
Guy

[This message has been edited by sds (edited March 27, 2000).]