Error In wordpress while installing Plugin or updating

Discussion in 'HTML & Website Design' started by swiminsoda, Aug 24, 2011.

  1. #1
    I am trying to install plugin in Wordpress but this error occured

    Fatal error: Maximum execution time of 30 seconds exceeded in C:\xampp\htdocs\wordpress\wp-includes\cl… on line 1078
     
    swiminsoda, Aug 24, 2011 IP
  2. sarhad12

    sarhad12 Active Member

    Messages:
    394
    Likes Received:
    7
    Best Answers:
    0
    Trophy Points:
    55
    #2
    to increase Maximum execution time, check the ‘php.ini’ on xampp folder. Here’s the path: C:\xampp\apache\bin\php.ini

    Edit line 244 (for editing, must use Notepad or any script editor available in your computer. Don’t use Office Word)

    max_execution_time = 30 ; Maximum execution time of each script, in seconds

    To

    max_execution_time = 300 ; Maximum execution time of each script, in seconds

    Then save the file (! important reminder: file should end in ‘ini’ extension)

    although this is a solution to the exact error, the issue still lies with the plugin not executing, so test it somewhere else and if it still does not work as expected go and ask the developer.
     
    sarhad12, Aug 24, 2011 IP
  3. Rukbat

    Rukbat Well-Known Member

    Messages:
    2,908
    Likes Received:
    37
    Best Answers:
    51
    Trophy Points:
    125
    #3
    If you're hosted on someone else's server (IOW, not running this on your own computer) you probably can't get to php.ini, so put this at the top of index.php
    
    ini_set('max_execution_time', 300);
    
    PHP:
     
    Rukbat, Aug 24, 2011 IP
  4. Junioreality

    Junioreality Active Member

    Messages:
    158
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    51
    #4
    Unzip the plugin and copy it over to the plugins folder, then activate it from the wordpress backend.
     
    Junioreality, Aug 25, 2011 IP