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) »
  • [Executed: Upgrade DB to 4.2.beta2] on Drupal 6 Hangs - RESOLVED
Pages: [1]

Author Topic: [Executed: Upgrade DB to 4.2.beta2] on Drupal 6 Hangs - RESOLVED  (Read 1376 times)

cvanderlinden

  • I’m new here
  • *
  • Posts: 7
  • Karma: 0
  • CiviCRM version: 3.4.8
  • CMS version: Drupal 6
  • MySQL version: 5.0.x
  • PHP version: 4.2.9
[Executed: Upgrade DB to 4.2.beta2] on Drupal 6 Hangs - RESOLVED
November 01, 2012, 02:49:32 pm
PHP 5.3.18
MySQL 5.5.28
Drupal 6.26
CiviCRM original version 3.4.8, made it to 4.1.6, can't get past 4.2.0

I tried upgrading to 4.2.6, running the upgrade script hangs on [Executed: Upgrade DB to 4.2.beta2]
I tried upgrading to 4.2.0, running the upgrade script hangs on [Executed: Upgrade DB to 4.2.beta2]
I tried upgrading to 4.1.6, running the upgrade script works PERFECT!

Once at 4.1.6, I tried upgrading to 4.2.6 and it is hanging at [Executed: Upgrade DB to 4.2.beta2] again.

Anyone know why this might be?
« Last Edit: November 06, 2012, 11:14:53 am by cvanderlinden »

CiviTeacher.com

  • I live on this forum
  • *****
  • Posts: 1282
  • Karma: 118
    • CiviTeacher
  • CiviCRM version: 3.4 - 4.5
  • CMS version: Drupal 6&7, Wordpress
  • MySQL version: 5.1 - 5.5
  • PHP version: 5.2 - 5.4
Re: [Executed: Upgrade DB to 4.2.beta2] on Drupal 6 Hangs
November 02, 2012, 09:27:24 am
What modules are you running in Drupal?  Any use jQuery or Javascript heavily, such as jQuery Update, jQuery UI, a slideshow or "lightbox" image popups?
Try CiviTeacher: the online video tutorial CiviCRM learning library.

cvanderlinden

  • I’m new here
  • *
  • Posts: 7
  • Karma: 0
  • CiviCRM version: 3.4.8
  • CMS version: Drupal 6
  • MySQL version: 5.0.x
  • PHP version: 4.2.9
Re: [Executed: Upgrade DB to 4.2.beta2] on Drupal 6 Hangs
November 02, 2012, 03:00:36 pm
Quote from: Stoob on November 02, 2012, 09:27:24 am
What modules are you running in Drupal?  Any use jQuery or Javascript heavily, such as jQuery Update, jQuery UI, a slideshow or "lightbox" image popups?

Great question, here they are:
block_class
civicrm
civicrm_eventblock
jquery_update
jstools
multiblock
print
views

Hershel

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4640
  • Karma: 176
    • CiviHosting
  • CiviCRM version: Latest
  • CMS version: Mostly WordPress and Drupal
Re: [Executed: Upgrade DB to 4.2.beta2] on Drupal 6 Hangs
November 05, 2012, 09:48:11 am
Addon modules should not affect an upgrade. That page doesn't normally load any other JS files.

cvanderlinden, can you use Firebug for Firefox and look in the Net tab when you upgrade and see if you can see what is returned for the last Ajax call there?
CiviHosting and CiviOnline -- The CiviCRM hosting experts, since 2007

See here for the official: What to do if you think you've found a bug.

cvanderlinden

  • I’m new here
  • *
  • Posts: 7
  • Karma: 0
  • CiviCRM version: 3.4.8
  • CMS version: Drupal 6
  • MySQL version: 5.0.x
  • PHP version: 4.2.9
Re: [Executed: Upgrade DB to 4.2.beta2] on Drupal 6 Hangs
November 06, 2012, 10:45:34 am
Quote from: Hershel on November 05, 2012, 09:48:11 am
Addon modules should not affect an upgrade. That page doesn't normally load any other JS files.

cvanderlinden, can you use Firebug for Firefox and look in the Net tab when you upgrade and see if you can see what is returned for the last Ajax call there?

There seems to be three in a row that are related, and then nothing happens after the last one.
Code: [Select]
HTML:
{"is_error":0,"exception":null,"last_task_title":"Begin Upgrade to 4.2.beta2","numberOfItems":"29","is_continue":1}
Response:
{"is_error":0,"exception":null,"last_task_title":"Begin Upgrade to 4.2.beta2","numberOfItems":"29","is_continue":1}

HTML:
{"is_error":0,"exception":null,"last_task_title":"Upgrade DB to 4.2.beta2","numberOfItems":"28","is_continue":1}
Response:
{"is_error":0,"exception":null,"last_task_title":"Upgrade DB to 4.2.beta2","numberOfItems":"28","is_continue":1}

HTML:
require_once 'CRM/Core/ClassLoader.php'; CRM_Core_ClassLoader::singleton()->register(); {"is_error":0,"exception":null,"last_task_title":"Finish Upgrade DB to 4.2.beta2","numberOfItems":"27","is_continue":1}
Response:
require_once 'CRM/Core/ClassLoader.php';
CRM_Core_ClassLoader::singleton()->register();
{"is_error":0,"exception":null,"last_task_title":"Finish Upgrade DB to 4.2.beta2","numberOfItems":"27","is_continue":1}

After that, it just hangs and does nothing.


cvanderlinden

  • I’m new here
  • *
  • Posts: 7
  • Karma: 0
  • CiviCRM version: 3.4.8
  • CMS version: Drupal 6
  • MySQL version: 5.0.x
  • PHP version: 4.2.9
Re: [Executed: Upgrade DB to 4.2.beta2] on Drupal 6 Hangs
November 06, 2012, 10:51:39 am
This wasn't being added properly to my civicrm.settings.php file.

Code: [Select]
require_once 'CRM/Core/ClassLoader.php';
CRM_Core_ClassLoader::singleton()->register();

I think because their is a closing php tag at the bottom.
Should their be a closing tag, or should it be open?

Hershel

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4640
  • Karma: 176
    • CiviHosting
  • CiviCRM version: Latest
  • CMS version: Mostly WordPress and Drupal
Re: [Executed: Upgrade DB to 4.2.beta2] on Drupal 6 Hangs
November 06, 2012, 11:04:01 am
Quote from: cvanderlinden on November 06, 2012, 10:51:39 am
Should their be a closing tag, or should it be open?

It should be open.

Did this fix your problem?
CiviHosting and CiviOnline -- The CiviCRM hosting experts, since 2007

See here for the official: What to do if you think you've found a bug.

cvanderlinden

  • I’m new here
  • *
  • Posts: 7
  • Karma: 0
  • CiviCRM version: 3.4.8
  • CMS version: Drupal 6
  • MySQL version: 5.0.x
  • PHP version: 4.2.9
Re: [Executed: Upgrade DB to 4.2.beta2] on Drupal 6 Hangs
November 06, 2012, 11:14:17 am
Quote from: Hershel on November 06, 2012, 11:04:01 am
Quote from: cvanderlinden on November 06, 2012, 10:51:39 am
Should their be a closing tag, or should it be open?

It should be open.

Did this fix your problem?

Yes! This was the only thing holding me up.
all fixed!

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Upgrading CiviCRM (Moderator: Deepak Srivastava) »
  • [Executed: Upgrade DB to 4.2.beta2] on Drupal 6 Hangs - RESOLVED

This forum was archived on 2017-11-26.