CiviCRM Community Forums (archive)

*

News:

Have a question about CiviCRM?
Get it answered quickly at the new
CiviCRM Stack Exchange Q+A site

This forum was archived on 25 November 2017. Learn more.
How to get involved.
What to do if you think you've found a bug.



  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Upgrading CiviCRM (Moderator: Deepak Srivastava) »
  • Upgrade from 4.5.2 to 4.5.4
Pages: [1]

Author Topic: Upgrade from 4.5.2 to 4.5.4  (Read 305 times)

sonicthoughts

  • Ask me questions
  • ****
  • Posts: 498
  • Karma: 10
Upgrade from 4.5.2 to 4.5.4
November 26, 2014, 06:09:35 pm
Stalls about 1/3 in update on D7.  No error.  nothing in logs. Mysql activity stops.  Eventually get error:
[Error: Finish Upgrade DB to 4.5.3]
Error 1: Maximum execution time of 60 seconds exceeded in /home/jicny/public_html/drupal/includes/database/select.inc, line 972

Code is:
Code: [Select]
  /**
   * The FOR UPDATE status
   */
  protected $forUpdate = FALSE;

  public function __construct($table, $alias = NULL, DatabaseConnection $connection, $options = array()) {
    $options['return'] = Database::RETURN_STATEMENT;
    parent::__construct($connection, $options);
    $this->where = new DatabaseCondition('AND');
    $this->having = new DatabaseCondition('AND');
    $this->addJoin(NULL, $table, $alias);
  }

vipul

  • I’m new here
  • *
  • Posts: 4
  • Karma: 0
  • CiviCRM version: 2.x,3.x-4.x
  • CMS version: Drupal,Joomla
  • MySQL version: 5.1.3
  • PHP version: 5.3
Re: Upgrade from 4.5.2 to 4.5.4
December 04, 2014, 12:00:19 am
Increase your 'max_execution_time' in php.ini file to something 120 or 180.
Next Restart apache after making the change.

OR
in civcirm_settings.php file set below

ini_set('max_execution_time', '120');

Then proceed with your upgrade from start.

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Upgrading CiviCRM (Moderator: Deepak Srivastava) »
  • Upgrade from 4.5.2 to 4.5.4

This forum was archived on 2017-11-26.