CatNails Posted March 3, 2023 Share Posted March 3, 2023 Hello, I have just migrated my shop to PS 8.0.1. Since the beginning, it is impossible for me to update a module, and this for any module, native or non-native. I've already tried clearing the cache, deleting everything under the var/cache/ directory, but nothing works, I always get this error message "Could not perform action update for module undefined". Has anyone got the case? Or an idea of how to solve it? Here is my current PS 8.0.1 configuration. Thanks in advance for your help. Link to comment Share on other sites More sharing options...
NPO Posted March 3, 2023 Share Posted March 3, 2023 I've seen this a few times. 1. When trying to 'update all' - the system seems to go into overload. If you update one module at a time it works. You may also have to change the order in which you update modules (the native ones). 2. After a PS update. I updated the module first or disabled the module just before the PS upgrade. It depends on the module, was a bit of try and try again. (if 3rd party mods, enable Debug just before you enable the mod so it can tell you what the problem is). 3. Some needed to be updated manually or reinstalled (manual for the ones that hold configurations) - worked with all the modules I came across. Very often the case if the update was from PS 1.7x to 8.x AND php 7 to 8. Even some of the native mods are picky about when they want to be updated. Link to comment Share on other sites More sharing options...
CatNails Posted March 4, 2023 Author Share Posted March 4, 2023 Hello, I found what was blocking, it was a module that I had deactivated. Once uninstalled, the updates could be done. Thank you for your help. Link to comment Share on other sites More sharing options...
Mediacom87 Posted March 4, 2023 Share Posted March 4, 2023 (edited) On 3/4/2023 at 3:11 PM, CatNails said: I found what was blocking, it was a module that I had deactivated. Expand Which one ? Edited March 4, 2023 by Mediacom87 (see edit history) Link to comment Share on other sites More sharing options...
CatNails Posted March 6, 2023 Author Share Posted March 6, 2023 On 3/4/2023 at 11:24 PM, Mediacom87 said: Which one ? Expand It is a module created for the ING bank (ING PSP) to receive all kinds of payments. Link to comment Share on other sites More sharing options...
@diegofrancesco Posted June 22, 2023 Share Posted June 22, 2023 On 3/4/2023 at 3:11 PM, CatNails said: Hello, I found what was blocking, it was a module that I had deactivated. Once uninstalled, the updates could be done. Thank you for your help. Expand Hello, how did you find out which module was creating the conflict? Thank you Link to comment Share on other sites More sharing options...
Mediacom87 Posted June 22, 2023 Share Posted June 22, 2023 On 6/22/2023 at 3:08 PM, @diegofrancesco said: Hello, how did you find out which module was creating the conflict? Expand On 3/6/2023 at 12:31 PM, CatNails said: It is a module created for the ING bank (ING PSP) to receive all kinds of payments. Expand Link to comment Share on other sites More sharing options...
@diegofrancesco Posted June 23, 2023 Share Posted June 23, 2023 On 6/22/2023 at 4:12 PM, Mediacom87 said: Expand I've already read that thanks, but it doesn't explain how he identified the module that created the problem among all those installed. It may also be useful to others in the future. Link to comment Share on other sites More sharing options...
Mediacom87 Posted June 23, 2023 Share Posted June 23, 2023 On 6/23/2023 at 7:44 AM, @diegofrancesco said: I've already read that thanks, but it doesn't explain how he identified the module that created the problem among all those installed. It may also be useful to others in the future. Expand Simply by deactivating all the modules one by one, or by having the information displayed in an error message following activation of the Debug module. There's absolutely no magic in life. Link to comment Share on other sites More sharing options...
CatNails Posted June 23, 2023 Author Share Posted June 23, 2023 On 6/23/2023 at 7:46 AM, Mediacom87 said: Simply by deactivating all the modules one by one, or by having the information displayed in an error message following activation of the Debug module. There's absolutely no magic in life. Expand Hello Mediacom, Thanks for your reply, that's exactly what I did. Hello @diegofrancesco, I deactived first all the non PS native modules that I installed and then I activated them one by one to see which one caused the problem. Link to comment Share on other sites More sharing options...
Marz12 Posted March 23, 2024 Share Posted March 23, 2024 Hello, I've had the same problem : "Could not perform action update for module undefinded" showing up every time I tried to update a module. I could solve it with a reset of module ps_mbo. (PS version 8.1.5) Link to comment Share on other sites More sharing options...
Nickz Posted March 23, 2024 Share Posted March 23, 2024 On 3/23/2024 at 2:34 PM, Marz12 said: I've had the same problem : Expand why do you wish to update? Any particular reason? Link to comment Share on other sites More sharing options...
Marz12 Posted March 23, 2024 Share Posted March 23, 2024 On 3/23/2024 at 2:44 PM, Nickz said: why do you wish to update? Any particular reason? Expand I don't keep up to date every module, especially when I'm satisfied with them, when there's no security warning, etc. But I've noticed that some should be updated, such as some transport modules: sometimes there are changes in shipping facilities list. Link to comment Share on other sites More sharing options...
Nickz Posted March 24, 2024 Share Posted March 24, 2024 On 3/23/2024 at 2:50 PM, Marz12 said: when there's no security warning, etc. Expand the so called security warning is an advert of the developer. You see nowadays warnings about a PHP version being dangerous. That is greatly exaggerated. A good reason to go VPS and control the environment yourself of get a techi to do that for you. Link to comment Share on other sites More sharing options...
Marz12 Posted March 24, 2024 Share Posted March 24, 2024 On 3/24/2024 at 3:42 PM, Nickz said: the so called security warning is an advert of the developer. You see nowadays warnings about a PHP version being dangerous. That is greatly exaggerated. A good reason to go VPS and control the environment yourself of get a techi to do that for you. Expand In 2020, we received a security warning from Prestashop because of security problems on some modules. It was no joke. As far as I remember the developper had "forgotten" to suppress STDIN access in some files!!! Unbelievable but true! A number of websites got hacked. I could track attempts on mine, luckily avoided. No exageration at all. https://www.prestashop.com/forums/topic/1013028-faille-de-sécurité-suite/ Now I'm speaking to other Prestashop users: There are some friendly "Grand Masters" here in the forum telling you that - you don't need to make frequent updates - security warnings are "greatly exaggerated" - don't ask for up-to-date PHP versions - and best of all: "get a techi to do things for you" (because you're not techi enough. LOL!) Do they fear their customers want them to do well the securing job ? (that takes time) My two cents: use your brain, read carefully the security warnings, read Prestashop docs, and make your own decision. Mine is to update when it's about security. Link to comment Share on other sites More sharing options...
Nickz Posted March 24, 2024 Share Posted March 24, 2024 If no one had updated to the newest version the insecurity would not have taken so many victims. On 3/24/2024 at 4:09 PM, Marz12 said: My two cents: use your brain, Expand That is a good idea. I wouldn't be too sure that Prestashop has your best interest in mind. Their security holes play neatly into their SaaS plans. Grandmaster is a forum title nothing else. It means I must have done something right. Link to comment Share on other sites More sharing options...
Marz12 Posted March 24, 2024 Share Posted March 24, 2024 On 3/24/2024 at 4:47 PM, Nickz said: If no one had updated to the newest version the insecurity would not have taken so many victims. Expand No, the security holes were in many versions, not only newest ones, see for instance (sorry I've kept only french links): https://www.prestashop.com/forums/topic/1012095-hack-prestashop-avec-xsamxadoo-bot/ On 3/24/2024 at 4:47 PM, Nickz said: I wouldn't be too sure that Prestashop has your best interest in mind. Their security holes play neatly into their SaaS plans. Expand If you're right, this would be a strong reason to leave Prestashop. Deliberately kept security holes would be unacceptable. Anyway we do agree on the motto "use your brain". 1 Link to comment Share on other sites More sharing options...
Mediacom87 Posted March 24, 2024 Share Posted March 24, 2024 The main vulnerabilities are to be found in the modules. PrestaShop isn't perfect, and their choice to switch to a structure based on external components, all independent but over-interdependent, can also lead to more vulnerabilities linked to code that isn't supported by PrestaShop. All modern projects are in this form, and all have the same worries: tracking each piece of code, security risks, compatibility with version upgrades for this or that component. It's complex and seems difficult to maintain, even though it's precisely to justify the maintainability of the code that these components are used. The community is working to improve things, for example with https://security.friendsofpresta.org/. Addons will soon be stepping up quality controls on module code and charging contributors for this testing overload, so the Addons module catalog will shrink and, above all, prices will rise to compensate for this burden. All this will rationalize the sector and also improve the security of modules on the platform. The perverse effect of this choice is that many modules will disappear, and it will be necessary to search for them on each developer's site, risking less control and less revenue for PrestaShop in the long term. 2 1 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