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 1.7 to 1.8 doesn't think it is upgraded to 1.8
Pages: [1]

Author Topic: Upgrade from 1.7 to 1.8 doesn't think it is upgraded to 1.8  (Read 3368 times)

jokeefe@jamesokeefe.org

  • I’m new here
  • *
  • Posts: 6
  • Karma: 0
Upgrade from 1.7 to 1.8 doesn't think it is upgraded to 1.8
January 23, 2008, 10:55:27 pm
I am attempting to upgrade from 1.7 to 1.9 on a Drupal 5.5 server.  I run the upgrade process from 1.7 to 1.8 to 1.9 on my test site and everything went well.  The test site used databases that were that hour's copies of the production site.

When i tried it on my production site it did not go as planned.  In step 8 of the 1.7 to 1.8 update instructions, the Drupal Modules page says that the CiviCRM version is 1.8.  However, when I go to step 9 and view the CiviCRM Admin page, it looks like the 1.7 page and not the 1.8 page and says that I am running 1.7.10272.

In both cases I backed up the previous civicrm directory and deleted it, then untared the new release and ran the db update script.  I did not see any errors in the db update.

Any suggestions would be most helpful.  Thanks!

Piotr Szotkowski

  • I live on this forum
  • *****
  • Posts: 1497
  • Karma: 57
Re: Upgrade from 1.7 to 1.8 doesn't think it is upgraded to 1.8
January 24, 2008, 12:51:10 am
The Drupal Module page gets it’s number from the drupal/civicrm.module file, and the upgrade script from the civicrm-version.txt file – can you check whether the numbers match?

Alternatively, it can be a Drupal/Smarty page caching issue.
If you found the above helpful, please consider helping us in return – you can even steer CiviCRM’s future and help us extend CiviCRM in ways useful to you.

jokeefe@jamesokeefe.org

  • I’m new here
  • *
  • Posts: 6
  • Karma: 0
Re: Upgrade from 1.7 to 1.8 doesn't think it is upgraded to 1.8
January 24, 2008, 07:42:44 am
Both files list the upgraded version and not 1.7, so they seem to be ok on that score.

How can I clear the Drupal/Smarty page cache?

Thanks for the quick response.

MacRonin

  • I post frequently
  • ***
  • Posts: 153
  • Karma: 14
Re: Upgrade from 1.7 to 1.8 doesn't think it is upgraded to 1.8
January 24, 2008, 08:56:58 am
About the Smarty cache I am not sure.

But for Drupal you can either go in to the database via phpMyAdmin and clear tables yourself, or if you have the DEVEL module installed, the DEVEL module creates a block that has a clear cache command. The DEVEL clear cache cleans a whole bunch of them.

jokeefe@jamesokeefe.org

  • I’m new here
  • *
  • Posts: 6
  • Karma: 0
Re: Upgrade from 1.7 to 1.8 doesn't think it is upgraded to 1.8
January 24, 2008, 10:22:50 am
Which tables should be cleared?

Dave Greenberg

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 5760
  • Karma: 226
    • My CiviCRM Blog
Re: Upgrade from 1.7 to 1.8 doesn't think it is upgraded to 1.8
January 24, 2008, 01:58:20 pm
Quote from: jokeefe@jamesokeefe.org on January 24, 2008, 07:42:44 am
How can I clear the Smarty page cache?

http://wiki.civicrm.org/confluence/display/CRMDOC/Debugging

... the directoryCleanup=1 parameter clears the Smarty template cache
Protect your investment in CiviCRM by  becoming a Member!

jokeefe@jamesokeefe.org

  • I’m new here
  • *
  • Posts: 6
  • Karma: 0
Re: Upgrade from 1.7 to 1.8 doesn't think it is upgraded to 1.8
January 24, 2008, 08:25:18 pm
I enabled debugging and then executed:

http://community.green-rainbow.org/?q=civicrm/admin&reset=1&directoryCleanup=1

No change.  I then tried:

http://community.green-rainbow.org/index.php?q=civicrm/admin&reset=1&smartyDebug=1

Not unexpectedly, $localVersion is set to 1.7.10272

Dave Greenberg

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 5760
  • Karma: 226
    • My CiviCRM Blog
Re: Upgrade from 1.7 to 1.8 doesn't think it is upgraded to 1.8
January 25, 2008, 07:19:57 am
Do you perhaps have a "backed up" copy of the 1.7 codebase sitting in a directory below the drupal modules directory? Drupal will "pickup" any .module files under that tree.
Protect your investment in CiviCRM by  becoming a Member!

jokeefe@jamesokeefe.org

  • I’m new here
  • *
  • Posts: 6
  • Karma: 0
Re: Upgrade from 1.7 to 1.8 doesn't think it is upgraded to 1.8
January 25, 2008, 09:55:22 am
I tarred the modules/civicrm directory to the same level as the directory that has drupal, then deleted the modules/civicrm directory and installed the newer civicrm directory.  I'll double check to be sure. 

Could the database update be wrong?  Is the version stored in a civicrm table?

Dave Greenberg

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 5760
  • Karma: 226
    • My CiviCRM Blog
Re: Upgrade from 1.7 to 1.8 doesn't think it is upgraded to 1.8
January 25, 2008, 03:39:42 pm
The version is stored in a template - civicrm/templates/CRM/common/version.tpl
Protect your investment in CiviCRM by  becoming a Member!

jokeefe@jamesokeefe.org

  • I’m new here
  • *
  • Posts: 6
  • Karma: 0
Re: Upgrade from 1.7 to 1.8 doesn't think it is upgraded to 1.8
January 25, 2008, 07:51:22 pm
Well the value of version.tpl is 1.9.12432.

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Upgrading CiviCRM (Moderator: Deepak Srivastava) »
  • Upgrade from 1.7 to 1.8 doesn't think it is upgraded to 1.8

This forum was archived on 2017-11-26.