ldon Posted December 27, 2013 Share Posted December 27, 2013 Hello,please write me how to update the 1.5.4.1 version to the latest version of the Presta shop. I've changed few modules so I can not just update my shop automaticly.I do have to update the code but how to update all changes from 1.5.4.1?Thank you an advance. Link to comment Share on other sites More sharing options...
ldon Posted December 29, 2013 Author Share Posted December 29, 2013 Please let me know where to find all changes in coding (fixed bugs) since version 1.5.4.1?Thank you. Link to comment Share on other sites More sharing options...
NemoPS Posted December 30, 2013 Share Posted December 30, 2013 If you only changed modules, copy those ones somewhere, use the autoupgrade, and take them back depending on which modules they are, there is a chance they were not even affected in terms of code chunks Link to comment Share on other sites More sharing options...
vekia Posted December 30, 2013 Share Posted December 30, 2013 information about changes (bugfixes etc.) you can find in change log after each release of new version. PrestaShop v1.5.6.1 - Released on November 18, 2013 - ChangelogPrestaShop v1.5.6.0 - Released on October 07, 2013 - ChangelogPrestaShop v1.5.5.0 - Released on August 28, 2013 - Changelog Link to comment Share on other sites More sharing options...
ldon Posted January 1, 2014 Author Share Posted January 1, 2014 If you only changed modules, copy those ones somewhere, use the autoupgrade, and take them back depending on which modules they are, there is a chance they were not even affected in terms of code chunks You're right but what about modules with a modified code? Link to comment Share on other sites More sharing options...
ldon Posted January 1, 2014 Author Share Posted January 1, 2014 information about changes (bugfixes etc.) you can find in change log after each release of new version. PrestaShop v1.5.6.1 - Released on November 18, 2013 - Changelog PrestaShop v1.5.6.0 - Released on October 07, 2013 - Changelog PrestaShop v1.5.5.0 - Released on August 28, 2013 - Changelog I've found this changelogs but I can't find an exact code modifications so it is hard to fix some bug if I do not know what was changed in a module. Link to comment Share on other sites More sharing options...
stottycabanas Posted January 1, 2014 Share Posted January 1, 2014 Maybe I'm reading this wrong, but are you proposing to take your existing code (i.e. 1.5.4.1 plus your changes), then try to apply all the Prestashop code changes since 1.5.4.1 to arrive at a version 1.5.6.1 which includes your changes? I assume you have a log of all the code changes you've made to 1.5.4.1. I suspect it would be easier to do a fresh install of 1.5.6.1, then apply your changes (maybe some files can be overwritten with your version as suggested above). However, you would probably need to check that each change is still relevant within a 1.5.6.1 environment. Judging by a lot of posts in the forums, the one-click upgrade is not exactly 100% reliable, but that's an option. Whichever route you choose, back everything up first, and good luck! Thanks, Dave Link to comment Share on other sites More sharing options...
ldon Posted January 2, 2014 Author Share Posted January 2, 2014 Maybe I'm reading this wrong, but are you proposing to take your existing code (i.e. 1.5.4.1 plus your changes), then try to apply all the Prestashop code changes since 1.5.4.1 to arrive at a version 1.5.6.1 which includes your changes? I assume you have a log of all the code changes you've made to 1.5.4.1. I suspect it would be easier to do a fresh install of 1.5.6.1, then apply your changes (maybe some files can be overwritten with your version as suggested above). However, you would probably need to check that each change is still relevant within a 1.5.6.1 environment. Judging by a lot of posts in the forums, the one-click upgrade is not exactly 100% reliable, but that's an option. Whichever route you choose, back everything up first, and good luck! Thanks, Dave I'd like to apply the 1-click update, rewrite modules (and some other codes) with "my modules" but I'd like to apply updates of "my modules" but I need to know an exact code changes because I do not want to check every single row of a code. Link to comment Share on other sites More sharing options...
stottycabanas Posted January 3, 2014 Share Posted January 3, 2014 You could do fresh installs of 1.5.4.1 and 1.5.6.1 and use a file comparison utility to highlight the differences. Then see if any of the differences are in files that you've changed - if so, apply the PS changes to your version of the file. Cheers, Dave 1 Link to comment Share on other sites More sharing options...
NemoPS Posted January 3, 2014 Share Posted January 3, 2014 What Dave mentioned is also an option, although I believe it would take a lot of time, and might lead to errors if you don't copy everything correctly Link to comment Share on other sites More sharing options...
stottycabanas Posted January 3, 2014 Share Posted January 3, 2014 Indeed, Nemo1, plus there is the risk that some changes made by the OP are dependent on code in 1.5.4.1 which has been deleted or amended in 1.5.6.1, so the changes will no longer work. Hopefully that won't be the case. Cheers, Dave Link to comment Share on other sites More sharing options...
ldon Posted January 3, 2014 Author Share Posted January 3, 2014 Indeed, Nemo1, plus there is the risk that some changes made by the OP are dependent on code in 1.5.4.1 which has been deleted or amended in 1.5.6.1, so the changes will no longer work. Hopefully that won't be the case. Cheers, Dave Hm ... ) I decided to update to 1.5.6.1 but after I've done that, shop doesn't work at all. I've cloned the default theme to my shop and after the update the default theme and my main shop theme doesn't work. Rest of shops on multistore works fine. Link to comment Share on other sites More sharing options...
NemoPS Posted January 4, 2014 Share Posted January 4, 2014 Is any error being displayed if you turn on error reporting? Link to comment Share on other sites More sharing options...
ldon Posted January 4, 2014 Author Share Posted January 4, 2014 Is any error being displayed if you turn on error reporting? Not at all. (I've changed "@ini_set('display_errors', 'on')";) Link to comment Share on other sites More sharing options...
ldon Posted January 4, 2014 Author Share Posted January 4, 2014 Is any error being displayed if you turn on error reporting? I just created a new shop (multistore) and I imported everything from my main shop (broken) and the shop is not working as well as the main one and the default. I've done an update few times because I though it is just one time problem but is not. It is still the same. The main shop and default do not work. I've no idea how to repair it. Fortunately I've done this all on my localhost. Link to comment Share on other sites More sharing options...
stottycabanas Posted January 4, 2014 Share Posted January 4, 2014 Not at all. (I've changed "@ini_set('display_errors', 'on')";) A couple of lines above that in defines.inc.php, you need to ensure it says: define('_PS_MODE_DEV_', true); If it doesn't, make that change, then post any error messages back here. Cheers, Dave Link to comment Share on other sites More sharing options...
ldon Posted January 4, 2014 Author Share Posted January 4, 2014 A couple of lines above that in defines.inc.php, you need to ensure it says: define('_PS_MODE_DEV_', true); If it doesn't, make that change, then post any error messages back here. Cheers, Dave I've got there "TRUE". No errors. Link to comment Share on other sites More sharing options...
stottycabanas Posted January 4, 2014 Share Posted January 4, 2014 OK, so can you provide more details about what happens, i.e. how things are configured, which version you use, does it have your changes in, what steps do you take to initiate the problem, what results occur, etc. All we know is 'shop doesn't work' which is a bit difficult to diagnose. Thanks, Dave Link to comment Share on other sites More sharing options...
ldon Posted January 4, 2014 Author Share Posted January 4, 2014 (edited) OK, so can you provide more details about what happens, i.e. how things are configured, which version you use, does it have your changes in, what steps do you take to initiate the problem, what results occur, etc. All we know is 'shop doesn't work' which is a bit difficult to diagnose. Thanks, Dave So ... As I written in a post #12, I decided to update my Prestashop version 1.5.4.1 to 1.5.6.1 but after I've done it, the shop doesn't work at all. On my old version, 1.5.4.1 shop I had a default shop (not the main url), then 1 shop which I'd set as the main one (main url) and few other shops (multistore). I've used the default shop dates as a source for the main shop and I modified few modules in the main shop and all multistore shops and after I updated the Prestashop to 1.5.6.1, the default and my main shop doesn't work. Rest of shops works fine. On the default and the main shop I can see only logo and nothing else, no modules, rows, footer ... After the update I could see a green note the update was succesfull Edited January 4, 2014 by ldon (see edit history) Link to comment Share on other sites More sharing options...
ldon Posted January 4, 2014 Author Share Posted January 4, 2014 OK, so can you provide more details about what happens, i.e. how things are configured, which version you use, does it have your changes in, what steps do you take to initiate the problem, what results occur, etc. All we know is 'shop doesn't work' which is a bit difficult to diagnose. Thanks, Dave After I run liveEdit I can see an technical error - Failed to load the list of modules. Can this help? Link to comment Share on other sites More sharing options...
Open Presta Posted January 5, 2014 Share Posted January 5, 2014 Try to go : Clients -> Groups -> Choose Visitor (Guest) And after Selection all module and click in autorisate (sorry for bad english ) Link to comment Share on other sites More sharing options...
ldon Posted January 5, 2014 Author Share Posted January 5, 2014 Try to go : Clients -> Groups -> Choose Visitor (Guest) And after Selection all module and click in autorisate (sorry for bad english ) Unbelievable good advice. I wouldn't sort it out at all. It works now. Thank you. Maybe one more question for all. I can see a new version 1.6.x is based on an absolutely different theme a specialy back office.. How it is with an update from 1.5.x? Thank you. Link to comment Share on other sites More sharing options...
Open Presta Posted January 5, 2014 Share Posted January 5, 2014 for the moment i dont advice any client to migrate to 1.6.X because it is not ended and y must update all module external Link to comment Share on other sites More sharing options...
ldon Posted January 5, 2014 Author Share Posted January 5, 2014 Try to go : Clients -> Groups -> Choose Visitor (Guest) And after Selection all module and click in autorisate (sorry for bad english ) This action has solved my problem but actually I can see now a huge bug which needs to be solved. Any employee having an acces to customer groups in the multi store mode (some of them need that to apply discounts for some of groups ), can in fact make all the rest of shops unusable, as soon as he'll unauthorize all modules (by mistake or intentional). Link to comment Share on other sites More sharing options...
ldon Posted January 16, 2014 Author Share Posted January 16, 2014 After I run liveEdit I can see an technical error - Failed to load the list of modules. Can this help? Yes Link to comment Share on other sites More sharing options...
Recommended Posts