davidddp Posted January 16, 2017 Share Posted January 16, 2017 I have a store in version 1.7.0.1 with the default theme and I'm trying to update it to the latest version right now, 1.7.0.4. I've tried to update it with 1-Click Upgrade 2.0.2 which is the latest version of the plugin and it always gives me the same error. Image: https://cl.ly/0C053a2g0b0u I would need some help on how to update it manually or automatically. My 1-Click Upgrade plugin configuration is the default: Image: https://cl.ly/0l0G2c3Z2J2P Link to comment Share on other sites More sharing options...
Matt_ Posted January 16, 2017 Share Posted January 16, 2017 (edited) I did a manual upgrade from 1.7.0.3 to 1.7.0.4. I sortof followed the manual upgrade instructions that they recommend not to do. My live store was 1.7.0.3 and I wanted a working test copy. Sometimes in the past, I've had some hiccups with the 1-click upgrade module - sometimes it goes well. 1) I downloaded, unzipped and installed 1.7.0.4 and then check it worked OK, into a sub directory called /2. (BTW I created a new blank database). 2) Next I copied my backuped /img, /modules, /themes (no changes in /mail, /upload, /download or /classes) directories into the new install. 3) Then using PhpMyAdmin, I imported my backup database. (Because it has a different prefix, it was imported next to the original - I could have just installed 1.7.0.4 with the same prefix as the backup, but wanted a fallback option). 4) The only change here (using PhpMyAdmin) was the 'shop_url' table, where I altered the 'physical_uri' to '/2/' (the name of my sub directory). 5) Then I changed the installed file /app/config/parameter and changed the db_prefix to my new database import. 6) I didn't bother with upgrade script (was supposed to visit http://mydomain.com/2/install/upgrade/upgrade.php), but I decided to manually press the upgrade button next to each module - looking back, it would have better to use the script. 7) Then for some unknown reason I had to re-hook my custom modules: Using Design > Positions, I transplanted each custom module to the relevant hook. 8) All seem to function OK. This was more like duplicate, but you should be able to use similar steps to upgrade your store. Perhaps do the above and if it works, delete then copy these file into your root (or wherever your live site exists). Always have a backup! If want to reference the Prestashop doc: http://doc.prestashop.com/display/PS15/Manual+update Remember the reference instructions are old and not recommended Edited January 16, 2017 by Matt_ (see edit history) 1 Link to comment Share on other sites More sharing options...
Czuki Posted January 23, 2017 Share Posted January 23, 2017 Any hope for 1-click upgrade to work? For me I can press the button and literally nothing happens Link to comment Share on other sites More sharing options...
davidddp Posted January 24, 2017 Author Share Posted January 24, 2017 Let's hope the problem is fixed with a "1-Click Upgrade" update! Link to comment Share on other sites More sharing options...
Modern Posted January 24, 2017 Share Posted January 24, 2017 Hi, Please could you help... Today we pressed the 1-click upgrade button for the most recent version of PrestaShop and confirmation was received that the upgrade was successful. Unfortunately now we can NOT access our site, neither the front or back end. Front end says... Maintenance modeIn order to perform website maintenance, our online store will be temporarily offline. We apologize for the inconvenience and ask that you please try again later. Back/Admin end we are unable to login. I enter our details login details and the screen instantly refreshes and all boxes are blank. Please can anyone offer any suggestions? Much appreciated Link to comment Share on other sites More sharing options...
davidddp Posted January 26, 2017 Author Share Posted January 26, 2017 Hi, Please could you help... Today we pressed the 1-click upgrade button for the most recent version of PrestaShop and confirmation was received that the upgrade was successful. Unfortunately now we can NOT access our site, neither the front or back end. Front end says...Maintenance modeIn order to perform website maintenance, our online store will be temporarily offline. We apologize for the inconvenience and ask that you please try again later. Back/Admin end we are unable to login. I enter our details login details and the screen instantly refreshes and all boxes are blank. Please can anyone offer any suggestions? Much appreciated Enabling: On your server, open the /config/defines.inc.php file. Find this line: define('_PS_MODE_DEV_', true); In this line, change "true" to "false". Save your changes. 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