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) »
  • Can't run upgrade when upgrading from CiviCRM 3.4.8 to 4.2.6 (Drupal6)
Pages: [1]

Author Topic: Can't run upgrade when upgrading from CiviCRM 3.4.8 to 4.2.6 (Drupal6)  (Read 1930 times)

Mark Tompsett

  • I post frequently
  • ***
  • Posts: 143
  • Karma: 9
    • QualityTime Services Ltd
  • CiviCRM version: 4.3.4
  • CMS version: Drupal 7.22
  • MySQL version: 5.5.30-cll
  • PHP version: 5.3.23
Can't run upgrade when upgrading from CiviCRM 3.4.8 to 4.2.6 (Drupal6)
November 07, 2012, 10:04:49 am
I downloaded civicrm-4.2.6-drupal6.tar.gz and followed the instructions at http://wiki.civicrm.org/confluence/display/CRMDOC42/Upgrade+Drupal+Sites+to+4.2+-+Drupal+6 up to step 7 and try to run the upgrade URL but I get this screen...

Upgrade CiviCRM to Version 3.4.8

Your database has already been upgraded to CiviCRM 3.4.8

Return to CiviCRM home page.

etc
... which is crazy because the code in the /sites/all/modules/civicrm directory is for 4.2.6, which I can be confident about because the civicrm-version.php in that directory says...
Code: [Select]
<?php
function civicrmVersion( ) {
  return array( 
'version'  => '4.2.6',
                
'cms'      => 'Drupal6',
                
'revision' => '43370' );
}

I am baffled.   ???
Any suggestions as to what to do now?

Thanks
Mark   :)

PS  In case it is relevant, I am running PHP 5.3.17, MySQL 5.5.27-cll under linux.

Hershel

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4640
  • Karma: 176
    • CiviHosting
  • CiviCRM version: Latest
  • CMS version: Mostly WordPress and Drupal
Re: Can't run upgrade when upgrading from CiviCRM 3.4.8 to 4.2.6 (Drupal6)
November 08, 2012, 08:49:16 am
Remove your CiviCRM code altogether and then run it. That's to make 100% sure you got the right code--it should fail entirely. Then try again with the 4.2.6 code.
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.

Mark Tompsett

  • I post frequently
  • ***
  • Posts: 143
  • Karma: 9
    • QualityTime Services Ltd
  • CiviCRM version: 4.3.4
  • CMS version: Drupal 7.22
  • MySQL version: 5.5.30-cll
  • PHP version: 5.3.23
Re: Can't run upgrade when upgrading from CiviCRM 3.4.8 to 4.2.6 (Drupal6)
November 08, 2012, 02:45:49 pm
Thanks, I tried that and it didn't work.
Your suggestion, though, does not explain why the civicrmVersion() function seems to return 4.2.6 as the version number.

Mark

Hershel

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4640
  • Karma: 176
    • CiviHosting
  • CiviCRM version: Latest
  • CMS version: Mostly WordPress and Drupal
Re: Can't run upgrade when upgrading from CiviCRM 3.4.8 to 4.2.6 (Drupal6)
November 08, 2012, 02:47:40 pm
When you remove the CiviCRM code altogether and run the upgrader, what happens?
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.

Mark Tompsett

  • I post frequently
  • ***
  • Posts: 143
  • Karma: 9
    • QualityTime Services Ltd
  • CiviCRM version: 4.3.4
  • CMS version: Drupal 7.22
  • MySQL version: 5.5.30-cll
  • PHP version: 5.3.23
Re: Can't run upgrade when upgrading from CiviCRM 3.4.8 to 4.2.6 (Drupal6)
November 09, 2012, 01:21:15 am
The screen goes blank - no error message or anything else.

Hershel

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4640
  • Karma: 176
    • CiviHosting
  • CiviCRM version: Latest
  • CMS version: Mostly WordPress and Drupal
Re: Can't run upgrade when upgrading from CiviCRM 3.4.8 to 4.2.6 (Drupal6)
November 09, 2012, 04:17:43 am
That much is good. :)

And if you access any CiviCRM page, it's also WSOD?

If so, that's good. Now I suggest you get a fresh copy of 4.2.6 and upload that and try the upgrader once more.
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.

Mark Tompsett

  • I post frequently
  • ***
  • Posts: 143
  • Karma: 9
    • QualityTime Services Ltd
  • CiviCRM version: 4.3.4
  • CMS version: Drupal 7.22
  • MySQL version: 5.5.30-cll
  • PHP version: 5.3.23
Re: Can't run upgrade when upgrading from CiviCRM 3.4.8 to 4.2.6 (Drupal6)
November 09, 2012, 04:28:20 am
Thanks - I guess WSOD means http://drupal.org/node/158043
Yes, every CiviCRM page is the same - blank.
I tried that and got the exact same thing, ie that the code was trying to tell me that "Your database has already been upgraded to CiviCRM 3.4.8"
I downloaded the fresh copy of the code from here.... http://sourceforge.net/projects/civicrm/files/civicrm-stable/4.2.6/civicrm-4.2.6-drupal6.tar.gz/download?utm_expid=6384-3&utm_referrer=http%3A%2F%2Fcivicrm.org%2Fdownload%2F

I'm still baffled   ???

Hershel

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4640
  • Karma: 176
    • CiviHosting
  • CiviCRM version: Latest
  • CMS version: Mostly WordPress and Drupal
Re: Can't run upgrade when upgrading from CiviCRM 3.4.8 to 4.2.6 (Drupal6)
November 09, 2012, 04:46:56 am
It is odd. The only thing I can think is that you're making a mistake uploading the file. :(

If you want me to try, send me a private message with your login details for your server and I will try.
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.

Mark Tompsett

  • I post frequently
  • ***
  • Posts: 143
  • Karma: 9
    • QualityTime Services Ltd
  • CiviCRM version: 4.3.4
  • CMS version: Drupal 7.22
  • MySQL version: 5.5.30-cll
  • PHP version: 5.3.23
Re: Can't run upgrade when upgrading from CiviCRM 3.4.8 to 4.2.6 (Drupal6)
November 09, 2012, 08:42:55 am
Thanks Hershel, I appreciate the offer.
However I am trying to diagnose this for myself - I was expecting the URL /civicrm/upgrade?reset=1 to execute a program called upgrade.php somewhere in the civicrm directory but I cannot find any such program?
What executable does this URL invoke?

Still baffled   ???

Mark Tompsett

  • I post frequently
  • ***
  • Posts: 143
  • Karma: 9
    • QualityTime Services Ltd
  • CiviCRM version: 4.3.4
  • CMS version: Drupal 7.22
  • MySQL version: 5.5.30-cll
  • PHP version: 5.3.23
Re: Can't run upgrade when upgrading from CiviCRM 3.4.8 to 4.2.6 (Drupal6)
November 09, 2012, 09:18:31 am
Incidentally I also TRUNCATEd the civicrm_cache table to try to make sure that CiviCRM wasn't getting the old version number from a cache.

Hershel

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4640
  • Karma: 176
    • CiviHosting
  • CiviCRM version: Latest
  • CMS version: Mostly WordPress and Drupal
Re: Can't run upgrade when upgrading from CiviCRM 3.4.8 to 4.2.6 (Drupal6)
November 10, 2012, 11:54:31 am
Quote from: Mark Tompsett on November 09, 2012, 08:42:55 am
Thanks Hershel, I appreciate the offer.
However I am trying to diagnose this for myself - I was expecting the URL /civicrm/upgrade?reset=1 to execute a program called upgrade.php somewhere in the civicrm directory but I cannot find any such program?
What executable does this URL invoke?

It invokes index.php. :)

What I mean is that this page comes from Drupal and CiviCRM together and invokes the whole kit and kaboodle. Look in the CRM/Upgrade directory in CiviCRM's code to start unravelling the mystery...
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.

Mark Tompsett

  • I post frequently
  • ***
  • Posts: 143
  • Karma: 9
    • QualityTime Services Ltd
  • CiviCRM version: 4.3.4
  • CMS version: Drupal 7.22
  • MySQL version: 5.5.30-cll
  • PHP version: 5.3.23
FALSE ALARM!
November 21, 2012, 12:46:27 am
Silly me!  I had not set civicrm.settings.php to point to the correct path!  No wonder I was seeing the wrong version.   :-[

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Upgrading CiviCRM (Moderator: Deepak Srivastava) »
  • Can't run upgrade when upgrading from CiviCRM 3.4.8 to 4.2.6 (Drupal6)

This forum was archived on 2017-11-26.