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 »
  • Installing CiviCRM »
  • WordPress Installations (Moderators: Kurund Jalmi, Coleman Watts) »
  • Your database is marked with an unexpected version number
Pages: [1]

Author Topic: Your database is marked with an unexpected version number  (Read 686 times)

vshura

  • I post occasionally
  • **
  • Posts: 59
  • Karma: 1
  • CiviCRM version: 4.6.0
  • CMS version: Wordpress 4.1.1
Your database is marked with an unexpected version number
March 04, 2015, 06:14:32 am
Hi all.

Just installed today a fresh version of CiviCRM 4.5.6 on a fresh install of Wordpress 4.1.1.  The install seemed to go ok, the only non-typical thing I did was include English-GB files for localisation.

However, when I go to my new CiviCRM installation, I get an error warning on the right hand side in a pop-up window as follows:

Code: [Select]
Warning

Your database is marked with an unexpected version number: 4.5.7. The v4.5.6 codebase may not be compatible with your database state. You will need to determine the correct version corresponding to your current database state. You may want to revert to the codebase you were using until you resolve this problem.

OR if this is a manual install from git, you might want to fix civicrm-version.php file.

I've checked the file /wp-content/plugins/civicrm/civicrm/civicrm-version.php and it reads

Code: [Select]
<?php
function civicrmVersion( ) {
  return array( 
'version'  => '4.5.6',
                
'cms'      => 'Wordpress',
                
'revision' => '7f72075feb' );
}

At the bottom of the page I see

Code: [Select]
Powered by CiviCRM 4.5.6. A newer version (4.5.7) is available for download.
but when I click on the page (http://civicrm.org/download ) it's currently only showing 4.5.6.

So I can't see what's wrong...  Any ideas?  I guess it could be a mistake in the MySQL database itself, but I don't know where to look.

Thanks,
Sean.



vshura

  • I post occasionally
  • **
  • Posts: 59
  • Karma: 1
  • CiviCRM version: 4.6.0
  • CMS version: Wordpress 4.1.1
Re: Your database is marked with an unexpected version number
March 04, 2015, 06:15:21 am
P.S. Apologies if this is in the wrong forum, this seemed like the best one to put it in.

haystack

  • I post occasionally
  • **
  • Posts: 61
  • Karma: 2
  • CiviCRM version: 4.n
  • CMS version: WordPress 4.n
  • MySQL version: 5.n
  • PHP version: 5.n
Re: Your database is marked with an unexpected version number
March 04, 2015, 06:22:52 am
Quote from: vshura on March 04, 2015, 06:14:32 am
when I click on the page (http://civicrm.org/download ) it's currently only showing 4.5.6.

That page seems out of date. Get 4.5.7 here:
http://sourceforge.net/projects/civicrm/files/civicrm-stable/4.5.7/

Not sure how your schema got updated, however. Will have to defer to someone more knowledgeable.

vshura

  • I post occasionally
  • **
  • Posts: 59
  • Karma: 1
  • CiviCRM version: 4.6.0
  • CMS version: Wordpress 4.1.1
Re: Your database is marked with an unexpected version number
March 04, 2015, 08:20:08 am
Ok, given it was a fresh install I've just removed CiviCRM and installed 4.5.7 fresh again. No problems this time, so please consider this thread closed!

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Installing CiviCRM »
  • WordPress Installations (Moderators: Kurund Jalmi, Coleman Watts) »
  • Your database is marked with an unexpected version number

This forum was archived on 2017-11-26.