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

Strange errors on build

Quote Reply
Strange errors on build
Hi all,

I have just installed Links 2.0 on my domain. Everything works, except that sometimes I get a very strange error when try building the site:

Content-type: text/plain

Error including libraries: Undefined subroutine &Apache::ROOTwww_2edjurkovic_2ede::cgi_2dbin::links::admin::nph_2dbuild_2ecgi::get_date called at /www/business/www.djurkovic.de/cgi-bin/links/admin/site_html_templates.pl line 31.

Make sure they exist, permissions are set properly, and paths are set correctly.

All path's to link.cfg and so on are set correctly. The error occurs only when building the pages.

Any ideas????

Thanks in Advance,

Matthias

Quote Reply
Re: Strange errors on build In reply to
hi,

just post your links.cfg file ..

ciao
nicky
here u can visit german gossamer links forum
http://forum.nicky.net
Quote Reply
Re: Strange errors on build In reply to
Just a guess, but could because in nph-build you have referred to a sub routine in site_html_templates.pl which doesn't exist. (Ie. you don't have a sub routine with that name in site_html_templates.pl)

Good Luck!

Glenn


http://mir.spaceports.com/~glennu/
Quote Reply
Re: Strange errors on build In reply to
Hi,

I haven't modified nph-build.cgi or site_html_templates.pl at all!

And it happens not everytime, just in 50 percent of all builds. Then it turns sometime to this "Error 500 ...." (but the message in the errorlog is the same).

Matthias


Quote Reply
Re: Strange errors on build In reply to
Hi nicky,

here it is:

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

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

# PATH and URL of Pages to be built. No Trailing Slash.
$build_root_path = "/www/business/www.djurkovic.de/htdocs/doc/links";
$build_root_url = "http://www.djurkovic.de/doc/links";

# 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";

I am just posting the modified parts, because I think it would be too big ;-)

As I said, the error just occurs sometimes (in 50% of all cases).

Matthias