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

links not showing up under catagories

Quote Reply
links not showing up under catagories
well after getting everything up and running none of the links are showing up under the catagories. it does show that there are links there but when i go to that catagorie its always empty...
http://www.mrorlandofl.com/links/pages/


LINKS.CFG
# Paths and URL's to Important Stuff
# --------------------------------------------------------
# PATH and URL of Admin CGI directory. No Trailing Slash.
$db_script_path = "/export/emc-cust01/9/3/6/mrorla/cgi-bin/links/admin";
$db_dir_url = "http://mrorlandofl.com/cgi-bin/links/admin";

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

# PATH and URL of Pages to be built. No Trailing Slash.
$build_root_path = "/export/emc-cust01/9/3/6/mrorla/links/pages";
$build_root_url = "http://mrorlandofl.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";

ADMIN.CGI
eval {
($0 =~ m,(.*)/[^/]+,) && unshift (@INC, "$1"); # Get the script location: UNIX /
($0 =~ m,(.*)\\[^\\]+,) && unshift (@INC, "$1"); # Get the script location: Windows \

require 5.001; # Make sure we have at least perl 5.001.
require "/export/emc-cust01/9/3/6/mrorla/cgi-bin/links/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.

NPH-BUILD.CGI AND ALL OTHERS LOOK LIKE THIS
# Required Librariers
# --------------------------------------------------------
eval {
($0 =~ m,(.*)/[^/]+,) && unshift (@INC, "$1"); # Get the script location: UNIX /
($0 =~ m,(.*)\\[^\\]+,) && unshift (@INC, "$1"); # Get the script location: Windows \

require "/export/emc-cust01/9/3/6/mrorla/cgi-bin/links/admin/links.cfg"; # Change this to full path to links.cfg if you have problems.
require "$db_lib_path/db_utils.pl";
require "$db_lib_path/links.def";
$build_use_templates ?
require "$db_lib_path/site_html_templates.pl" :
require "$db_lib_path/site_html.pl";
use vars qw(%category %subcategories @links @new_links @cool_links %stats $grand_total $use_html $nph $date $time);
};
if ($@) {
print "HTTP/1.0 200 OK\n";
print "Content-type: text/plain\n\n";
print "Error including libraries: $@\n";
print "Make sure they exist, permissions are set properly, and paths are set correctly.";
exit;


Quote Reply
Re: links not showing up under catagories In reply to
Deja vu! Deja vu!

For the third time in the past three days, read the following Thread, please:

http://www.gossamer-threads.com/...w=collapsed&sb=5

And please, search the forums more carefully next time.

Thank you!

Regards,

Eliot Lee