Jump to content

Updating from 1.1.0.5 to 1.2.5 ?


Recommended Posts

Hello everybody !

Juste to be sure, to update my prestashop i need to :

-rename my current prestashop folder on my server to (for example) old_prestashop (basically making a backup)
-upload the 1.2.5 version to a new "prestashop folder" on my server.
-copy all emails, images and eventually modules folders from the "old_prestashop" to the new one.
-upload settings.inc that was situated in the \old_prestashop\config folder to the prestashop\config
-run the installer

right ? Am I missing something ? I do also have to give the right permissions right ? 777 to config ?

I tried this several times but without succeeding (meaning, if I remember well I just got a blank page instead of my site...) so I was wondering if it is not because I'm trying to make a huge step from 1.1.0.5 to 1.2.5..could this be the reason ?

Is it possible to update from such an older version to the newest one ? Am I forgetting something crucial in my update procedure ?

Many many thanks in advance !

Jackkkx

Link to comment
Share on other sites

De-instal third-party modules, switch back to default template, de-activate Friendly urls.
Test if everything "works" ok.

Upgrade your shop by upgrading to every release in between your current version and the 1.2.5, do not use any beta release.

Make a backup of your db, then proceed like you wrote (except from the part of the modules, this you do after everything works on default template and modules).
Make sure that all your third party modules are 1.2.5 compatible.

Search the forums on upgrading as weel.

Link to comment
Share on other sites

Thanks a lot for the answer and the help ! So basically I have to update my shop a lots of times ("every release in between your current version and the 1.2.5") before updating to 1.2.5, right ? I guess it will take me time ;)

Thanks again for the support!
Jackkkx

Link to comment
Share on other sites

  • 1 month later...

Yes. of course. Search for manual upgrade in the forum. You will only need to first upgrading manually the database . My recommendation is upgrade database for each next version one by one and you are likely to get some errors. The errors are actually due to primary key violation which is caused by new primary key added by exactly which db version you are on that time upgrading. All you need to do is go to your dbadmin and delete duplicate keys leaving only one.

This things are difficult for someone without knowledge of database design and programming.

then you upgrade manually using the search result that you get from this forum.

There would be some errors like image not uploaded. Mostly because of poor modules coding.

I can make a detailed step by step guide if I am honored with a moderator position here and a developer position in prestashop itself.

Link to comment
Share on other sites

If I could grant you a moderator position, I would -).

(Quick note: According to your profile, you seem new to prestashop, maybe just because you changed login name of something. That might have an influence on your request? Anyway...thank you for the help you might provide.)

I do have SQL skills, however, I'm not super familiar with all the tables/columns in the presta DB. I have no PHP skills.
How about if we start by defining "My recommendation is upgrade database for each next version one by one".
where do you download every single SQL needed ?

EDIT: NEVER MIND THAT QUESTION: I found them - prestashop\install\sql\upgrade

Link to comment
Share on other sites

hi!


I am pretty new with prestashop. Just did some experiments on it for an week. I don't have much time to talk, work is out there. I thought a VIP member would be related to prestashop development group. Anyway here is what you asked for.

Back up all your files and database tables.

go to prestashop install folder. with a very little effort you will get the sql files. U need to run every sql files serially which have newer version than yours. Remember that next sql file to run is the next version of file. like you have successfully run 1.1.2.1 and you have 1.2.3.3 and 1.2.3.1 files to run. you must run 1.2.3.1 first then 1.2.3.3. You must successfully run every sql in your database.

after that copy all the new files to your webhost except for img, themes, translations, installed modules. If you have any upgrade of your installed module, just overwrite it with new files. Replace all unused modules with new ones.

then complete this steps from the following link

part1: 6,7
part2: 1,2,3

hope it helps.

Link to comment
Share on other sites

Yes. of course. Search for manual upgrade in the forum. You will only need to first upgrading manually the database . My recommendation is upgrade database for each next version one by one and you are likely to get some errors. The errors are actually due to primary key violation which is caused by new primary key added by exactly which db version you are on that time upgrading. All you need to do is go to your dbadmin and delete duplicate keys leaving only one.

This things are difficult for someone without knowledge of database design and programming.

then you upgrade manually using the search result that you get from this forum.

There would be some errors like image not uploaded. Mostly because of poor modules coding.

I can make a detailed step by step guide if I am honored with a moderator position here and a developer position in prestashop itself.


Sorry all. Here goes the link

http://www.prestashop.com/forums/viewthread/4073/help_installation___upgrade/upgrading_step_by_step_
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...