Gossamer Forum
Home : Products : Links 2.0 : Discussions :

PLEASE help me! Cant fin db.pl

Quote Reply
PLEASE help me! Cant fin db.pl
Hello, I REALLY need help. I'm just 12 years old and have always wanted my own website. The last year I've been learning HTML and stuff just to make one.

Anyway, when I go to my admin page, is has an error saying it cant find "/cgi-bin/links/admin/db.pl" although I uploaded db.pl in ASCII mode to that directory. I re-uploaded about 3 more times, and it still says it.

PLEASE somebody help me. I am unexperienced, but almost have this thing going. I spent 12 hours tonight configuring it and it doesnt work! This sucks! Email me to tell me, or reply to this message. Thanks for reading.
Quote Reply
Re: PLEASE help me! Cant fin db.pl In reply to
Try changing the $db_script_path in links.cfg to use the full path to your admin directory instead of starting with /cgi-bin. The full path should start at your server's root directory.

I hope this helps.
Quote Reply
Re: PLEASE help me! Cant fin db.pl In reply to
I just tried that and it did not work, Bobsie. Go to unit22.hypermart.net/cgi-bin/admin/admin.cgi
I havent set a password so you can see it. Please help me fix this problem. I'l even give somenody access to the server if they will fix it.
Quote Reply
Re: PLEASE help me! Cant fin db.pl In reply to
I tried but got:

Quote:
[404] Error - File Not Found


The file that you were trying to access cannot be found on this server.

There must be something wrong with the URL you posted.
Quote Reply
Re: PLEASE help me! Cant fin db.pl In reply to
Oops! Sorry bobsie, its at http://unit22.hypermart.net/cgi-bin/links/admin/admin.cgi
Quote Reply
Re: PLEASE help me! Cant fin db.pl In reply to
These are incorrect in links.cfg:

Code:
# PATH and URL of Pages to be built. No Trailing Slash.
$build_root_path = "/pages";

# PATH and URL of What's New page. No Trailing slash.
$build_new_path = "/New";
$build_new_url = "http://unit22.hypermart.net/New";

# PATH and URL of What's Cool page. No Trailing slash.
$build_cool_path = "/Cool";
$build_cool_url = "http://unit22.hypermart.net/Cool";

# PATH and URL of What's Rating page. No Trailing slash.
$build_ratings_path = "/Ratings";
$build_ratings_url = "http://unit22.hypermart.net/Ratings";

$build_root_path needs to be the full path to your pages directory starting from your root directory (like you did for $db_script_path).

The others should be:

Code:
# 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";

Hopefully, that will clear up your problems. Let me know.