After sitting here for near 6 hours trying to get this to work i thought it might be a good idea to post a msg here :)
I have gone through the posts on this subject and still cant get it to work... if someone could pleaseeeeeee help it would be much appreciated!
Error Msg:
Error including libraries: Can't locate /cgi-bin/admin/db.pl in @INC (@INC contains: /host/w/w/w/p/u/r/www.mysite.com/cgi-bin/admin /usr/local/lib/perl5/5.00503/aix /usr/local/lib/perl5/5.00503 /usr/local/lib/perl5/site_perl/5.005/aix /usr/local/lib/perl5/site_perl/5.005 .) at /host/w/w/w/p/u/r/www.mysite.com/cgi-bin/admin/admin.cgi line 28.
Make sure they exist, permissions are set properly, and paths are set correctly.
OK...now here is what i have in my links.cfg file
Paths and URL's to Important Stuff
# --------------------------------------------------------
# PATH and URL of Admin CGI directory. No Trailing Slash.
$db_script_path = "/cgi-bin/admin";
$db_dir_url = "http://www.mysite.com/cgi-bin/admin";
# URL of User CGI directory. No Trailing Slash.
$db_cgi_url = "http://www.mysite.com/cgi-bin";
# PATH and URL of Pages to be built. No Trailing Slash.
$build_root_path = "/pages";
$build_root_url = "http://www.mysite.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";
AND this is what i have in my admin.cgi file
require 5.001; # Make sure we have at least perl 5.001.
require "/home/myaccount/cgi-bin/admin/links.cfg"; # Change this to full path to links.cfg if you have problems.
require "$db_lib_path/db.pl"; # Database Routines.
require "$db_lib_path/db_utils.pl"; # Database Support utilities.
require "$db_lib_path/admin_html.pl"; # Admin HTML routines.
};
I am pretty sure i have all the permissions set correctly...but on the readme.txt it doesnt mention what to set the .pl files to....should they be set to 755, and if these are wrong would it make a difference?
And also...4. Edit links.cfg and set as a minimum...what does set as a minimum mean?
Thanks in Advance! -:)
I have gone through the posts on this subject and still cant get it to work... if someone could pleaseeeeeee help it would be much appreciated!
Error Msg:
Error including libraries: Can't locate /cgi-bin/admin/db.pl in @INC (@INC contains: /host/w/w/w/p/u/r/www.mysite.com/cgi-bin/admin /usr/local/lib/perl5/5.00503/aix /usr/local/lib/perl5/5.00503 /usr/local/lib/perl5/site_perl/5.005/aix /usr/local/lib/perl5/site_perl/5.005 .) at /host/w/w/w/p/u/r/www.mysite.com/cgi-bin/admin/admin.cgi line 28.
Make sure they exist, permissions are set properly, and paths are set correctly.
OK...now here is what i have in my links.cfg file
Paths and URL's to Important Stuff
# --------------------------------------------------------
# PATH and URL of Admin CGI directory. No Trailing Slash.
$db_script_path = "/cgi-bin/admin";
$db_dir_url = "http://www.mysite.com/cgi-bin/admin";
# URL of User CGI directory. No Trailing Slash.
$db_cgi_url = "http://www.mysite.com/cgi-bin";
# PATH and URL of Pages to be built. No Trailing Slash.
$build_root_path = "/pages";
$build_root_url = "http://www.mysite.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";
AND this is what i have in my admin.cgi file
require 5.001; # Make sure we have at least perl 5.001.
require "/home/myaccount/cgi-bin/admin/links.cfg"; # Change this to full path to links.cfg if you have problems.
require "$db_lib_path/db.pl"; # Database Routines.
require "$db_lib_path/db_utils.pl"; # Database Support utilities.
require "$db_lib_path/admin_html.pl"; # Admin HTML routines.
};
I am pretty sure i have all the permissions set correctly...but on the readme.txt it doesnt mention what to set the .pl files to....should they be set to 755, and if these are wrong would it make a difference?
And also...4. Edit links.cfg and set as a minimum...what does set as a minimum mean?
Thanks in Advance! -:)