justAnoob Posted July 29, 2010 Share Posted July 29, 2010 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. Quote Link to comment https://forums.phpfreaks.com/topic/209182-never-changed-a-thing-now-this/ Share on other sites More sharing options...
justAnoob Posted July 29, 2010 Author Share Posted July 29, 2010 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 Quote Link to comment https://forums.phpfreaks.com/topic/209182-never-changed-a-thing-now-this/#findComment-1092424 Share on other sites More sharing options...
sKunKbad Posted July 29, 2010 Share Posted July 29, 2010 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 Quote Link to comment https://forums.phpfreaks.com/topic/209182-never-changed-a-thing-now-this/#findComment-1092472 Share on other sites More sharing options...
xcoderx Posted July 29, 2010 Share Posted July 29, 2010 is the a .htaccess file on the dir where u script is? Quote Link to comment https://forums.phpfreaks.com/topic/209182-never-changed-a-thing-now-this/#findComment-1092488 Share on other sites More sharing options...
justAnoob Posted July 29, 2010 Author Share Posted July 29, 2010 I have already modified my php5.ini months ago, I never changed anything, unless Godaddy did. They only thing that seemed kinda strange is that 'max execution time' in the .ini is set to '-1' Does that sound right? Quote Link to comment https://forums.phpfreaks.com/topic/209182-never-changed-a-thing-now-this/#findComment-1092531 Share on other sites More sharing options...
justAnoob Posted July 29, 2010 Author Share Posted July 29, 2010 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. Quote Link to comment https://forums.phpfreaks.com/topic/209182-never-changed-a-thing-now-this/#findComment-1092833 Share on other sites More sharing options...
justAnoob Posted July 29, 2010 Author Share Posted July 29, 2010 Also,, here is my phpinfo But as I was saying, I never changed this since March 1st of this year. http://mvamaniacs.com/testingmvamaniacs.php Quote Link to comment https://forums.phpfreaks.com/topic/209182-never-changed-a-thing-now-this/#findComment-1092851 Share on other sites More sharing options...
justAnoob Posted July 30, 2010 Author Share Posted July 30, 2010 Has anyone ever had this error in their log? Quote Link to comment https://forums.phpfreaks.com/topic/209182-never-changed-a-thing-now-this/#findComment-1092927 Share on other sites More sharing options...
justAnoob Posted July 30, 2010 Author Share Posted July 30, 2010 Anyone? I was thinking of changing hosting services if no one knows what to do. Thanks. Quote Link to comment https://forums.phpfreaks.com/topic/209182-never-changed-a-thing-now-this/#findComment-1093375 Share on other sites More sharing options...
hadenp Posted August 5, 2010 Share Posted August 5, 2010 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. Quote Link to comment https://forums.phpfreaks.com/topic/209182-never-changed-a-thing-now-this/#findComment-1095404 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.