Gossamer Forum
Home : Products : Others : MySQLMan :

CGI Error

Quote Reply
CGI Error
Here is what I get when I try to access the mysqlman.cgi script:

CGI ERROR
==========================================
Error Message : Error loading required libraries.
Check that they exist, permissions are set correctly and that they compile.
Reason: [Tue May 30 19:25:26 2000] mysql.cgi: [Tue May 30 19:25:26 2000] mysql.cgi: (Maybe you didn't strip carriage returns after a network transfer?)

Script Location : mysql.cgi
Perl Version : 5.00404


Help???

Quote Reply
Re: CGI Error In reply to
How did you upload the program?

If you uploaded the program from a Windows machine to Unix, you need to use ASCII transfer mode!

The best way is to put the archive on the Unix machine and Unzip/Untar the program there.

If you are using a program such as WsFTP make sure it knows that -- .pl, .cgi and .pm are ASCII mode files, not binary, or remember to force ASCII transfer.

If you've uploaded the files as binary, downloading them as Ascii, will cause problems... so go back to the original arcvhive and upload again.

If the error message prompts about CR/LF it _usually_ is the first place to start.

http://www.postcards.com
FAQ: http://www.postcards.com/FAQ/LinkSQL/

Quote Reply
Re: CGI Error In reply to
I uploaded in ASCII. I've checked the permissions and they are correct. I am at a loss!