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

Install..."can't locate db_utils.pl line 503"

Quote Reply
Install..."can't locate db_utils.pl line 503"
Newly installed...
After I build a test page, I get a fatal error message "can't locate...at db_utils.pl line 503" .

I did upload in a ASCII format.
I did use paths from the root directory.
Based on what 'line 503' reads, the $db_lib_path is losing it's way somewhere.

Line 503-506 of this script says:

if (!defined $db_template) {
require "$db_lib_path/Template.pm";
$db_template = new Template ( { ROOT => $db_template_path, CHECK => 0 } );

The links.cfg file defines the "$db_lib_path" equal to $db_script_path..., but something isn't workig here.

Any ideas?
Any help would be very appreciated.
Quote Reply
Re: Install..."can't locate db_utils.pl line 503" In reply to
Make sure that Template.pm (note the capital T) is in your admin directory and that it was uploaded in ASCII.

By the way, it would be most helpful if you did not edit out parts of an error message. You should always show the whole thing.

I hope this helps.