Gossamer Forum
Home : Products : Links 2.0 : Discussions :

Error including libraries:

Quote Reply
Error including libraries:
Hi,

I was just trying to modify how many links appear on a page in links.cfg (from 10 to 20 - it looked simple to do! :-) ) and went to build to test and am now getting the error below. I would be grateful if somepne could let me know what's wrong. The URL if you need to see the site is http://www.absolutedirectory.com

Many thanks,

Jez.

Error including libraries: Can't locate /home/absolute/public_html/cgi-bin/admin/db_utils.pl in @INC (@INC contains: /usr/lib/perl5/5.8.4/i686-linux /usr/lib/perl5/5.8.4 /usr/lib/perl5/site_perl/5.8.4/i686-linux /usr/lib/perl5/site_perl/5.8.4 /usr/lib/perl5/site_perl/5.8.0 /usr/lib/perl5/site_perl .) at nph-build.cgi line 35.

Make sure they exist, permissions are set properly, and paths are set correctly.
http://www.absolutedirectory.com

Last edited by:

Jez: Mar 30, 2006, 1:22 AM
Quote Reply
Re: [Jez] Error including libraries: In reply to
make sure you uploaded the file in ascii mode, and if you used a word processor (Word, etc), extra characters may have been added (returns).


Leonard
aka PerlFlunkie
Quote Reply
Re: [Jez] Error including libraries: In reply to
Thanks for your reply Leonard.

I checked that and uploaded again in the correct mode and nothing changed.

Any other ideas?

I appreciate your help in this.

Jez.
http://www.absolutedirectory.com
Quote Reply
Re: [Jez] Error including libraries: In reply to
Had you rebuilt the directory recently, so you know everything worked before this change? Make sure there is not a blank line at the top of the file (before the #! line).


Leonard
aka PerlFlunkie
Quote Reply
Re: [PerlFlunkie] Error including libraries: In reply to
Hi leonard,

I have been doing quite a bit of work with the html templates the night before and had rebuilt several times with no problem at all. Then I edit one tiny number (nothing else) and uploaded the links.cfg and it all went wrong.

There is no blank line above the #! line.

Thanks again for taking the time to ponder this.

Jez.

http://www.absolutedirectory.com