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

Template.pm did not return a true value

Quote Reply
Template.pm did not return a true value
Hello,

I have installed links v2, admin work correctly, I have created two cat, two links and when I try to build pages I have this message.
Anybody can help me ?

Building Pages

Pages built on 11-Mar-1999 at 01:02:39
--------------------------------------------------------

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.
Couldn't rename! Had to copy. Strange: Permission denied
Done.

Updating ratings ..
Couldn't rename! Had to copy. Strange: Permission denied
Done.

Loading Category Information . . .
Done.

Gathering Category and Link information . . .
Done

Building Home Pages . . .
Subcategories: 2
Total Links: 2
Opening page: /space1/tof/links/html/index.html

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

Script Location : /space1/tof/links/cgi-bin/admin/nph-build.cgi
Perl Version : 5.00502

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

Environment Variables
-------------------------------------------
AUTH_TYPE : Basic
DOCUMENT_ROOT : /space1/tof/links/html
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 : links.iside.net
HTTP_REFERER : http://links.iside.net/cgi-bin/admin/admin.cgi?display=navigation
HTTP_USER_AGENT : Mozilla/4.51 (Macintosh; I; PPC)
PATH : /sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/bin:/usr/X11R6/bin:/root/bin
QUERY_STRING :
REMOTE_ADDR : 195.68.45.10
REMOTE_PORT : 1543
REMOTE_USER : tof
REQUEST_METHOD : GET
REQUEST_URI : /cgi-bin/admin/nph-build.cgi
SCRIPT_FILENAME : /space1/tof/links/cgi-bin/admin/nph-build.cgi
SCRIPT_NAME : /cgi-bin/admin/nph-build.cgi
SERVER_ADMIN : webmaster@iside.net
SERVER_NAME : links.iside.net
SERVER_PORT : 80
SERVER_PROTOCOL : HTTP/1.0
SERVER_SIGNATURE :
Apache/1.3.3 Server at links.iside.net Port 80


SERVER_SOFTWARE : Apache/1.3.3 (Unix)
UNIQUE_ID : NucIH8NELQIAAASzphE


Quote Reply
Re: Template.pm did not return a true value In reply to
Did you upload (in ASCII) ALL the template files into the admin/template directory? Was Template.pm itself uploaded as ASCII? Are all the template files in the template directory chmod 666?
Quote Reply
Re: Template.pm did not return a true value In reply to
oh yes, i have probably forget the chmod 666 for this directory. Thanck you very much, I test it and probably i buy it today !

Realy your support is fine.

cordialy