Quote:
Error including libraries: Can't locate /cgi-bin/links/admin/db.pl at admin.cgi line 28.
Apr 28, 2002, 12:59 PM
Novice (5 posts)
Apr 28, 2002, 12:59 PM
Post #2 of 6
Views: 3368
this is what I am using ...in the links.cfg
===============================
# Paths and URL's to Important Stuff
# --------------------------------------------------------
# PATH and URL of Admin CGI directory. No Trailing Slash.
$db_script_path = "/cgi-bin/links/admin";
$db_dir_url = "http://mysite.com/cgi-bin/links/admin";
# URL of User CGI directory. No Trailing Slash.
$db_cgi_url = "http://mysite.com/cgi-bin";
# PATH and URL of Pages to be built. No Trailing Slash.
$build_root_path = "/links/pages";
$build_root_url = "http://mysite.com/links/pages";
=============================
===============================
# Paths and URL's to Important Stuff
# --------------------------------------------------------
# PATH and URL of Admin CGI directory. No Trailing Slash.
$db_script_path = "/cgi-bin/links/admin";
$db_dir_url = "http://mysite.com/cgi-bin/links/admin";
# URL of User CGI directory. No Trailing Slash.
$db_cgi_url = "http://mysite.com/cgi-bin";
# PATH and URL of Pages to be built. No Trailing Slash.
$build_root_path = "/links/pages";
$build_root_url = "http://mysite.com/links/pages";
=============================
Apr 28, 2002, 1:06 PM
Veteran (19537 posts)
Apr 28, 2002, 1:06 PM
Post #3 of 6
Views: 3394
Many people experience this problem....the answer is you must use _full_ paths.
If you use stuff like /links/pages the script is going to be looking for /links/ in the root directory and not your domains root....so you need to specify the full path.
If you use stuff like /links/pages the script is going to be looking for /links/ in the root directory and not your domains root....so you need to specify the full path.
Apr 28, 2002, 1:12 PM
Novice (5 posts)
Apr 28, 2002, 1:12 PM
Post #4 of 6
Views: 3364
but the readme.txt says ...
get an error message about not finding a file, look at the SCRIPT_FILENAME
variable for clues on the proper path!What do i do ?? and what is this SCRIPT_FILENAME ? Where do i find it ?
Quote:
PATH to your admin directory, this is a system path, not a URL! If you get an error message about not finding a file, look at the SCRIPT_FILENAME
variable for clues on the proper path!