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

add and modify .cgi

Quote Reply
add and modify .cgi
Hi I have the same error when I try to add or to modify I can¨t find where I must replace. Can you help me?CGI ERROR
==========================================
Error Message : unable to open .//data/links.db. Reason: No such file or directory
Script Location : add.cgi
Perl Version : 5.00404

and

CGI ERROR
==========================================
Error Message : unable to open .//data/links.db. Reason: No such file or directory
Script Location : modify.cgi
Perl Version : 5.00404

Thanks



Quote Reply
Re: add and modify .cgi In reply to
>> .//data/links.db

You defined paths in links.cfg with relative paths. Don't do that. They need to be absolute (complete)

--mark

Installation support is provided via ICQ at UIN# 53788453. I will only respond on that number.
Quote Reply
Re: add and modify .cgi In reply to
Hi This my configure I haven´t a directory links and I didn´t solved the problem. Can you help me

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

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

# PATH and URL of Pages to be built. No Trailing Slash.
$build_root_path = "/data1/hypermart.net/ecoworld/pages";
$build_root_url = "http://www.ecoworldwide.com/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";
Thanks.



Quote Reply
Re: add and modify .cgi In reply to
These configurations seem to be accurate.

How have you configured the $db_links_name located towards the bottom of the default.cfg file?

It should look like the following:

Code:

$db_links_name = $db_lib_path . "/data/links.db";


Also, you need to have ALL the files in the /data/ directory set to 666 (rw-rw-rw-).

Regards,

Eliot Lee
Quote Reply
Re: add and modify .cgi In reply to
Thanks I solved the problem. All OK!!!


THANKS.
Quote Reply
Re: add and modify .cgi In reply to
You're welcome...

Glad it is working now.

Regards,

Eliot Lee