Jump to content

Update 1.5.4.1 to the latest version of Presta


Recommended Posts

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

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

 

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

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

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

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 ... :o)

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

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

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

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. :wacko:

Thanks, Dave

Link to comment
Share on other sites

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. :wacko:

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 by ldon (see edit history)
Link to comment
Share on other sites

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. :wacko:

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

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

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

  • 2 weeks later...
×
×
  • Create New...