Jump to content

Recommended Posts

I have an upload script that has been working just fine for months now.. I didn't change a thing,, now people are saying they are getting a internal server error... I checked it myself and I am getting the same thing. There is no error number,, so I can't look it up.. My upload script is good for 30mb's and has been just fine up til now.. Any ideas? Could GoDaddy just be having probs?

 

 

The error is only shown after the upload is started.. the upload starts, then about 30 seconds later, it appears.

 

Link to comment
https://forums.phpfreaks.com/topic/209182-never-changed-a-thing-now-this/
Share on other sites

Here is the error everyone,, including myself are getting.

 

Internal Server Error

The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator, support@supportwebsite.com and inform them of the time the error occurred, and anything you might have done that may have caused the error.

 

More information about this error may be available in the server error log.

 

 

 

--------------------------------------------------------------------------------

 

Apache/1.3.33 Server at mvamaniacs.com Port 80

Godaddy has probably either messed around with the max execution time for php, or "adjusted" the max allowed upload filesize. Use phpinfo() to check these settings, and set them in a php.ini or .htaccess file if necessary. I can't tell you how many headaches you will save yourself by moving away from Godaddy. I've used lots of hosts, and they all have issues, but Godaddy  :wtf:

I found a little more info from my errors log. It is telling me "Premature end of script headers". I don't understand why all of a sudden this is happening. I searched everywhere, but no one seems to have the answer. Could someone please help.

 

Thanks, Justin

 

In my last post I mentioned that max exec time was set to -1,,, I misread that, sorry.

Have you managed to resolve this?

 

I've been experiencing the same problem with uploads on Godaddy. More specifically uploads > 1MB will fail with the error you cite - 'Premature end of script headers' - but smaller ones go through fine. I've also set the relevant upload values in my php5.ini. 

 

My code works fine in my (MAMP) development environment, so I'm wondering how I can debug it.

 

Thanks.

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.