Page 1 of 2 12 LastLast
Results 1 to 10 of 16
  1. #1
    Join Date
    Apr 2010
    Location
    County Down, Northern Ireland
    Posts
    302
    Plugin Contributions
    0

    Default when installing does not give UPGRADE OPTION

    www.irishshopper.ie

    Am trying to upgrade from 1.3.9h to 1.5.1.

    Exported the old database and inported it to new database and changed the 2 configure files OK but each time I run zc_install it only gives me the INSTALL & recheck options.

    How can I check what the problem is ?

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

    Default Re: when installing does not give UPGRADE OPTION

    A common problem is incorrectly reading the directions provided with ZC. For instance, with a 1.5.1 install, there is no reason to edit any configure.php file unless there is a strange SSL link.

    Try looking at http://www.zen-cart.com/entry.php?3-...d-of-upgrading, decide which way you want to go, and follow the directions explicitly.
    A little help with colors.
    myZenCartHost.com - Zen Cart Certified, PCI Compatible Hosting by JEANDRET
    Free SSL & Domain with semi-annual and longer hosting. Updating 1.5.2 and Up.

  3. #3
    Join Date
    Apr 2010
    Location
    County Down, Northern Ireland
    Posts
    302
    Plugin Contributions
    0

    Default Re: when installing does not give UPGRADE OPTION

    Before trying the zc_install went in the good old fashioned way and changed the file permissions on all the image files etc etc to 777 and renamed and changed the configure files just the way I always did in past when having full install of 1.3.9 versions.

    Should I not have done any of above ?

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

    Default Re: when installing does not give UPGRADE OPTION

    Nothing against you but, why are folks so insistent on "doing it my way" or taking some suggested shortcut.

    If this were your 100th install, I might agree that there are some shortcuts that you KNOW will always work for you.

    That said, with changes that occur regularly in ZC files. There's no way I would update a sight without going to the link I gave and follow the instructions. If the decision was to go with other than DrByte's "Upgrade and Use" version, I would again follow the instructions in the docs folder of the ZC version chosen.

    And, as ajeh is oft heard to say, "You might even learn something along the way." As each site will be unique, I seldom do an install/upgrade without learning something.
    A little help with colors.
    myZenCartHost.com - Zen Cart Certified, PCI Compatible Hosting by JEANDRET
    Free SSL & Domain with semi-annual and longer hosting. Updating 1.5.2 and Up.

  5. #5
    Join Date
    Jan 2004
    Posts
    66,443
    Plugin Contributions
    279

    Default Re: when installing does not give UPGRADE OPTION

    Quote Originally Posted by irishshopper View Post
    www.irishshopper.ie

    Am trying to upgrade from 1.3.9h to 1.5.1.

    Exported the old database and inported it to new database and changed the 2 configure files OK but each time I run zc_install it only gives me the INSTALL & recheck options.

    How can I check what the problem is ?
    Sounds like a classic case of using different prefixes in the old site and new site. Must use the same prefix in the new site if you want it to correctly refer to the tablenames you import .... unless you manually rename all the approx 100 tables by hand, which is not recommended.
    .

    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.

  6. #6
    Join Date
    Apr 2010
    Location
    County Down, Northern Ireland
    Posts
    302
    Plugin Contributions
    0

    Default Re: when installing does not give UPGRADE OPTION

    Confused by this latest post !!

    Would not have a clue how to do this so went by the 1.5.1 instructions which are conflicting.

    One parts gives details of files that need changed to 777 another part never mentions this. Both parts talk about editing the 2 configure.php files with the new database details etc which has been done.



    Quote Originally Posted by dbltoe View Post
    Nothing against you but, why are folks so insistent on "doing it my way" or taking some suggested shortcut.

    If this were your 100th install, I might agree that there are some shortcuts that you KNOW will always work for you.

    That said, with changes that occur regularly in ZC files. There's no way I would update a sight without going to the link I gave and follow the instructions. If the decision was to go with other than DrByte's "Upgrade and Use" version, I would again follow the instructions in the docs folder of the ZC version chosen.

    And, as ajeh is oft heard to say, "You might even learn something along the way." As each site will be unique, I seldom do an install/upgrade without learning something.

  7. #7
    Join Date
    Jan 2004
    Posts
    66,443
    Plugin Contributions
    279

    Default Re: when installing does not give UPGRADE OPTION

    Quote Originally Posted by irishshopper View Post
    One parts gives details of files that need changed to 777 another part never mentions this. Both parts talk about editing the 2 configure.php files with the new database details etc which has been done.
    The configure.php files are usually set to read-only, so making them writable is necessary before being able to save changes/edits made to them. "777" is a "globally writable" permissions mask, hence the mention of 777. Use whatever is needed by your server to make the files writable. Usually 755 is sufficient nowadays. Your hosting company can tell you what the correct number is.
    .

    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.

  8. #8
    Join Date
    Apr 2010
    Location
    County Down, Northern Ireland
    Posts
    302
    Plugin Contributions
    0

    Default Re: when installing does not give UPGRADE OPTION

    That will be the problem re the prefix !!

    The old database had a zen_ prefix but the instructions for 1.5.1 recommend NO PREFIX so I went with that recommendation.

    I take I need to add in these changes in the two configure.php files.

    How do I change it in the new Database or do I need to create a brand new database now with zen_ prefix ?

  9. #9
    Join Date
    Jan 2004
    Posts
    66,443
    Plugin Contributions
    279

    Default Re: when installing does not give UPGRADE OPTION

    Quote Originally Posted by irishshopper View Post
    That will be the problem re the prefix !!

    The old database had a zen_ prefix but the instructions for 1.5.1 recommend NO PREFIX so I went with that recommendation.

    I take I need to add in these changes in the two configure.php files.

    How do I change it in the new Database or do I need to create a brand new database now with zen_ prefix ?
    Sigh. Your questions sound like you're overcomplicating it.
    Since your old site uses the zen_ prefix, you'll need to use that in your new test site.
    You can do that in one of two ways:
    a) during zc_install, type in zen_ for the database-table-prefix setting instead of leaving it blank
    b) or, after install change the DB_PREFIX setting in both configure.php files to say 'zen_' instead of ''
    c) renaming all the tables is pointless since your actual live upgrade will still use the current live database. Your test area is simply for testing to make sure you've got all your compatibilities working etc ... assuming you're following http://www.zen-cart.com/entry.php?3-...d-of-upgrading
    .

    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.

  10. #10
    Join Date
    Apr 2010
    Location
    County Down, Northern Ireland
    Posts
    302
    Plugin Contributions
    0

    Default Re: when installing does not give UPGRADE OPTION

    Have changed the prefix to zen_ in both configure files and can confirm this is the prefix used in the tables in the database but still when I try to run zc_install no upgrade button appearing.

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. v150 Upgrade option not available when running zc_install
    By jmprz in forum Upgrading to 1.5.x
    Replies: 3
    Last Post: 19 Apr 2017, 10:39 PM
  2. v138a Zone rate shipping does not disappear when free shipping option is triggered
    By corseter in forum Built-in Shipping and Payment Modules
    Replies: 3
    Last Post: 4 Sep 2013, 02:35 PM
  3. Default Shipping Option Does Not Change When Over/ Under $100
    By MK1990 in forum Customization from the Admin
    Replies: 5
    Last Post: 13 Oct 2011, 05:47 PM
  4. Database does not exist message when installing on dreamhost
    By leathers20 in forum Installing on a Linux/Unix Server
    Replies: 4
    Last Post: 7 May 2008, 07:39 PM
  5. Replies: 0
    Last Post: 18 Nov 2007, 05:48 AM

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