Zen Cart Logo
Forums / Addon Templates / How to install a previous version without losing all content?

How to install a previous version without losing all content?

Views: 1,388

Results 1 to 6 of 6
20 Apr 2016, 9:15 AM
#1
mcclaine avatar

mcclaine

New Zenner

Join Date:
Apr 2016
Posts:
3
Plugin Contributions:
0

How to install a previous version without losing all content?

Hello.

I am needing to install an older version of ZenCart (v1.5.0) because of the compatibility issues I'm having with ZenCart 1.5.5 and Responsive Sheffield Blue v2.0.

I have content (products) on my website already and I would like to know how to roll back ZenCart without losing all my content?

How Do I go about completing this process?
What files do I need to save/backup?
How do I restore my content after the roll back?

Thank you in advance for any help posted here.

20 Apr 2016, 10:06 AM
#2
mc12345678 avatar

mc12345678

Totally Zenned

Join Date:
Jul 2012
Posts:
16,908
Plugin Contributions:
2

Re: How to install a previous version without losing all content?

The simplest solution is to restore the backup that was made to support upgrading the site as suggested here: http://www.zen-cart.com/entry.php?3-How-do-I-rebuild-my-site-on-the-new-version-instead-of-upgrading, but that said, it is possible to use the responsive template on ZC 1.5.5 with changes made as described at: https://www.zen-cart.com/showthread.php?219801-Making-v154-DIY-Picaflor-Azul-templates-work-with-v1-5-5&p=1306879#post1306879

Alternatively you could enable/copy one of the templates as part of ZC 1.5.5 with all of the applicable plugins copied to the applicable template folders.

Issues that will be encountered by rolling back would be that 1) if the php version was increased to support ZC 1.5.5, then anyone that has logged in since this time will have to reset their password in most cases, 2) there is a possibility of database corruption as a result of using older code on a newer database, 3) some database table field changes may have to be rolled back also.

20 Apr 2016, 10:15 AM
#3
rbarbour avatar

rbarbour

Totally Zenned

Join Date:
Feb 2010
Posts:
2,159
Plugin Contributions:
10

Re: How to install a previous version without losing all content?

Anne's templates are all getting a v1.5.5 upgrade as time permits.

Unfortunately and very noticeable Anne has been absent due to personal reasons and she can fill everyone in if she feels it necessary.

I have installed and made the necessary changes to all her templates. I emailed her to see if she was OK with me posting via GIT until she has the time to upgrade. If she says OK I will post links via the templates respective support threads.

20 Apr 2016, 10:15 AM
#4
swguy avatar

swguy

Administrator

Join Date:
Feb 2006
Location:
Tampa Bay, Florida
Posts:
10,717
Plugin Contributions:
56

Re: How to install a previous version without losing all content?

mcclaine:

I am needing to install an older version of ZenCart (v1.5.0) because of the compatibility issues I'm having with ZenCart 1.5.5 and Responsive Sheffield Blue v2.0.

This is really not a great plan. I'd rather see you use the new template and work in the background on fixing whatever compatibility issues you are finding. Have you reported these issues on the Responsive Sheffield Blue v2.0 thread?

20 Apr 2016, 12:29 PM
#5
mc12345678 avatar

mc12345678

Totally Zenned

Join Date:
Jul 2012
Posts:
16,908
Plugin Contributions:
2

Re: How to install a previous version without losing all content?

swguy:

This is really not a great plan. I'd rather see you use the new template and work in the background on fixing whatever compatibility issues you are finding. Have you reported these issues on the Responsive Sheffield Blue v2.0 thread?

Yes they were reported yesterday by the OP with a response related to going to the post that rbarbour had started to address the incorporation of Anne's template(s) to ZC 1.5.5 and that thread was reviewed, but not found to be sufficiently detailed for a novice to incorporate the changes. A follow on discussion was initiated to try to address that lack of understanding but in parallel this thread was initiated to quickly return to "full" operational status.

20 Apr 2016, 5:50 PM
#6
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
176

Re: How to install a previous version without losing all content?

Going backwards is NOT advisable, particularly since password formats were changed between versions and so any new customers added, and anyone who changed passwords, won't be able to log in.

A faster fix would be to either apply the updates mentioned in the DIY thread, or switch to the built-in Responsive Classic temporarily.

And, all this could have been avoided if the upgrade had been staged in a separate copy of the site first, as advised in all the readme docs, upgrade instructions, etc. (I'm not making this comment to point fingers or such. Just drawing attention to the fact so it can be noted for future, or for others who read this discussion.)