Page 1 of 2 12 LastLast
Results 1 to 10 of 14
  1. #1
    Join Date
    Jun 2007
    Location
    Australia
    Posts
    60
    Plugin Contributions
    0

    Default Upgrade from 1.5.1 to 1.5.3 - upgrade option not being offered

    I am wanting to upgrade from 1.5.1 to 1.5.3 and I have copied all files across and are at the part of wanting to upgrade the dB by running the zc_install. For some reason I am not getting presented with the option to upgrade database (only fresh install).
    I have checked config files and reinstated 1.5.1 config files and also made sure they not read only. My install log file states inspect: FATAL. It then continues to list the system inspect details.
    Can anyone think of what I may be missing? Its been a while since I have upgraded so I'm hoping its a late night silly mistake.
    Would I be better just to re-install from fresh now and cut my losses? (I have backups)

  2. #2
    Join Date
    Feb 2009
    Location
    UK
    Posts
    1,239
    Plugin Contributions
    1

    Default Re: Upgrade from 1.5.1 to 1.5.3 - upgrade option not being offered

    I think this post addresses your question

    http://www.zen-cart.com/showthread.p...n-as-an-option

  3. #3
    Join Date
    Jul 2012
    Posts
    16,733
    Plugin Contributions
    17

    Default Re: Upgrade from 1.5.1 to 1.5.3 - upgrade option not being offered

    Hopefully the above link provided some insight; however, to provide help we may need a little more information.
    Path of functional 1.5.1 version as it relates to the domain name.
    Path of problem 1.5.3 version as it relates to the domain name.
    Were the various file paths updated in the includes/configure.php and admin/includes/configure.php to account for the difference between the "old" location and the "new" location?
    The database, it appears from the description that there is/was no backup of the database, and that the installation being performed is using the same database as the original store. Do the two configure.php files reference the same database as the original, a newly creaated database, two different databases, etc?

    Effectively if the install can see that there is an existing install, then it will offer the option to upgrade the database, if not, then it offers a new install.

    Are you using a temporary uri for example?
    ZC Installation/Maintenance Support <- Site
    Contribution for contributions welcome...

  4. #4
    Join Date
    Jun 2007
    Location
    Australia
    Posts
    60
    Plugin Contributions
    0

    Default Re: Upgrade from 1.5.1 to 1.5.3 - upgrade option not being offered

    Many thanks for your help. There was an error in the config files in the localhost area. Upgraded today OK. Took me longer than expected to find

  5. #5
    Join Date
    Jul 2012
    Posts
    16,733
    Plugin Contributions
    17

    Default Re: Upgrade from 1.5.1 to 1.5.3 - upgrade option not being offered

    Quote Originally Posted by sydmich View Post
    Many thanks for your help. There was an error in the config files in the localhost area. Upgraded today OK. Took me longer than expected to find
    Devil in the details. :) congratulations, continued happy zenning.
    ZC Installation/Maintenance Support <- Site
    Contribution for contributions welcome...

  6. #6
    Join Date
    Jul 2009
    Posts
    402
    Plugin Contributions
    0

    Default Re: Upgrade from 1.5.1 to 1.5.3 - upgrade option not being offered

    Hi,
    I am using this thread because the title is perfect ofr my questions.
    For reasons that woul be too long to explain I want to keep the 1.5.1 file set for my store and upgrade only the db from 1.5.1 to 1.5.3
    I tryed to use the zc_install to do that but the when I hit upgrade I get a message saying that the file mysql_upgrade_zencart_151_to_153.sql is not found.
    I then (in my test site) copied the content of the file mysql_upgrade_zencart_151_to_153.sql (that is exactly were it should be) and pasted it in the patch database windows in the admin.
    The database was updated without any problem (44 statment processed) and I do not see any loss of data of apparent problem.

    Now, my questions are:
    1) Is it possible that with the procedure above I created damages that I do not see at the moment but that will come out later? In other words, is it safe what I did?
    2) Will I have any problem (if I keep the db 1.5.3) when later I will update also the file set to 1.5.3?
    Thanks for your help.
    Ciao from Italy
    enzo

  7. #7
    Join Date
    Jan 2007
    Location
    Los Angeles, California, United States
    Posts
    10,023
    Plugin Contributions
    32

    Default Re: Upgrade from 1.5.1 to 1.5.3 - upgrade option not being offered

    Quote Originally Posted by enzo-ita View Post
    Hi,
    I am using this thread because the title is perfect ofr my questions.
    For reasons that woul be too long to explain I want to keep the 1.5.1 file set for my store and upgrade only the db from 1.5.1 to 1.5.3
    I tryed to use the zc_install to do that but the when I hit upgrade I get a message saying that the file mysql_upgrade_zencart_151_to_153.sql is not found.
    I then (in my test site) copied the content of the file mysql_upgrade_zencart_151_to_153.sql (that is exactly were it should be) and pasted it in the patch database windows in the admin.
    The database was updated without any problem (44 statment processed) and I do not see any loss of data of apparent problem.

    Now, my questions are:
    1) Is it possible that with the procedure above I created damages that I do not see at the moment but that will come out later? In other words, is it safe what I did?
    2) Will I have any problem (if I keep the db 1.5.3) when later I will update also the file set to 1.5.3?
    Thanks for your help.
    Ciao from Italy
    enzo
    The answer is yes.. which is why deviations from the upgrade path are not supported, and you will find that very little assistance will be provided in walking down this path.. What kinds of issues you may ask?? The answer to that is you will have to tell us as you have ventured down an upgrade path that is not recommended or supported, and probably UNTESTED..

    The real question is WHY do this at all.. If it's a matter of modules and customizations needing updating, I suggest waiting or hire someone to upgrade them for you..
    My Site - Zen Cart & WordPress integration specialist
    I don't answer support questions via PM. Post add-on support questions in the support thread. The question & the answer will benefit others with similar issues.

  8. #8
    Join Date
    Jul 2012
    Posts
    16,733
    Plugin Contributions
    17

    Default Re: Upgrade from 1.5.1 to 1.5.3 - upgrade option not being offered

    I have a similar question. Not only why do this, but what benefit do you perceive to gain by upgrading the database using every upgrade instruction that is applied when upgrading the software as well?

    I can perceive a few minor things that might be worthwhile, say if there were some new indices added to tables to improve their performance, okay, no real impact on anything that is a code interface, but consider a broader upgrade, say from 1.3.9h to 1.5.0. From the onset, 1.5.0 has a different table structure for the admin table. Take a look at the sql in the FAQ for forgotten passwords. Two different statements required for the same action on the same table.

    In this case you may be lucky (1.5.1 to 1.5.3) for now, but if the thought is/was that the database runs better under 1.5.3, well the next change to the database made by 1.5.1 in that area will defeat/undo that gain... I mean right now if you were to look at the result of the version page information, you will see that the store has version 1.5.1 and the database has 1.5.3. I'm thinking that in that configuration it is possible some plugins won't work because they may use that database version to perform actions, for example to try to access the database using ZC builtin functions that expect to use mysqli_ functions instead of mysql_ functions...

    Like Diva is identifying, you go to a support forum because the plugin doesn't work as such a result and the answer more than likely would be to rebuild your site or fully upgrade it... I doubt that someone would modify the code provided to/for the masses to program with this deviation in mind. I know I haven't and have no plans to.

    As I expect one other to chime in on this, I consider this a bad idea. Perhaps a "fun" experiment, but only that and should not be a normal practice or used in a production environment if you value your income/business.
    ZC Installation/Maintenance Support <- Site
    Contribution for contributions welcome...

  9. #9
    Join Date
    Jan 2007
    Location
    Los Angeles, California, United States
    Posts
    10,023
    Plugin Contributions
    32

    Default Re: Upgrade from 1.5.1 to 1.5.3 - upgrade option not being offered

    Quote Originally Posted by mc12345678 View Post
    I consider this a bad idea. Perhaps a "fun" experiment, but only that and should not be a normal practice or used in a production environment if you value your income/business.
    BOOM!!!

    **nods in agreement**
    My Site - Zen Cart & WordPress integration specialist
    I don't answer support questions via PM. Post add-on support questions in the support thread. The question & the answer will benefit others with similar issues.

  10. #10
    Join Date
    Jul 2009
    Posts
    402
    Plugin Contributions
    0

    Default Re: Upgrade from 1.5.1 to 1.5.3 - upgrade option not being offered

    Thanks DivaVocals and mc12345678
    Ok OK I was not trying to invent something. I was just trying to find a workaround to the problem I have with the installer that does not find the file mysql_upgrade_zencart_151_to_153.sql which instead is exactly were it should be having uploaded the zc_install completely in the sub dir were the test file set is stored. (public_html/sub/test/
    Can you help me with that problem?
    If not, can you tell me how to start from scratch with a new set of files and db and then import the data from my old_db to the new_db?
    Thanks.
    Ciao from Italy.
    enzo

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. v154 Can't upgrade database doing upgrade from 1.5.1 to 1.5.4
    By blueskyhigh in forum Upgrading to 1.5.x
    Replies: 2
    Last Post: 2 Apr 2015, 01:38 PM
  2. Upgrade not given as an option
    By wiccan0974 in forum Upgrading from 1.3.x to 1.3.9
    Replies: 1
    Last Post: 1 Nov 2011, 04:36 AM
  3. 1.3.8 version not allowing me the upgrade option!
    By ScootaMan in forum Upgrading from 1.3.x to 1.3.9
    Replies: 19
    Last Post: 9 Dec 2007, 08:30 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