NamePros.Com (http://www.namepros.com/)
-   Programming (http://www.namepros.com/programming/)
-   -   [ask] How to Optimize vBulletin (http://www.namepros.com/programming/486063-ask-how-to-optimize-vbulletin.html)

xrvel 06-25-2008 11:12 PM

[ask] How to Optimize vBulletin
 
Resolved. Its my hosting problem.

Edit : More question :
I got this error all the time "500 Internal Server Error".

Here's my cpanel error log
Code:
26 05:26:52 2008] [error] [client 125.163.9.212] File does not exist: /home/bbinfo/public_html/500.shtml [Thu Jun 26 05:26:52 2008] [error] [client 125.163.9.212] Premature end of script headers: /home/bbinfo/public_html/showthread.php [Thu Jun 26 05:26:52 2008] [error] [client 125.161.63.254] File does not exist: /home/bbinfo/public_html/500.shtml [Thu Jun 26 05:26:52 2008] [error] [client 125.161.63.254] Premature end of script headers: /home/bbinfo/public_html/forumdisplay.php [Thu Jun 26 05:26:52 2008] [error] [client 202.3.210.15] File does not exist: /home/bbinfo/public_html/500.shtml [Thu Jun 26 05:26:52 2008] [error] [client 202.3.210.15] Premature end of script headers: /home/bbinfo/public_html/showthread.php [Thu Jun 26 05:26:52 2008] [error] [client 125.163.31.7] File does not exist: /home/bbinfo/public_html/500.shtml [Thu Jun 26 05:26:52 2008] [error] [client 125.163.31.7] Premature end of script headers: /home/bbinfo/public_html/showthread.php [Thu Jun 26 05:26:52 2008] [error] [client 202.59.204.34] File does not exist: /home/bbinfo/public_html/500.shtml [Thu Jun 26 05:26:52 2008] [error] [client 202.59.204.34] Premature end of script headers: /home/bbinfo/public_html/forumdisplay.php [Thu Jun 26 05:26:52 2008] [error] [client 88.73.24.149] File does not exist: /home/bbinfo/public_html/500.shtml [Thu Jun 26 05:26:52 2008] [error] [client 88.73.24.149] Premature end of script headers: /home/bbinfo/public_html/showthread.php [Thu Jun 26 05:26:52 2008] [error] [client 61.247.11.210] File does not exist: /home/bbinfo/public_html/500.shtml ...(truncated)...


Anyone knows what's wrong with my vbull, i suspect the "Premature end of script headers:" message, but have no idea. :confused:

Peter 06-26-2008 02:15 PM

have you edited showthread.php at all? The logs do not really help any on diagnosing the problem.

Tree 06-26-2008 09:16 PM

"Premature end of script headers" errors appear with vBulletin frequently when the doc_root in php.ini does not match the DocumentRoot in httpd.conf. Make sure those are the same.

If the paths are identical, here's Apache's Docs on "premature end of script headers" errors.

xrvel 06-26-2008 10:51 PM

Originally Posted by peter@flexiwebhost
have you edited showthread.php at all? The logs do not really help any on diagnosing the problem.

No, i have not modified any core vbulletin file. I also have disabled all plugins to check if some of them causes the error & performed diagnostic check just in case some of my files are corrupted. But i still get the error.

Here is more log
Code:
[Thu Jun 26 05:26:12 2008] [error] [client 202.148.18.130] File does not exist: /home/bbinfo/public_html/500.shtml [Thu Jun 26 05:26:12 2008] [error] [client 202.148.18.130] Premature end of script headers: /home/bbinfo/public_html/member.php [Thu Jun 26 05:26:11 2008] [error] [client 125.164.253.192] File does not exist: /home/bbinfo/public_html/500.shtml [Thu Jun 26 05:26:11 2008] [error] [client 125.164.253.192] Premature end of script headers: /home/bbinfo/public_html/index.php [Thu Jun 26 05:26:11 2008] [error] [client 202.158.20.178] File does not exist: /home/bbinfo/public_html/500.shtml [Thu Jun 26 05:26:11 2008] [error] [client 202.158.20.178] Premature end of script headers: /home/bbinfo/public_html/showthread.php [Thu Jun 26 05:26:11 2008] [error] [client 118.137.62.140] File does not exist: /home/bbinfo/public_html/500.shtml [Thu Jun 26 05:26:11 2008] [error] [client 118.137.62.140] Premature end of script headers: /home/bbinfo/public_html/showthread.php [Thu Jun 26 05:26:11 2008] [error] [client 202.152.34.78] File does not exist: /home/bbinfo/public_html/500.shtml [Thu Jun 26 05:26:11 2008] [error] [client 202.152.34.78] Premature end of script headers: /home/bbinfo/public_html/forumdisplay.php [Thu Jun 26 05:26:11 2008] [error] [client 202.73.109.70] File does not exist: /home/bbinfo/public_html/500.shtml [Thu Jun 26 05:26:11 2008] [error] [client 202.73.109.70] Premature end of script headers: /home/bbinfo/public_html/showthread.php [Thu Jun 26 05:26:10 2008] [error] [client 222.124.145.218] File does not exist: /home/bbinfo/public_html/500.shtml [Thu Jun 26 05:26:10 2008] [error] [client 222.124.145.218] Premature end of script headers: /home/bbinfo/public_html/forumdisplay.php [Thu Jun 26 05:26:10 2008] [error] [client 125.161.193.27] File does not exist: /home/bbinfo/public_html/500.shtml [Thu Jun 26 05:26:10 2008] [error] [client 125.161.193.27] Premature end of script headers: /home/bbinfo/public_html/login.php


Originally Posted by Tree
"Premature end of script headers" errors appear with vBulletin frequently when the doc_root in php.ini does not match the DocumentRoot in httpd.conf. Make sure those are the same.

If the paths are identical, here's Apache's Docs on "premature end of script headers" errors.

Thank you for the article. I guess the doc root is correct because i only get the error sometimes. I notice this in that article "You may get the message if the CGI script was killed due to a resource limit.". Wonder if this is a hosting problem.

SecondVersion 06-27-2008 06:12 AM

Closing, as requested.


All times are GMT -7. The time now is 06:49 PM.
Site Sponsors
Advertise your business at NamePros

Powered by: vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 2.4.0