laziness, impatience, and hubris | |
PerlMonks |
Re: How can I find a 'Document contains no data' problem?by steveAZ98 (Monk) |
on Jul 25, 2000 at 06:01 UTC ( [id://24228]=note: print w/replies, xml ) | Need Help?? |
First check your permissions for the script, make sure it's executable. ie chmod 755 scriptname in the unix world.
Then check that your script is sending back the content type ie. Content-type: text/html\n\n Then check that your webserver is configured for the directory of where your script lives. ie. if your webserver is configured for cgi scripts in /cgi-bin and your calling /bin/script If all those are correct, check the error logs of that website. Any errors in opening files, file permissions etc. should be there. Maybe you want to check this first as it will give you a better idea of where to start. HTH
Also, try using use CGI::Carp qw/fatalstoBrowser/ to get any
error messages to appear in the browser window.
In Section
Seekers of Perl Wisdom
|
|