Hi people can you help me out? I'm new to Links and I'm just trying to get it up and running but I'm getting the following message...
Error including libraries: Can't locate /home/web/uksearcher.com/cgi-bin/admin/db.pl at /home/web/uksearcher.com/cgi-bin/links/admin/admin.cgi line 28.
I know that this has been discussed on the boards in the past but I feel that I’ve tried everything. I got the following cgi file from http://www.gossamer-threads.com/perl/forum/showthreaded.pl?Cat=&Board=L2Unix&Number=113022&page=&view=&sb=&vc=1#Post113022
#!/usr/bin/perl
print "Content-type:text/html\n\n";
print <<EndOfHTML;
<html><head><title>Print Environment</title></head> <body>
EndOfHTML
;
$ENV{'SCRIPT_FILENAME'} =~ s/basepath.cgi/ /;
print "Your basepath to this directory is: $ENV{'SCRIPT_FILENAME'}";
print "</body></html>";
And it told me the exact path to my cgi-bin so know my links.cfg file reads…
# Paths and URL's to Important Stuff
# --------------------------------------------------------
# PATH and URL of Admin CGI directory. No Trailing Slash.
$db_script_path = "/home/web/uksearcher.com/cgi-bin/admin";
$db_dir_url = "http://uksearcher.com/cgi-bin/links/admin";
# URL of User CGI directory. No Trailing Slash.
$db_cgi_url = "http://uksearcher.com/cgi-bin";
# PATH and URL of Pages to be built. No Trailing Slash.
$build_root_path = "/home/web/uksearcher.com/pages";
$build_root_url = "http://uksearcher.com/pages";
# PATH and URL of What's New page. No Trailing slash.
$build_new_path = "$build_root_path/New";
$build_new_url = "$build_root_url/New";
# PATH and URL of What's Cool page. No Trailing slash.
$build_cool_path = "$build_root_path/Cool";
$build_cool_url = "$build_root_url/Cool";
# PATH and URL of What's Rating page. No Trailing slash.
$build_ratings_path = "$build_root_path/Ratings";
$build_ratings_url = "$build_root_url/Ratings";
Can anyone please help me out and get me up and running on this great script?
Cheers,
dEVS.
Error including libraries: Can't locate /home/web/uksearcher.com/cgi-bin/admin/db.pl at /home/web/uksearcher.com/cgi-bin/links/admin/admin.cgi line 28.
I know that this has been discussed on the boards in the past but I feel that I’ve tried everything. I got the following cgi file from http://www.gossamer-threads.com/perl/forum/showthreaded.pl?Cat=&Board=L2Unix&Number=113022&page=&view=&sb=&vc=1#Post113022
#!/usr/bin/perl
print "Content-type:text/html\n\n";
print <<EndOfHTML;
<html><head><title>Print Environment</title></head> <body>
EndOfHTML
;
$ENV{'SCRIPT_FILENAME'} =~ s/basepath.cgi/ /;
print "Your basepath to this directory is: $ENV{'SCRIPT_FILENAME'}";
print "</body></html>";
And it told me the exact path to my cgi-bin so know my links.cfg file reads…
# Paths and URL's to Important Stuff
# --------------------------------------------------------
# PATH and URL of Admin CGI directory. No Trailing Slash.
$db_script_path = "/home/web/uksearcher.com/cgi-bin/admin";
$db_dir_url = "http://uksearcher.com/cgi-bin/links/admin";
# URL of User CGI directory. No Trailing Slash.
$db_cgi_url = "http://uksearcher.com/cgi-bin";
# PATH and URL of Pages to be built. No Trailing Slash.
$build_root_path = "/home/web/uksearcher.com/pages";
$build_root_url = "http://uksearcher.com/pages";
# PATH and URL of What's New page. No Trailing slash.
$build_new_path = "$build_root_path/New";
$build_new_url = "$build_root_url/New";
# PATH and URL of What's Cool page. No Trailing slash.
$build_cool_path = "$build_root_path/Cool";
$build_cool_url = "$build_root_url/Cool";
# PATH and URL of What's Rating page. No Trailing slash.
$build_ratings_path = "$build_root_path/Ratings";
$build_ratings_url = "$build_root_url/Ratings";
Can anyone please help me out and get me up and running on this great script?
Cheers,
dEVS.