Results 1 to 9 of 9
  1. #1
    Join Date
    May 2010
    Location
    Texas
    Posts
    387
    Plugin Contributions
    0

    red flag Upgrading from v1.39h to v1.57c, no Upgrade button

    Upgrading from v1.39h to v1.57c on server with PHP 5.6.
    When I do so, I do not get the database “Upgrade” button.
    Steps:
    • In my cPanel, I create a new empty database (DB), assign a user with all privileges.
    • Using PHPmyAdmin, I import the old v1.39h DB into the empty new DB
    • In a test directory, I put all the fresh v1.57c files and I run the zc_install.
    • First, the “System Setup” screen, all is set correctly, I click “Continue”
    • Next, I reach the “Database screen” shown below. Note the “zen_” prefix is set to match the old v1.39h DB.

    If I click “continue” it displays an action/completion bar showing it is creating the database. At no time does it offer to upgrade. When complete, the large imported DB is wiped out and a small v1.57c DB is all that remains.


    Why don’t I ever see the “Upgrade” Button?


    Click image for larger version. 

Name:	Zen install DB setup screen.jpg 
Views:	84 
Size:	38.9 KB 
ID:	19874

  2. #2
    Join Date
    Feb 2006
    Location
    Tampa Bay, Florida
    Posts
    9,622
    Plugin Contributions
    123

    Default Re: Upgrading from v1.39h to v1.57c, no Upgrade button

    The upgrade button is on a prior screen: the very first screen you see when you go to YOURSITE.com/zc_install.
    That Software Guy. My Store: Zen Cart Modifications
    Available for hire - See my ad in Services
    Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
    Do you benefit from Zen Cart? Then please support the project.

  3. #3
    Join Date
    May 2010
    Location
    Texas
    Posts
    387
    Plugin Contributions
    0

    Default Re: Upgrading from v1.39h to v1.57c, no Upgrade button

    Quote Originally Posted by swguy View Post
    The upgrade button is on a prior screen: the very first screen you see when you go to YOURSITE.com/zc_install.
    The screen capture below is the 1st screen I see. It does not know about a database yet. There are no config files yet.
    The next screen if I press continue, is the "System Setup", where it displays the Licenses, Admin Settings, and Catalog Settings, which are all filled in correctly and are just paths. Then as shown in my original post, is the Database Setup screen.

    Click image for larger version. 

Name:	1stZenscreen.jpg 
Views:	58 
Size:	38.6 KB 
ID:	19875

  4. #4
    Join Date
    May 2010
    Location
    Texas
    Posts
    387
    Plugin Contributions
    0

    Default Re: Upgrading from v1.39h to v1.57c, no Upgrade button

    This is the 2nd screen I see. I should have just posted all 3 to start with.

    Hoping its something simple.

    Click image for larger version. 

Name:	2ndZenScreen.jpg 
Views:	58 
Size:	40.3 KB 
ID:	19876

  5. #5
    Join Date
    May 2010
    Location
    Texas
    Posts
    387
    Plugin Contributions
    0

    Default Re: Upgrading from v1.39h to v1.57c, no Upgrade button

    I found the steps below to upgrade.
    The difference I see is #3. "Create a new directory and copy your site into it "
    Copy your site into it??? I'm doing a database only upgrade and going with fresh v1.57c files.
    Is this my issue?



    1. Back up your site from the server as well as the copy on your computer.
    2. Backup your database
    3. Create a new directory and copy your site into it
    4. Then create a new database and load your old database in it
    5. Next, change the two configure.php files to utilize the new directory and database
    6. Make sure all appears to be working on your temp site.
    7. Now load the “new” version files to your new temp directory from latest downloaded ZIP
    8. Run the http://www.YOURSITE.com/zc_install
    9. Choose the Upgrade Database option

  6. #6
    Join Date
    May 2010
    Location
    Texas
    Posts
    387
    Plugin Contributions
    0

    Default Re: Upgrading from v1.39h to v1.57c, no Upgrade button

    The problem was that even if you are doing a database only upgrade, you must use the old config files
    Copy the old config files into the includes directories of the new v1.5x files. Modify them as necessary for any path changes.

    Only then does the zc_intall recognize you are upgrading.

    My upgrade seems to have succeeded. Lots of work to do

  7. #7
    Join Date
    Jan 2004
    Location
    N of San Antonio TX
    Posts
    9,106
    Plugin Contributions
    11

    Default Re: Upgrading from v1.39h to v1.57c, no Upgrade button

    I found the steps below to upgrade.
    The difference I see is #3. "Create a new directory and copy your site into it "
    Copy your site into it??? I'm doing a database only upgrade and going with fresh v1.57c files.
    Is this my issue?

    With cpanel, the fastest way to this is...
    1. Create an empty database
    2. get the 1.5.7c files to your intended directory. i.e. newstore
    3. run zc_install on the newstore directory to create the config files and populate the new database
    4. delete all in the new database and replace with the old database
    5. run zc_install again on the newstore installation.

    The upgrade button should show up at that point.

    That doesn't mean it won't have some glitches in the upgrade. It's a big jump from 1.3.9. You may have to do some tweaking after the database upgrade. collation and timestamps come to mind.
    Last edited by dbltoe; 5 Jan 2022 at 06:18 PM. Reason: added populate

  8. #8
    Join Date
    Feb 2006
    Location
    Tampa Bay, Florida
    Posts
    9,622
    Plugin Contributions
    123

    Default Re: Upgrading from v1.39h to v1.57c, no Upgrade button

    > The problem was that even if you are doing a database only upgrade, you must use the old config files

    Not so much "the old config files" but "config files with the database information." You can use the latest version in dist-configure.php.
    That Software Guy. My Store: Zen Cart Modifications
    Available for hire - See my ad in Services
    Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
    Do you benefit from Zen Cart? Then please support the project.

  9. #9
    Join Date
    Jan 2004
    Location
    N of San Antonio TX
    Posts
    9,106
    Plugin Contributions
    11

    Default Re: Upgrading from v1.39h to v1.57c, no Upgrade button

    The steps I provided do not need any configure files as the installer creates them for you. Might want to look again at step three.

    AFTER all that, you replace the new database with the tables and data in the old database and run zc_install for the database upgrade.

 

 

Similar Threads

  1. Upgrading from 1.39h to 1.54 ----These are my plans
    By spawnie69 in forum Upgrading to 1.5.x
    Replies: 8
    Last Post: 29 Oct 2015, 10:35 PM
  2. v139h 1.39h Admin Login Issue when upgrading server to PHP 5.3 from 5.2
    By sparrowce in forum General Questions
    Replies: 26
    Last Post: 2 Jul 2015, 01:50 AM
  3. Replies: 4
    Last Post: 23 Aug 2013, 06:17 PM
  4. v150 Upgrading from 1.39h to V1.50 - configure.php for subdomain
    By saplanet in forum Upgrading to 1.5.x
    Replies: 4
    Last Post: 25 May 2012, 04:24 PM
  5. Upgrading a template from 1.38 to 1.39h
    By smoothtlk in forum Upgrading from 1.3.x to 1.3.9
    Replies: 6
    Last Post: 7 Nov 2010, 09:37 PM

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