Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

HTML form with lots of data submitted causing error

Discussion in 'General Discussion' started by rogergraves, Jul 12, 2005.

  1. rogergraves

    rogergraves Member

    Dec 29, 2004
    Likes Received:
    Trophy Points:
    One of my websites is getting an "Internal Server Error" whenever the end user tries to submit an HTML form with a lot of data (6k or more) to a Perl script. It is submitting via "post" since that much data is too long for a "get" style submission. When taking a look at the error log I get the following:

    Premature end of script headers: /home/siteid/public_html/cgi-bin/

    OK, here is the funny part -- the data that is submitted appears to go through OK despite the error. It gets saved properly, it's only the return HTML coming from the script that gets cut off and instead, shown the Internal Server Error message.

    In the perl script I tried doing a use CGI::Carp 'fatalsToBrowser'; and it didn't do anything (same Internal Server Error message). I've also tried with and without the use of the CGI module. The perl script works fine when there is less data submitted to it, it's only when it gets into the 6k range.

    Any help will be appreciated!

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice