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

Links Not Opening

Quote Reply
Links Not Opening
I have completed the installation and all is fine from within my Link Manager Administration and have added 2 links as a trial and it all works well from there, but when I go to my links home page and click on one of the links, I get to a page that shows :
Error: unable to open url database: data/url.db. Reason: No such file or directory


When I click on the 'Rate It ' Link, it takes me to a page with the error :
CGI ERROR
==========================================
Error Message : error in get_records. unable to open db file: data/links.db.
Reason: No such file or directory
Script Location : rate.cgi
Perl Version : 5.006


When I click on 'Random Link' I get to a page showing :
Error: unable to open index count file: data/hits/index.count. Reason: No such file or directory


The 'Search' Link goes to a page with the error :
CGI ERROR
==========================================
Error Message : fatal error: Template: Can't find template: templates/search.html at /home/fosagold/fosagold-www/links/cgi-bin/admin/Template.pm line 41.

Script Location : search.cgi
Perl Version : 5.006



The 'Add A Site' Link takes me to :
CGI ERROR
==========================================
Error Message : unable to open data/links.db. Reason: No such file or directory
Script Location : add.cgi
Perl Version : 5.006

The 'Modify A Site' Link takes me to :
CGI ERROR
==========================================
Error Message : unable to open data/links.db. Reason: No such file or directory
Script Location : modify.cgi
Perl Version : 5.006

The 'Home', 'What's New' and 'What's Cool' Links all work.

Please can someone point me in a direction to correct this?
Thanks in advance.
Kind regards
Georgio


Quote Reply
Re: Links Not Opening In reply to
I hate to say this but did you build after adding your links?

also check your links.cfg to makes sure paths are correct.

good luck

**************************************
on the pages in between ...
Quote Reply
Re: Links Not Opening In reply to
Yep, I clicked build several times :-)

Thanx QooQ, I will go check the links again. Any idea what it costs to upgrade to the version that does not say :
'Welcome to the Links online demo.' ?
Rgds
Georgio


Quote Reply
Re: Links Not Opening In reply to
I have checked all the links, over and over, they all appear to be correct, why would some of the links open and not the others if the paths were incorrect ?
Does it have something to do with the fact that I have downloaded the Demo version ?
Rgds
Georgio

Quote Reply
Re: Links Not Opening In reply to
from GT:
License:
Links is distributed as shareware. It is $150 US for commercial use, and free for non-profit and individual use. Non-profit and individual users must register the program (which means letting me know where it is installed, it is still free), and you must keep the "Links Engine Powered By" line on the bottom of the main Links page. Users who purchase the license do not have to keep the link.

the 'Welcome to the Links online demo.' ? is just html to change either in your templates or site_html.pl

your error is probably in your url/path settings in links.cfg post the top area, not the whole thing, so between:
# Paths and URL's to Important Stuff
and
# Database Options

is just options and what not. hopefully we can help you from there.

good luck

**************************************
on the pages in between ...
Quote Reply
Re: Links Not Opening In reply to
Thanx QooQ, Without your help and patience this far, I am sure I would have deleted the Links folder on my site and given up on this whole project.

Here is the section of the links.cfg :

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

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

# PATH and URL of Pages to be built. No Trailing Slash.
$build_root_path = "/home/fosagold/fosagold-www/links/pages";
$build_root_url = "http://fosagold.org/links/pages";

# PATH and URL of What's New page. No Trailing slash.
$build_new_path = "/home/fosagold/fosagold-www/links/pages/New";
$build_new_url = "http://fosagold.org/links/pages/New";

# PATH and URL of What's Cool page. No Trailing slash.
$build_cool_path = "/home/fosagold/fosagold-www/links/pages/Cool";
$build_cool_url = "http://fosagold.org/links/pages/Cool";

# PATH and URL of What's Rating page. No Trailing slash.
$build_ratings_path = "/home/fosagold/fosagold-www/links/pages/Ratings";
$build_ratings_url = "http://fosagold.org/links/pages/Ratings";

# Database Options

Again, thank you very much for ALL your assistance.
Rgds
Georgio


Quote Reply
Re: Links Not Opening In reply to
You need to make sure you CHMODed all the data and template files correctly. There is stuff in the Readme about what to set them to. Also remember to set your folders to 777, and this is needed on most servers to let scripts create new files in that directory.

as for;

In Reply To:
Does it have something to do with the fact that I have downloaded the Demo version ?
You have not downloaded a demo version Wink Links 2.01 is the full version. You can edit the look of the pages by editing the /templates/ files Smile It is very easy once you have the basic install done! If you want to register it so you don't have to link back to GT, then the registration fee is $150 (as QooQ mentioned earlier).

Hope that helps!

Andy

webmaster@ace-installer.com
http://www.ace-installer.com
Quote Reply
Re: Links Not Opening In reply to
this area looks like a culprit:
$db_script_path = "/home/fosagold/fosagold-www/links/cgi-bin/admin";
$db_dir_url = "http://fosagold.org/links/cgi-bin/admin";

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

"links" is Alex's convention for giving the program the name links probably you'd be better off moving your cgi files into the cgi-bin area under a directory called links like:

$db_script_path = "/home/fosagold/fosagold-www/cgi-bin/links/admin";
$db_dir_url = "http://fosagold.org/cgi-bin/links/admin";

# URL of User CGI directory. No Trailing Slash.
$db_cgi_url = "http://fosagold.org/cgi-binlinks";

please also check the rest too to make sure the files fit the structure of your hosting service, normally:

www.ABC.com/cgi-bin/links
home/ABC/ABC-www/cgi-bin/links/admin etc ...

good luck looks like you're getting there.

Ahh sorry Andy is right too Links v2.0 is a fully operational script with only drawbacks of having to post the powered by and commericial vs. non-commercial until you register.

good luck



**************************************
on the pages in between ...