in reply to large file upload fails on 'new CGI' request

Hi,

If you dont find anything in the server logs, just for giggles, try replacing:

use CGI;

With

use CGI::Carp qw(fatalsToBrowser);

And see if anything is returned to the browser.
Hope this helps,

Cheers,

Martin

Replies are listed 'Best First'.
Re^2: large file upload fails on 'new CGI' request
by stonebreaker (Initiate) on Jun 14, 2005 at 03:43 UTC
    Thanks for the tip Martin. I tried it and got carped at that "Can't locate object method 'new' via package "CGI". Huh? From that i decided to create another test that just used CGI and not Image::Magick. (see reworded question)

    RESULT OF "use CGI": Everything worked great for all file uploads. The cgi object was created and held the correct form info.

    RESULT OF "use CGI::Carp": CGI::Carp always gives the error above...that it can't located the 'new' package. I guess that means that my webhost has more problems with their perl modules that just image::magick...if cgi::carp always fails but cgi alone doesn't!?

    thanks,
    stonebreaker
Re^2: large file upload fails on 'new CGI' request
by stonebreaker (Initiate) on Jun 16, 2005 at 23:01 UTC
    One last note on this Martin. Using CGI::Carp and more test scripts i got an error finally that led to understanding of the problem. see UPDATE to my question above. Thanks again for your advice.