Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

Re: Debugging Perl .cgi forms

by sutch (Curate)
on Apr 01, 2001 at 07:11 UTC ( #68762=note: print w/replies, xml ) Need Help??


in reply to Debugging Perl .cgi forms

Ensure that your script is executable by the web server, and that the script is not in DOS format. Both of these have bitten me when working on my web hosting provider's server--where I am unable to view the server logs.

If you also cannot view the logs, try commenting out parts of the script and printing debugging info. This method has helped me sovle problems with troublesome scripts.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://68762]
help
Chatterbox?
[Corion]: Ah. The magic invocation is set PERL5OPT=-M-lib=. (equivalent of no lib '.';
[Corion]: )
[Corion]: dazz: BTW, the following should work (no Image::Magick installed, so untested): open(my $fh, '<', \$jpegbuffer); $image->Read(file= > $fh);

How do I use this? | Other CB clients
Other Users?
Others lurking in the Monastery: (11)
As of 2017-03-27 08:12 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Should Pluto Get Its Planethood Back?



    Results (317 votes). Check out past polls.