JAacob Posted October 18, 2023 Share Posted October 18, 2023 Hey, could you help me please. I have problém after update from 1.7 to 8.1.1. I can't install or update any module via prestashop. when I click on update module there is some problem "Could not perform action update for module undefined" Could you help me with that please Information about server: Informace o serveru: Linux #180-Ubuntu SMP Tue Sep 5 13:21:23 UTC 2023 x86_64 Verze software serveru: Apache Verze PHP: 8.1.24 Limit paměti: 768M Max. doba provádění: 10000 Max. velikost nahraného souboru: 256M I see some missing file: Chybějící soubory (7) vendor/composer/installers/phpstan.neon.dist vendor/composer/installers/src/Composer/Installers/MiaoxingInstaller.php vendor/composer/installers/src/Composer/Installers/WinterInstaller.php vendor/composer/installers/src/Composer/Installers/TastyIgniterInstaller.php vendor/composer/installers/src/Composer/Installers/ProcessWireInstaller.php vendor/composer/installers/src/Composer/Installers/StarbugInstaller.php vendor/composer/installers/src/Composer/Installers/PantheonInstaller.php Aktualizované soubory (22) LICENSES composer.lock app/config/doctrine.yml classes/Context.php config/defines.inc.php src/PrestaShopBundle/Install/Install.php src/PrestaShopBundle/Translation/Loader/SqlTranslationLoader.php vendor/composer/ClassLoader.php vendor/composer/installed.json vendor/composer/autoload_static.php vendor/composer/autoload_classmap.php vendor/composer/installed.php vendor/composer/installers/src/Composer/Installers/TaoInstaller.php vendor/composer/installers/src/Composer/Installers/SyDESInstaller.php vendor/composer/installers/src/Composer/Installers/MauticInstaller.php vendor/composer/installers/src/Composer/Installers/Installer.php vendor/composer/installers/src/Composer/Installers/MoodleInstaller.php vendor/composer/installers/src/Composer/Installers/OxidInstaller.php vendor/composer/installers/src/Composer/Installers/BaseInstaller.php vendor/composer/installers/src/Composer/Installers/CakePHPInstaller.php vendor/composer/installers/src/Composer/Installers/CockpitInstaller.php vendor/composer/installers/src/Composer/Installers/OctoberInstaller.php Link to comment Share on other sites More sharing options...
Nickz Posted October 18, 2023 Share Posted October 18, 2023 3 hours ago, JAacob said: I have problém after update from 1.7 to 8.1.1. I can't install or update any module via prestashop. Do you still have those files to restore the old version? Most of the time due to updates a few modules won't work. Link to comment Share on other sites More sharing options...
musicmaster Posted October 20, 2023 Share Posted October 20, 2023 On 10/18/2023 at 9:45 PM, JAacob said: Hey, could you help me please. I have problém after update from 1.7 to 8.1.1. I can't install or update any module via prestashop. when I click on update module there is some problem "Could not perform action update for module undefined" Could you help me with that please Information about server: Informace o serveru: Linux #180-Ubuntu SMP Tue Sep 5 13:21:23 UTC 2023 x86_64 Verze software serveru: Apache Verze PHP: 8.1.24 Limit paměti: 768M Max. doba provádění: 10000 Max. velikost nahraného souboru: 256M I see some missing file: Chybějící soubory (7) vendor/composer/installers/phpstan.neon.dist vendor/composer/installers/src/Composer/Installers/MiaoxingInstaller.php vendor/composer/installers/src/Composer/Installers/WinterInstaller.php vendor/composer/installers/src/Composer/Installers/TastyIgniterInstaller.php vendor/composer/installers/src/Composer/Installers/ProcessWireInstaller.php vendor/composer/installers/src/Composer/Installers/StarbugInstaller.php vendor/composer/installers/src/Composer/Installers/PantheonInstaller.php Aktualizované soubory (22) LICENSES composer.lock app/config/doctrine.yml classes/Context.php config/defines.inc.php src/PrestaShopBundle/Install/Install.php src/PrestaShopBundle/Translation/Loader/SqlTranslationLoader.php vendor/composer/ClassLoader.php vendor/composer/installed.json vendor/composer/autoload_static.php vendor/composer/autoload_classmap.php vendor/composer/installed.php vendor/composer/installers/src/Composer/Installers/TaoInstaller.php vendor/composer/installers/src/Composer/Installers/SyDESInstaller.php vendor/composer/installers/src/Composer/Installers/MauticInstaller.php vendor/composer/installers/src/Composer/Installers/Installer.php vendor/composer/installers/src/Composer/Installers/MoodleInstaller.php vendor/composer/installers/src/Composer/Installers/OxidInstaller.php vendor/composer/installers/src/Composer/Installers/BaseInstaller.php vendor/composer/installers/src/Composer/Installers/CakePHPInstaller.php vendor/composer/installers/src/Composer/Installers/CockpitInstaller.php vendor/composer/installers/src/Composer/Installers/OctoberInstaller.php I don't know what caused those missing files. Probably the upgrade crashed and didn't finish. The src and vendor directories can easily be copied from a fresh installation of the same Prestashop. But files like app/config/doctrine.yml and config/defines.inc.php are missing too and that suggests that the upgrade didn't finish correctly and that there may be problems in the database too. So if you have a backup and can go back I would suggest that you go back to the old version. Otherwise you can try to fix it with files from a fresh installation. A final option is to do a manual upgrade or use my tool Copy_shopdata. But whatever you do: make a backup of both the files and the database first! 1 Link to comment Share on other sites More sharing options...
JAacob Posted October 21, 2023 Author Share Posted October 21, 2023 I fix it but I Don't know why. Now I can install modul's but I don't know why is y prestashop Too slow. Link to comment Share on other sites More sharing options...
musicmaster Posted October 25, 2023 Share Posted October 25, 2023 Check speeds issues with profiling: https://dh42.com/blog/prestashop-debug-profiling/ 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