Results 1 to 5 of 5
  1. #1
    Join Date
    Jan 2011
    Location
    Adelaide, Australia
    Posts
    1,670
    Plugin Contributions
    1

    Default Warning: Database upgrade required

    Hi,


    (gemstone-rings.com.au) This site has been running OK since I built it a few months ago but now I cannot login to my admin, I get the following text showing on a blank screen; 'database upgrade required. please run the 1.3.9-to-1.5.0 upgrade via zc_install'

    AND I get the following message on the top of a Zen Cart template page when I go directly to the site via browser

    'Your database appears to need patching to a higher level. See Admin->Tools->Server Information to review patch levels'

    Problem is I cannot get to admin to do anything. Is there a patch I can download to fix this?

    cheers,
    Mike

    I used v1.5.1 09182012 to build this site but this is shown in version.php

    * @package general
    * @copyright Copyright 2003-2010 Zen Cart Development Team
    * @license http://www.zen-cart.com/license/2_0.txt GNU Public License V2.0
    * @version $Id: version.php 17676 2010-10-02 18:20:50Z drbyte $
    * @private
    */

    define('PROJECT_VERSION_NAME', 'Zen Cart');
    define('PROJECT_VERSION_MAJOR', '1');
    define('PROJECT_VERSION_MINOR', '3.9h');
    define('PROJECT_VERSION_PATCH1', '');
    define('PROJECT_VERSION_PATCH2', '');
    define('PROJECT_VERSION_PATCH1_SOURCE', '');
    define('PROJECT_VERSION_PATCH2_SOURCE', '');
    define('NEW_VERSION_CHECKUP_URL','http://ping.zen-cart.com/version_id.txt');
    define('EXPECTED_DATABASE_VERSION_MAJOR', '1');
    define('EXPECTED_DATABASE_VERSION_MINOR', '3.9');

  2. #2
    Join Date
    Jan 2004
    Posts
    66,373
    Blog Entries
    7
    Plugin Contributions
    274

    Default Re: Warning: Database upgrade required

    The meaning of your symptoms is simple: your PHP files are from v1.3.9 and not from v1.5.1

    You'll need to put back your v1.5.1 files, assuming that you actually used v1.5.1 as you said.

    Then find out who or how the wrong/old files have appeared on your server.

    This is one of those situations where backups are magically helpful.
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  3. #3
    Join Date
    Jan 2011
    Location
    Adelaide, Australia
    Posts
    1,670
    Plugin Contributions
    1

    Default Re: Warning: Database upgrade required

    Quote Originally Posted by DrByte View Post
    The meaning of your symptoms is simple: your PHP files are from v1.3.9 and not from v1.5.1

    You'll need to put back your v1.5.1 files, assuming that you actually used v1.5.1 as you said.

    Then find out who or how the wrong/old files have appeared on your server.

    This is one of those situations where backups are magically helpful.
    Thanks for the quick response Doc. I did have a backup so I reinstalled the database and all is OK. I just wasn't sure what to do, that's all. I have no idea how the situation occurred - it was definitely v1.5.1 as it is a clone of another site which is v1.5.1.

    Many thanks for your help,
    Mike

  4. #4
    Join Date
    Jan 2007
    Location
    utah
    Posts
    26
    Plugin Contributions
    0

    Default Re: Warning: Database upgrade required

    Hi DrByte,
    I've had the same error, here is the patch info from the admin I just did an upgrade from 1.3.x 1.5.1
    Zen Cart 1.5.1

    Database Patch Level: 1.3.7

    v1.3.7 [2013-10-07 18:54:46] (Version Update 1.3.6->1.3.7)
    v1.3.7 [2013-10-07 18:54:00] (Version Update 1.3.6->1.3.7)
    v1.3.6 [2013-10-07 18:54:00] (Version Update 1.3.5->1.3.6)
    v1.3.5 [2013-10-07 18:53:59] (Version Update 1.3.0.2->1.3.5)
    v1.3.0.2 [2013-10-07 18:53:59] (Version Update 1.3.0.1->1.3.0.2)
    v1.3.0.1 [2013-10-07 18:53:58] (Version Update 1.3.0->1.3.0.1)
    v1.3.0 [2013-10-07 18:53:58] (Version Update 1.2.7->1.3.0)
    v1.5.1 [2013-10-07 17:15:42] (Version Update 1.5.0->1.5.1)
    v1.5.0 [2013-10-07 17:15:41] (Version Update 1.3.9->1.5.0)
    v1.3.9a [2010-04-23 17:50:09] (Version Update 1.3.8->1.3.9a)
    v1.3.8 [2008-03-17 17:11:22] (Fresh Installation)

    any advice on fixing this?

  5. #5
    Join Date
    Jan 2004
    Posts
    66,373
    Blog Entries
    7
    Plugin Contributions
    274

    Default Re: Warning: Database upgrade required

    Quote Originally Posted by samuelsmith1979 View Post
    Hi DrByte,
    I've had the same error, here is the patch info from the admin I just did an upgrade from 1.3.x 1.5.1
    Zen Cart 1.5.1

    Database Patch Level: 1.3.7

    v1.3.7 [2013-10-07 18:54:46] (Version Update 1.3.6->1.3.7)
    v1.3.7 [2013-10-07 18:54:00] (Version Update 1.3.6->1.3.7)
    v1.3.6 [2013-10-07 18:54:00] (Version Update 1.3.5->1.3.6)
    v1.3.5 [2013-10-07 18:53:59] (Version Update 1.3.0.2->1.3.5)
    v1.3.0.2 [2013-10-07 18:53:59] (Version Update 1.3.0.1->1.3.0.2)
    v1.3.0.1 [2013-10-07 18:53:58] (Version Update 1.3.0->1.3.0.1)
    v1.3.0 [2013-10-07 18:53:58] (Version Update 1.2.7->1.3.0)
    v1.5.1 [2013-10-07 17:15:42] (Version Update 1.5.0->1.5.1)
    v1.5.0 [2013-10-07 17:15:41] (Version Update 1.3.9->1.5.0)
    v1.3.9a [2010-04-23 17:50:09] (Version Update 1.3.8->1.3.9a)
    v1.3.8 [2008-03-17 17:11:22] (Fresh Installation)

    any advice on fixing this?
    Um ... you just ran database-upgrade steps for 1.5.1, and then went back and re-ran upgrades for 1.3.0-thru-1.3.7, effectively backdating things.
    Not sure why you did that.
    Do you have a database backup from before you did that?
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

 

 

Similar Threads

  1. Replies: 10
    Last Post: 2 Nov 2014, 07:18 AM
  2. Replies: 6
    Last Post: 25 Sep 2013, 09:46 PM
  3. Replies: 4
    Last Post: 5 Dec 2012, 01:45 AM
  4. Replies: 5
    Last Post: 6 Oct 2012, 08:53 PM
  5. scary database prefix on upgrade warning
    By kevin_a in forum General Questions
    Replies: 1
    Last Post: 9 May 2007, 06:02 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR