Click to See Complete Forum and Search --> : perl email script error


damon2003
11-08-2004, 08:26 AM
Hi,
I keep getting this error

I have tried uploading the scrit in binary mode but it doesnt work
what can I do?

thanks

CGIWrap Error: Script Execution Failed

CGIWrap encountered an error while attempting to execute this script:

Error Message: Permission denied
Error Number: 13

This message usually indicates there is a problem with the script itself. Often this indicates either that the #! line of the script is incorrect, or the script was uploaded in binary mode instead of ascii mode. Check to make sure that the script does not have control-M's at the end of every line. That will prevent it from executing. An easy fix that takes care of this most of the time is to put '#!/.../perl --' instead of '#!/.../perl' on the first line of the script. This is typically a problem if the script was edited or uploaded from a DOS/Windows/Macintosh station to a unix based server.

Nedals
11-09-2004, 07:46 PM
Check the !# line, upload the script in ** ASCII ** mode and set the permissions to chmod 755