Gossamer Forum
Home : Products : Others : Fileman :

CGIWrap Error: Script Execution Failed

Quote Reply
CGIWrap Error: Script Execution Failed
CGIWrap encountered an error while attempting to execute this script:

Error Message: No such file or directory
Error Number: 2
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.
If you are not the owner of this script, please forward this error and the URL that caused it to the script owner. That is often the component in the URL right after /cgiwrap/.



--------------------------------------------------------------------------------


Local Information and Documentation:

Contact Name: Administrator
Contact EMail: admin

Server Data:

Server Administrator/Contact: admin
Server Name: www.nwnreps.com
Server Port: 80
Server Protocol: HTTP/1.1

Request Data:

User Agent/Browser: Mozilla/4.0 (compatible; MSIE 5.5; Windows NT 5.0)
Request Method: GET
Remote Address: 63.64.175.185
Remote Port: 3852
Extra Path Info: /cgi-bin/fileman/fileman.cgi
Referring Page: http://www.nwnreps.com/cgi-bin/fileman/


I have tried all kinds of things, all file/dir CHMODSs are set to 777, because it won't work.

Here is my header:
# Configuartion
# --------------------------------------------------------
%config = (
root_dir => "/home/sites/site9/web/files/file",
logfile => "/home/sites/site9/web/cgi-bin/fileman/fileman.log",
password_dir => "/home/sites/site9/web/cgi-bin/fileman/pass",
root_url => "http://nwnreps.com/files/file",
script_url => "http://nwnreps.com/cgi-bin/fileman/fileman.cgi",


icondir_url => 'http://nwnreps.com/images',
use_flock => 1,
allowed_space => 1000,
max_upload => 500,
show_size => 1,
show_date => 1,
show_perm => 1,
show_icon => 1,
show_pass => 1,
version => '1.0'
);

%icons = (
'gif jpg jpeg bmp' => 'image2.gif',
'txt' => 'quill.gif',
'cgi pl' => 'script.gif',
'zip gz tar' => 'uuencoded.gif',
'htm html shtm shtml' => 'world1.gif',
'wav au mid mod' => 'sound1.gif',
folder => 'folder.gif',
parent => 'back.gif',
unknown => 'unknown.gif'
);

This sucks, I have tried so many different directories, CHMOD recommended/wide open, full directory paths, short paths, leading switches, no leading switches, etc.

piss.

-nj

Quote Reply
Re: CGIWrap Error: Script Execution Failed In reply to
Check it is chmodded to 777, ceck the paths, check the path to perl

If none of those work, run it from telnet or check your error log.

Paul Wilson.
http://www.wiredon.net/gt/
http://www.perlmad.com/