Trove Posted March 4, 2011 Share Posted March 4, 2011 Since there are still alot of users that are either to afraid to explore the update process, or are just to unfamiliar with this i decided to post this [HOW TO/GUIDE] topic. I hope it can help some users on there way in the update process.I've made numerous of updates, and i found it quite easy after i had put in some time.1. Making sure all the files are backed up.First it’s important you back-up/download the following: 1. Database (in case something goes wrong - phpmyadmin) < EXAMPLE >2. Modules (so you won’t lose any modules you have added - /modules) 3. .htaccess file (used for assigning amongst others the friendly url - in main Prestashop file)4. Images (your product images etc in - /img)5. Themes (your custom theme in - /themes)6. settings.inc.php (to keep the proper settings - in /config)7. *optional: files such as /mails and /translationsI find it easiest to just to download the old version to my hard drive via FTP server, so I immediately have all the files (except the database).2. Replacing your PrestashopChoose one of these two options:1. On your server, change the folder name of your old Prestashop version, and place the new Prestashop version on your server under the original name of your old Prestashop.2. Remove the old version from the server. Install the new version on your server under the original foldername of your old Prestashop. (e.g. rootfolder or whatever folder you used)*If you choose option 1, then you can delete the older version you renamed after the update process and after you examined the updated version and are satisfied with the result.3. Placing your stores files backPut your files back in the new Prestashop version. This means all the files you have backed up in step one.Make sure you put the files back where they belong. (settings.inc.php is placed back in the /config folder etc...)Only place back the modules you have modified or added.4. Upgrading the storeNext, you should be safe to update via http://yourdomain.com/install. Simply choose upgrade in the first screen. Link to comment Share on other sites More sharing options...
Trove Posted March 4, 2011 Author Share Posted March 4, 2011 Troubleshooters:Q: What should I do if my original files were in root folder and there is no folder name to change?A: You have two options to choose from: 1: Simply choose option two from the first post. This means; remove all the old files from the server and upload the new files as described. If you have used your rootfolder, simply upload the new files to the rootfolder again.2:In settings.inc.php you change the first line to your preference. For example in my case its set to: define('__PS_BASE_URI__', '/nl/'); (Im not sure what the first line reads when you have used the rootfolder. However, i am sure someone else will be so nice to tell me. I will further adjust this post afterwards.) Link to comment Share on other sites More sharing options...
jojje_f Posted March 5, 2011 Share Posted March 5, 2011 Hi Trove,I tried to follow your guide but got this error message by the installer:"A PrestaShop database already exists, please drop it or change its prefix."But I want to use the old database ... What is the solution to this?(I'm upgrading from 1.4.0.14 to -15.) /Tnx Jojje Link to comment Share on other sites More sharing options...
tisi Posted March 8, 2011 Share Posted March 8, 2011 Hey what should I do if my original old files were in root folder and there is not folder name to change. Link to comment Share on other sites More sharing options...
Trove Posted March 17, 2011 Author Share Posted March 17, 2011 bumb.. Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now