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

admin.cgi shows blank once again

Quote Reply
admin.cgi shows blank once again
Hi,

I have installed Links 2 and when I trie to access adming.cgi for the first time, it shows me a three-blank framed page. Each page tells me: Page cannot be found... or a sort of.

I play around with the script and I see that admin.cgi found the admin_html.pl file 'cause it ran html_home where it set the FRAMESET commands.

I see that it return the control to admin.cgi with display=top as a parameter... But it seems that admin.cgi does not recognize this parameter and show "The Page cannot be displayed"
Take a look at http://www.hispatrek.com/cgi-bin/links/admin/admin.cgi

I already have a link script installed (http://www.hispatrek.com) but I want to install this one because it seems to have quite more features...

Any help would be very appreciate...

BTW, thanks in advance,



Williams Castillo
HISPATREK, El Portal Trekker Hispano
http://www.hispatrek.com
Quote Reply
Re: admin.cgi shows blank once again In reply to
Here is part of the .cfg file... I quote only the part I think could be helpful to help you to help me :)

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

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

# PATH and URL of Pages to be built. No Trailing Slash.
$build_root_path = "/home/hispatrek/www/links/pages";
$build_root_url = "http://www.hispatrek.com/links/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";

# Database Options


# -------------------------------------------------------------
# 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.


Sorry for the lenght of this post...


Williams Castillo
HISPATREK, El Portal Trekker Hispano
http://www.hispatrek.com
Quote Reply
Re: admin.cgi shows blank once again In reply to
Code:
$db_dir_url = "http:///www.hispatrek.com/cgi-bin/links/admin";
Too many slashes.

--Drew
Quote Reply
Re: admin.cgi shows blank once again In reply to
Oh God!

What A Newbie I Am!!!

Thanks a lot... Now it works absolutelly perfect... so far, at least :)

Thanks you.

Williams Castillo

Williams Castillo
HISPATREK, El Portal Trekker Hispano
http://www.hispatrek.com
Quote Reply
Re: admin.cgi shows blank once again In reply to
Now that your script is running, you need to password protect your admin directory. You can do that through .htaccess on your server.

Shawn Anderson
Webmaster
Southwest Virtual Airways
http://www.virtualswa.com
Quote Reply
Re: admin.cgi shows blank once again In reply to
Ahha!! You have been webcrawling in my site! 8D

I will do it ASAP...

Thanks,

Williams Castillo
HISPATREK, El Portal Trekker Hispano
http://www.hispatrek.com