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

Building error involving Template. pm

Quote Reply
Building error involving Template. pm
I am new to scripting. I searched for this problem on the various Links 2.0 forums but cant find
exactly what I need.

Yesterday I installed links 2.0. Before adding links or categories, I installed
the Category Title Modification which involves the files
category.def, categories.db, site_html_templates.pl, category.html and nph-build.cgi files.
Things seemed okay as I saw a location for the title at the bottom of the add category page.
My efforts of yesterday stopped there.

Today as a test run, I added 2 links to what I thought was an empty data base
( Altho' I noted that the "add links" ID'd today's additions as #3 and #4-maybe because I had
clicked on "add links" twice yesterday but didn't fill out any of the boxes? )
After adding 2 links (#3 and #4), I created a category, before rebuilding.
Maybe this is the problem- I added links before I created a category?

At any rate, the result is an an empty index (home) page with nothing on it.
and the following error message:

CGI ERROR
==========================================
Error Message : fatal error: Can't locate /www/docs/cgi.womenspace.ca/directory/links/admin/Template.pm at /www/docs/cgi.womenspace.ca/directory/links/admin/db_utils.pl line 503.

Script Location : /www/docs/cgi.womenspace.ca/directory/links/admin/nph-build.cgi

I have rechecked file/directory permissions which seem all in order and also
changed to the full path to links.cfg in nph-build.cgi as I thought
this might help matters but nothing changed.

Where did I go wrong? Would it be helpful to put up the files involved in text online so you can look at them?
If so, please advise which files.

Thanks!

obiben




Quote Reply
Re: Building error involving Template. pm In reply to
Are you sure you have uploaded Template.pm into the admin folder and set permissions right?

Thomas
http://www.japanreference.com
Quote Reply
Re: Building error involving Template. pm In reply to
hi Thomas,
This prompted me to relook and now I notice that the file is
in the admin directory as template.pm (small t) not Template. pm
so I renamed it to Template. pm, then chmod 755 and all is well!

Thanks!
obiben

Quote Reply
Re: Building error involving Template. pm In reply to
I am glad it works! Wink

Thomas
http://www.japanreference.com