Gossamer Forum
Home : General : Perl Programming :

Error Log question !

Quote Reply
Error Log question !
Hello !

When I run my script, it display HTML output on the browser correctly (like exactly what I have designed) but how come I get the error message below when I check my error log:

script not found or unable to stat: /home/hwa/public_html/cgi-bin/project/none

I tried to run a simple script and I didn't get the message above. I think I got an error somewhere in my project script but I don't know where ! Hope anyone can help me with this.

Thanks a lot

New. A
Quote Reply
Re: [newage24] Error Log question ! In reply to
Do you have it CHMOD to 755 and also with the right header (#!/usr/bin/perl) Unsure

Andy (mod)
andy@ultranerds.co.uk
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package | GLinks ULTRA Package PRO
Links SQL Plugins | Website Design and SEO | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!
Quote Reply
Re: [newage24] Error Log question ! In reply to
best bet
--always "use strict"
--turn on warnings "#!/usr/bin/perl -w"
--use "use CGI::Carp qw(fatalsToBrowser)"
--check return values on all functions (such as open()ing a file.)
--try running the script from telnet/ssh

--Philip
Links 2.0 moderator
Quote Reply
Re: [newage24] Error Log question ! In reply to
>>script not found or unable to stat: /home/hwa/public_html/cgi-bin/project/none <<

It's common to see stuff like that. Are you sure it corresponds to the exact time you executed your script?

Last edited by:

RedRum: Jan 27, 2002, 5:43 AM