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

Fatal Error when building pages

Quote Reply
Fatal Error when building pages
Here's the message.

Building Pages

Pages built on 27-Mar-2001 at 12:04:16
--------------------------------------------------------

Backing up database . . .
Backup exists for today.. Skipping
Done.

Building URL Index . . .
Done.

Updating New and Popular Records . . .
What's New Cutoff: 14 days
Popular Cutoff: 2 hits
Updating record: 3, marking as new.
Updating record: 4, marking as new.
Done.

Updating ratings ..
Done.

Loading Category Information . . .
Done.

Gathering Category and Link information . . .
Done

Building Home Pages . . .
Subcategories: 3
Total Links: 2
Opening page: /home/httpd/html/rpmforums/pages/index.html

CGI ERROR
==========================================
Error Message : fatal error: /home/httpd/html/rpmforums/cgi-bin/links/admin/Template.pm did not return a true value at /home/httpd/html/rpmforums/cgi-bin/links/admin/db_utils.pl line 503.

Script Location : /home/httpd/html/rpmforums/cgi-bin/links/admin/nph-build.cgi
Perl Version : 5.00503

Form Variables
-------------------------------------------

Environment Variables
-------------------------------------------
DOCUMENT_ROOT : /home/httpd/html/rpmforums
GATEWAY_INTERFACE : CGI/1.1
HTTP_ACCEPT : image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, image/png, */*
HTTP_ACCEPT_CHARSET : iso-8859-1,*,utf-8
HTTP_ACCEPT_ENCODING: gzip
HTTP_ACCEPT_LANGUAGE: en
HTTP_CONNECTION : Keep-Alive
HTTP_HOST : www.rpmforums.com
HTTP_REFERER : http://www.rpmforums.com/cgi-bin/links/admin/admin.cgi?display=navigation
HTTP_USER_AGENT : Mozilla/4.7 (Macintosh; I; PPC)
PATH : /sbin:/usr/sbin:/bin:/usr/bin:/usr/X11R6/bin
QUERY_STRING :
REMOTE_ADDR : 208.33.89.197
REMOTE_PORT : 1667
REQUEST_METHOD : GET
REQUEST_URI : /cgi-bin/links/admin/nph-build.cgi
SCRIPT_FILENAME : /home/httpd/html/rpmforums/cgi-bin/links/admin/nph-build.cgi
SCRIPT_NAME : /cgi-bin/links/admin/nph-build.cgi
SERVER_ADDR : 209.213.108.119
SERVER_ADMIN : webmaster@host.some_domain.com
SERVER_NAME : www.rpmforums.com
SERVER_PORT : 80
SERVER_PROTOCOL : HTTP/1.0
SERVER_SIGNATURE :
SERVER_SOFTWARE : Apache/1.3.9 (Unix) (Red Hat/Linux)




Quote Reply
Re: Fatal Error when building pages In reply to
Have you modified db_utils.pl?

Did you upload it is ASCII?

Paul Wilson.
http://www.wiredon.net/gt/
http://www.perlmad.com/
Quote Reply
Re: Fatal Error when building pages In reply to
I haven't touched the db_utils.pl other than setting the permissions. Should I have? (and I did upload it as ASCII). Any suggestions.

Quote Reply
Re: Fatal Error when building pages In reply to
The permission of the file does not need to be changed...it should be chmod 644...

This problem has occurred in this past and the fix was uploading the file again to your server in ASCII mode...I know, you already said you uploaded it in ASCII...upload the file again and leave the permissions at 644.

Regards,

Eliot Lee
Quote Reply
Re: Fatal Error when building pages In reply to
I've tried uploading it again (and again) and I've set the permissions every way possible... and still get the same error.

any other ideas??

Quote Reply
Re: Fatal Error when building pages In reply to
Read the error message again, guys:
In Reply To:
Error Message : fatal error: /home/httpd/html/rpmforums/cgi-bin/links/admin/Template.pm did not return a true value
Make sure you have Template.pm (case sensitive!) in your admin directory, that you uploaded in ASCII mode, it's chmod 644 and that the last line reads:
Code:
1;
--Drew
Quote Reply
Re: Fatal Error when building pages In reply to
Well spotted!

Paul Wilson.
Installations:
http://www.wiredon.net/gt/