Gossamer Forum
Home : Products : Links 2.0 : Installation -- Unix :

Cannot access admin.cgi

Quote Reply
Cannot access admin.cgi
Hello,

I installed your script a couple of years ago but cannot seem to follow your read installation to well this time.

I installed it this time and I get a web page thats says "500 Server Error". I'm not a beginner at installing cgi but this time I just can't seem to figure it out. Crazy

I'm a little confused about the:

"Hits Directory & Ratings Directory", the readme does not say where to create them. and are they needed to run the admin script?

Are these created by the program? I'm leaning towards no because the readme says to CHMOD them to 777. "Thats the only thing it says about those two folders".

If I have to create these folders, where do I create them? Inside the links folder I created in my public directory, or outside of that directory?

Here is the links.cfg file "Well, only the top portion"

#<-----------------------Begin------------------------------------>

# Paths and URL's to Important Stuff
# ----------------------------------------------
# PATH and URL of Admin CGI directory. No Trailing Slash.
$db_script_path = "/home/virtual/site247/fst/var/www/cgi-bin/Links/admin";
$db_dir_url = "http://missdawnsdaycare.com/cgi-bin/Links/admin";

# URL of User CGI directory. No Trailing Slash.
$db_cgi_url = "http://missdawnsdaycare.com/cgi-bin/Links";

# PATH and URL of Pages to be built. No Trailing Slash.
$build_root_path = "/home/virtual/site247/fst/var/www/html/linkspages";
$build_root_url = "http://missdawnsdaycare.com/linkspages";

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

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

# PATH and URL of What's Rating page. No Trailing slash.
$build_ratings_path = "$build_root_path/linkspages/ratings";
$build_ratings_url = "$build_root_url/linkspages/ratings";
#<------------------End------------------------>

One more thing..... The varible paths at the bottom of the links.cfg file, do the have to be changed?

# -------------------------------------------------------------
# Extra Paths -- unless you feel the need to rename files, you
# can leave this as is.
# -------------------------------------------------------------
$db_script_url = $db_dir_url . "/admin.cgi"; # Admin script.
$db_header_path = $db_script_path . "/header"; # Place to store header and footers.
$db_footer_path = $db_script_path . "/footer";
$build_search_url = $db_cgi_url . "/search.cgi"; # URL of search script.
$build_add_url = $db_cgi_url . "/add.cgi"; # URL of add script.
$build_modify_url = $db_cgi_url . "/modify.cgi"; # URL of modify script.
$build_jump_url = $db_cgi_url . "/jump.cgi"; # URL of jump script.
$build_email_url = $db_cgi_url . "/subscribe.cgi"; # URL of email update script.
$build_rate_url = $db_cgi_url . "/rate.cgi"; # URL of rate script.
$db_mail_url = $db_dir_url . "/nph-email.cgi"; # URL of admin mass mail script.
$build_css_url = $build_root_url . "/links.css"; # URL to your CSS file.

$db_lib_path = $db_script_path; # PATH of library files.
$db_links_name = "$db_script_path/data/links.db"; # PATH to links database.
$db_category_name = "$db_script_path/data/categories.db"; # PATH to category database.
$db_valid_name = "$db_script_path/data/validate.db"; # PATH to validation database.
$db_modified_name = "$db_script_path/data/modified.db"; # PATH to modification database.
$db_url_name = "$db_script_path/data/url.db"; # PATH to URL lookup database.
$db_email_name = "$db_script_path/data/email.db"; # PATH to email database.
$db_links_id_file_name = "$db_script_path/data/linksid.txt"; # PATH to links counter file.
$db_category_id_file_name = "$db_script_path/data/categoryid.txt"; # PATH to category counter file.
$db_hits_path = "$db_script_path/data/hits"; # PATH to hits directory.
$db_template_path = "$db_script_path/templates"; # PATH to templates.
$db_rates_path = "$db_script_path/data/rates"; # PATH to ratings.
1;

#---------------------------------------------------------------

Please help, thanks in advance,

webdozer65
Quote Reply
Re: [webdozer65] Cannot access admin.cgi In reply to
Ok, I fixed the problem with accessing the admin panel.

Now, when i try to add a link it gives me the,

Error: Unable to Add Link

There were problems with the following fields: Date (Invalid date format)

I have not changed the preset format that the script sets it to, example: Aug-10,-2002. Is there a special reason for the "-" to be in there? I've tried it with and without.

Please Help,

Thanks, webdozer65
Quote Reply
Re: [webdozer65] Cannot access admin.cgi In reply to


Please close this thread as I have fixed the problem.



Good bye................. wedozer65
Quote Reply
Re: [webdozer65] Cannot access admin.cgi In reply to
For the future reference of others you may wish to post the solution.