Gossamer Forum
Home : Products : DBMan : Installation :

Error loading libraries.

Quote Reply
Error loading libraries.
Everything worked fine until I modified html.pl. What could be the problem?

CGI ERROR==========================================
Error Message : Error loading required libraries.
Check that they exist, permissions are set correctly and that they compile.
Reason: Can't use global @_ in "my" at ./html.pl line 55.
Script Location : /usr/local/etc/httpd/htdocs/rpmnetwork/cgi-bin/sample/db.cgi
Perl Version : 5.00404Setup File : default.cfgForm Variables
-------------------------------------------Environment Variables
-------------------------------------------
DOCUMENT_ROOT : /usr/local/etc/httpd/htdocs/rpmnetwork
GATEWAY_INTERFACE : CGI/1.1HTTP_ACCEPT : */*
HTTP_ACCEPT_ENCODING: gzip, deflateHTTP_ACCEPT_LANGUAGE: en-us
HTTP_CONNECTION : Keep-AliveHTTP_HOST : rpmnetwork.com
HTTP_USER_AGENT : Mozilla/4.0 (compatible; MSIE 4.01; Windows 95)
PATH : /bin:/usr/binQUERY_STRING :
REMOTE_ADDR : 208.150.14.50REMOTE_HOST : 208.150.14.50
REMOTE_PORT : 1062REQUEST_METHOD : GET
REQUEST_URI : /rpmnetworkcgi/sample/db.cgi
SCRIPT_FILENAME : /usr/local/etc/httpd/htdocs/rpmnetwork/cgi-bin/sample/db.cgi
SCRIPT_NAME : /rpmnetworkcgi/sample/db.cgi
SERVER_ADMIN : spikeone@spikeone.comSERVER_NAME : rpmnetwork.com
SERVER_PORT : 80SERVER_PROTOCOL : HTTP/1.1
SERVER_SOFTWARE : Apache/1.2.5
Quote Reply
Re: Error loading libraries. In reply to
Looks like there's something wrong with line 55 of html.pl. Could you post that line of code? Or better yet, make your html.pl script available as a text file?



------------------
JPD
Quote Reply
Re: Error loading libraries. In reply to
http://rpmnetwork.com/dbman/html.pl.txt

This is my html.pl file as text. Thanks for any help! Your script is great!
Quote Reply
Re: Error loading libraries. In reply to
Found it! Smile

$img_logo = 'http:///www.rpmnetwork.com/rpmnetworkcgi/sample/images/200w.GIF'

needs to have a ; (semicolon) at the end of it. (Are you sure you need three slashes between http: and www? )

Yep. It is a great script! Alex is a marvel!! Smile



------------------
JPD