error in vbulletin seo plugin

Discussion in 'PHP' started by Fracisc, Jan 5, 2011.

  1. #1
    Sometimes when I add a new post I have this error:
    Fatal error: Maximum execution time of 30 seconds exceeded in /includes/functions_vbseo.php on line 4683
    Code (markup):
    I have to refresh many times to get my stuff posted.

    Any idea why it is there and how to fix it?
     
    Fracisc, Jan 5, 2011 IP
  2. MyVodaFone

    MyVodaFone Well-Known Member

    Messages:
    1,048
    Likes Received:
    42
    Best Answers:
    10
    Trophy Points:
    195
    #2
    You can try a few things:

    Option 1, place this into your .htaccess file if you have one

    This increases max_execution_time from usual default 30 seconds to 60 seconds
    
    php_value max_execution_time 60
    php_value max_input_time 60
    
    Code (markup):
    Option 2, open your wp-config file and place this at the top
    
    define('max_execution_time', 60); // again this is 60 seconds
    
    PHP:
    Option 3, if you have access to php5.ini or if not create one and place it in the root/ directory of your hosting ie: in www, public_html, or htpdocs
    
    max_input_time = 60 // 60 seconds
    max_execution_time 600 // 60 seconds
    
    PHP:
    Note: if your running php 4 remove the number 5 from php5.ini so your file is now called php.ini
     
    MyVodaFone, Jan 5, 2011 IP