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

Help Error Msg in db_utils.pl

Quote Reply
Help Error Msg in db_utils.pl
I've tryed looking and searching posts for this solution but I didnt understand because I think I have everything right, but when I rate a resource, occasionally a download dialog appears and the error message says

Error including libraries: Can't locate /db_utils.pl at /usr/local/plesk/apache/vhosts/freestuffheaven.com/cgi-bin/links/rate.pl line 31.

And same when someone trys to add a resource.
What exactly do i need to do here? Im almost positive i set up the links.cfg file correctly.



Dan Gessler
Quote Reply
Re: Help Error Msg in db_utils.pl In reply to
You do NOT have it correct!

You need to use the following codes in ALL your .cgi scripts:

Code:

require "/usr/local/plesk/apache/vhosts/freestuffheaven.com/cgi-bin/links/admin/links.cfg";


Again, the ERROR message indicates that the script CANNOT find the db_utils.pl file.

If the above codes do NOT clear up the errors, then you probably have misconfigured the variables in the links.cfg file!

Regards,

Eliot Lee