error 500 connection time out

Discussion in 'General' started by MentaL, May 2, 2011.

  1. MentaL

    MentaL New Member

    Hi,

    I keep getting error 500 and time outs constantly and I cannot find a way to resolve. Assistance = great.

    Thanks.
  2. NiteWave

    NiteWave Administrator

    is there a php script which take long time to complete?
    over 30 seconds?
  3. MentaL

    MentaL New Member

    i run a large vbulletin forum and yes it takes a while.
  4. NiteWave

    NiteWave Administrator

    then that may not be the case ...

    can you identify which php script cause 500 error ?
  5. MentaL

    MentaL New Member

    How would you recommend me do that?
  6. NiteWave

    NiteWave Administrator

    one method is analyze error.log and access.log,
    first get the time stamp in error.log when 500 error happened, then lookup access.log around that time stamp, try to find out which script caused the error.
  7. MentaL

    MentaL New Member

    My error log only outptus the following

  8. MentaL

    MentaL New Member

    more logs.
  9. MentaL

    MentaL New Member

    trace of spawned lsphp5 process

  10. webizen

    webizen New Member

    It seems /vbseo.php caused 500 error.

    Also pls check stderr.log for any related error.
  11. MentaL

    MentaL New Member

    Error remains with vbseo. Std outputs only this

  12. webizen

    webizen New Member

    anything in .htaccess about vbseo rewrite?
  13. MentaL

    MentaL New Member

    Yes but its just default as to what i've been using for the past 4 years or so.

    Code:
    # Comment the following line (add '#' at the beginning)
    # to disable mod_rewrite functions.
    # Please note: you still need to disable the hack in
    # the vBSEO control panel to stop url rewrites.
    RewriteEngine On
    
    # Some servers require the Rewritebase directive to be
    # enabled (remove '#' at the beginning to activate)
    # Please note: when enabled, you must include the path
    # to your root vB folder (i.e. RewriteBase /forums/)
    #RewriteBase /
    
    #RewriteCond %{HTTP_HOST} !^www\.yourdomain\.com
    #RewriteRule (.*) http://www.yourdomain.com/forums/$1 [L,R=301]
    
    RewriteRule ^((urllist|sitemap_).*\.(xml|txt)(\.gz)?)$ vbseo_sitemap/vbseo_getsitemap.php?sitemap=$1 [L]
    
    RewriteCond %{REQUEST_URI} !(admincp/|modcp/|cron|vbseo_sitemap)
    RewriteRule ^((archive/)?(.*\.php(/.*)?))$ vbseo.php [L,QSA]
    
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteCond %{REQUEST_FILENAME} !/(admincp|modcp|clientscript|cpstyles|images)/
    RewriteRule ^(.+)$ vbseo.php [L,QSA]
    
    RewriteCond %{HTTP_COOKIE} _rz_welcome
    RewriteRule .* - [F]  
    
    <Files 403.shtml>
    order allow,deny
    allow from all
    </Files>
    

Share This Page