Gossamer Forum
Home : Products : DBMan : Installation :

CGI ERROR

Quote Reply
CGI ERROR
That is my third cgi to install and i have very little experience. Calling "cgi-bin/dbman/db.cgi?db=default" on an apache server with perl 5.004_04 built for i386-linux brings the following result (see below) and I do not know, how to handle that problem. I changed default.cfg to the proper path, nothing else. And I have set permissions right. HELP, please!
Result:

CGI ERROR
==========================================
Error Message : Error loading required libraries.
Check that they exist, permissions are set correctly and that they compile.
Reason: (Maybe you didn't strip carriage returns after a network transfer?)

Script Location : db.cgi
Perl Version : 5.00404
Setup File : default.cfg

Form Variables
-------------------------------------------
db : default

Environment Variables
-------------------------------------------
DOCUMENT_ROOT : /www/s-web
GATEWAY_INTERFACE : CGI/1.1
HTTP_ACCEPT : application/msword, application/vnd.ms-excel, application/vnd.ms-powerpoint, image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, */*
HTTP_ACCEPT_ENCODING: gzip, deflate
HTTP_ACCEPT_LANGUAGE: de
HTTP_CONNECTION : Keep-Alive
HTTP_HOST : www.s-web.net
HTTP_USER_AGENT : Mozilla/4.0 (compatible; MSIE 5.0; Windows NT; QXW03304)
PATH : /usr/local/bin:/usr/bin:/bin
QUERY_STRING : db=default
REMOTE_ADDR : 193.159.29.57
REMOTE_PORT : 1355
REQUEST_METHOD : GET
SCRIPT_FILENAME : /www/s-web/cgi-bin/dbman/db.cgi
SCRIPT_NAME : /cgi-bin/dbman/db.cgi
SERVER_ADMIN : webmaster@s-web.net
SERVER_NAME : www.s-web.net
SERVER_PORT : 80
SERVER_PROTOCOL : HTTP/1.1
SERVER_SOFTWARE : Apache/1.3.4 (Unix) FrontPage/3.0.4.2 PHP/3.0.7
Quote Reply
Re: CGI ERROR In reply to
At least one of your files was not uploaded in ASCII mode.

Upload everything again, making certain that each file is uploaded in ASCII mode. You may have to delete the files first, re-upload and set the permissions again.


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