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

nph-build.cgi strange error

Quote Reply
nph-build.cgi strange error
I have mi links in localhost to probe and run normaly. I stay in the links administration menu, and I can ad new categories links, etc, but when I building all, appear this error

Backing up database . . .
Backing up links, category and email database (File::Copy) ...

CGI ERROR
==========================================
Error Message : Unable to copy links backup. Reason: No such file or directory
Script Location : C:\XITAMI\cgi-bin\links\admin\nph-build.cgi
Perl Version : 5.00307

My pahts in links.cfg :

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

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

# PATH and URL of Pages to be built. No Trailing Slash.
$build_root_path = "C:/xitami/webpages/links/pages";
$build_root_url = "http://127.0.0.1/links/pages";


I think all is good, but no run.

Thanks


Quote Reply
Re: nph-build.cgi strange error In reply to
Hi

This would appear to be an error in your configuration within links.cfg. You have set the paths wrong somewhere, hoover your mouse over build all (do not click), check the status bar, you will see where the link is pointing to, I beleive this uses a url as opposed to a path.

You should find that the url in the status bar is incorrect. This is taken from the settings you have used in links.cfg

Could I suggest that you post this in windows installation forum, you may get a better response.

Good Luck

DavyC