|
#1
|
|||
|
|||
|
Hello,
The first thing you should do whenever you get an Internal Server Error is to check the Error Log in your control panel, as this will provide good information for you/us to resolve the problem. (cPanel » Error Log) Common Errors and Solutions: Quote:
Example: [edit /zeadie] - Try adding the -w flag to it too Code:
#!/usr/bin/perl -w print "Content-type: text/plain\n\n"; print "testing...\n"; Quote:
Example - register_globals On .htaccess: [edit/jshanley]: Do not use php_value on our shared servers, they are suPHP. Instead, set the values in your php.ini file. Thanks. Code:
php_value register_globals on On php.ini: Code:
register_globals=On Quote:
Last edited by GatorZach; 05-20-2008 at 04:51 PM. |
|
#2
|
|||
|
|||
|
*cough*
Sticky? *cough* |
|
#3
|
|||
|
|||
|
|
|
#4
|
|||
|
|||
|
Quote:
Thanks for the help. Last edited by James V; 03-28-2007 at 06:05 PM. |
|
#5
|
|||
|
|||
|
Which version of php are you using?
|
|
#6
|
|||
|
|||
|
I don't think there is any php involved. The problem only occurs when the wysiwyg editor I'm using tries to open a popup window via javascript. I did some research, and figure it has to do with suexec. But I can't examine the suexec error logs to find out.
|
|
#7
|
|||
|
|||
|
They told me that my account (Baby) had 25 processing limit and when my account has 25 process I had a "internal server error".
If I have a site with 10.000 unique visitors per day, It's inescapeable to get this god damn error. I am getting this error at least 5 times a day. |
|
#8
|
||||
|
||||
|
Quote:
Look at your setup, specifically at mysql usage and try to determine why you are using so many connections. |
|
#9
|
||||
|
||||
|
Don't forget the use of "." the same way Americans use the comma. I assumed he was talking about 10,000 visitors a day-- am i right sheyh?
__________________
Follow me on Twitter! http://twitter.com/mrw |
|
#10
|
||||
|
||||
|
Quote:
That is possible, or he was being very accurate about those 10.000 visitors! ![]() 10K visitors, it is possible that the 25 connection limit is a problem. Any more than 7000 and I would suspect that if the site isn't setup well, there may be problems. Normally tweaking would fix the problems... |
|
#11
|
|||
|
|||
|
I'm using php version 4.3.6 at home, 4.4.4 on my host gator account. I still haven't got this resolved. When the text editor I'm using (areaedit) tries to open a popup window I get an Internal Server Error - Premature End of Script Headers. What could the problem be?
|
|
#12
|
|||
|
|||
|
I have a pretty basic site setup with SiteStudio, and with vBulletin installed and linked via an "external link" page. I haven't installed any plugins, skins or anything else on vBulletin and I haven't touched the code. I haven't even changed out the logo.
I and some users have been getting sporadic internal server errors. The error log shows lots of "File does not exist" errors. The path is always in the public_html file and the files are: favicon.ico spacer.png The favicon seems to only occur by itself. The spacer occurs by itself sometimes, and sometimes at the same time as the following: Premature end of script headers: ..../publichtml/vBulletin/upload/index.php When this Premature error shows, there's also always a "File does not exist" that ends in 500.shtml. Any suggestions? I'm not a coder, and while I see the suggestion at the top for "Premature" errors, I'm afraid I need it spelled out a little more. Thanks, Matt
__________________
http://july171955.com |
|
#13
|
|||
|
|||
|
Quote:
The spacer error is probably genarated by an erroneous src. reading the full error line you will see wich line/script is bogus. Check also that this spacer.png exist. In case just copy it where the bogus script is looking if you are unsure for to edit the script. Quote:
and http://forums.hostgator.com/showthre...ight=Premature and others with a search premature |
|
#14
|
|||
|
|||
|
Thank you!
I was able to eliminate two of the three issues. There was a "clear" gif file in another folder and I copied it and put it in this folder and the error went away. I also converted a gif to an icon and put it in the folder and that went away. I also, per instructions from vBulletin, re-uploaded all the non-image files (except install) for vBulletin. I then went about 12 hours without a premature error, but it happened to two users this afternoon, myself and another. So I'm still trying to figure that one out, so any further help would be appreciated. I've looked at some of the premature threads here, but most still leave me confused due to my lack of coding skill and experience. But I'm ready to learn, so if anyone has any further suggestions, I'm all ears.
__________________
http://july171955.com |
|
#15
|
|||
|
|||
|
The errors I have been getting for the past 2 days are the following: (upgraded to Wordpress 2.3 so not sure if it is related).
Premature end of script headers: public_html/wp-cron.php Premature end of script headers: public_html/index.php
__________________
http://www.kaizenlog.com |
|
#16
|
|||
|
|||
|
I had the same error and all it took to fix was -open directory in file manager in c panel change (cmod) all files with 777 permissions to 755.
__________________
Webmasters earn revenue with every visitor to your site! Affiliates earn up to 30% http://www.ppp-audio.newcbproducts.com |
|
#17
|
|||
|
|||
|
I'm trying to put a simple php form handler on my site and I am having problems getting it to work. Ive got a few different scripts that I have tried, & I dont think it is a script issue. The first post in this site says to put this code in the .htaccess file: php_value register_globals on. I tried that,but I must have not done something wrong, because then the whole site was down. I guess my question is, what is the exact code that needs to be put in the .htaccess file?
|
|
#18
|
||||
|
||||
|
Quote:
Even if this line is not a very secure way to do anything... |
|
#19
|
||||
|
||||
|
Yes, please note:
With the change to phpSuExec, php_ rewrites are no longer usable in the .htaccess files. These codes must be modified for use in a php.ini file. Also, php.ini files are NOT RECURSIVE, so you must put one in each folder that needs the update/change, unlike .htaccess files. If you have any questions, please don't hesitate to drop by LiveChat for assistance. We're happy to help! Jess J. Hostgator LiveChat |
|
#20
|
|||
|
|||
|
I spoke to phone support and he put the php.ini file in the public_html folder, but it looks like a one size fits all so to speak php.ini. Do I just paste the code anywhere in there or what. By the way, I am pretty green at this web design stuff, I'm still trying to learn. Please forgive my ignorance.
|
|
#21
|
|||
|
|||
|
ok now i'm past that and getting this.
Premature end of script headers: (my domain ) SoftException in Application.cpp:544: Directory "-----------" is writeable by group. I am moving forward, just don't know how fast. |
|
#22
|
|||
|
|||
|
Chmod the directory to 755
|
|
#23
|
|||
|
|||
|
Ok. What does that mean and where is it located?
|
|
#24
|
|||
|
|||
|
In your FTP client, if you right click on the folder that is giving the error, there should be an option to CHMOD the folder.
|
|
#25
|
|||
|
|||
|
Excellent. It Works! I really appreciate all the help. You have taught another noob another lesson. This may not seem like much, but it has been throwing me for a curve for 3 days now. Again, Thanks.
|
![]() |
| Bookmarks |
«
Previous Thread
|
Next Thread
»
| Thread Tools | |
|
|
All times are GMT -5. The time now is 08:45 AM.





.






