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

build all, using templates.

Quote Reply
build all, using templates.
in my link.cfg, i choosed to use the template files to build my site.

however, it keeps giving me cgi error as below. when i'm not using the template files to build, all problem is gone.

err msg-----------------------------------------
Building Home Pages . . .
Subcategories: 1
Total Links: 1
Opening page: /data1/hypermart.net/inv/index.html

CGI ERROR
==========================================
Error Message : fatal error: Can't locate /data1/hypermart.net/inv/cgi-bin/admin/Template.pm in @INC (@INC contains: /usr/local/lib/perl5/i386-bsdos/5.00404 /usr/local/lib/perl5 /usr/local/lib/perl5/site_perl/i386-bsdos /usr/local/lib/perl5/site_perl .) at /data1/hypermart.net/inv/cgi-bin/admin/db_utils.pl line 503.

Script Location : nph-build.cgi
Perl Version : 5.00404

Quote Reply
Re: build all, using templates. In reply to
It's saying it can not find Template.pm

So check if the file is there...

Glenn

Links 2 Mods Site:
http://cgi-resource.co.uk/pages/links2mods.shtml
Quote Reply
Re: build all, using templates. In reply to
Quite sure it there. In the same dir as the link.cfg file. Strange huh. Permission's ok, checked.

i'm wondering if it's hypermart's prob.

Quote Reply
Re: build all, using templates. In reply to
Re-check the permissions. ie Make sure the file is readable by the server.

Glenn

Links 2 Mods Site:
http://cgi-resource.co.uk/pages/links2mods.shtml
Quote Reply
This is so.... you name it. In reply to
Oh case sensitive!

I was staring at the template.pm in my computer, and then I realised that the server copy's file name was all in small letter "template.pm". Problem is solve after I change the file name to "Template.pm".

After pondering why computers can't find a file, while it's there all along, I suddenly remembered the "case sensivity" problem.

Hey! Thank you for your help.