AcidLava Posted August 9 Share Posted August 9 Hello, When updating via Click Upgrade from Presta 1.7.3 to 1.7.8.11, I encounter the following error as soon as it reaches "All files upgraded. Now upgrading database...": [INTERNAL] /home/bfuymqx/www/vendor/symfony/symfony/src/Symfony/Component/Config/Loader/FileLoader.php line 168 - Symfony\Component\Config\Exception\FileLoaderLoadException: Expected to find class "PrestaShopBundle\Controller\Admin\Configure\index" in file "/home/bfuymqx/www/src/PrestaShopBundle/Controller/Admin/Configure/index.php" while importing services from resource "/home/bfuymqx/www/app/../src/PrestaShopBundle/Controller/*", but it was not found! Check the namespace prefix used with the resource in /home/bfuymqx/www/app/config/config.yml (which is being imported from "/home/bfuymqx/www/app/config/config_prod.yml"). #0 /home/bfuymqx/www/vendor/symfony/symfony/src/Symfony/Component/Config/Loader/FileLoader.php(90): Symfony\Component\Config\Loader\FileLoader->doImport('/home/bfuymqx/w...', NULL, false, '/home/bfuymqx/w...') #1 /home/bfuymqx/www/vendor/symfony/symfony/src/Symfony/Component/DependencyInjection/Loader/YamlFileLoader.php(195): Symfony\Component\Config\Loader\FileLoader->import('config.yml', NULL, false, '/home/bfuymqx/w...') #2 /home/bfuymqx/www/vendor/symfony/symfony/src/Symfony/Component/DependencyInjection/Loader/YamlFileLoader.php(127): Symfony\Component\DependencyInjection\Loader\YamlFileLoader->parseImports(Array, '/home/bfuymqx/w...') #3 /home/bfuymqx/www/vendor/symfony/symfony/src/Symfony/Component/Config/Loader/DelegatingLoader.php(40): Symfony\Component\DependencyInjection\Loader\YamlFileLoader->load('/home/bfuymqx/w...', NULL) #4 /home/bfuymqx/www/app/AppKernel.php(150): Symfony\Component\Config\Loader\DelegatingLoader->load('/home/bfuymqx/w...') #5 /home/bfuymqx/www/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/Kernel.php(776): AppKernel->registerContainerConfiguration(Object(Symfony\Component\Config\Loader\DelegatingLoader)) #6 /home/bfuymqx/www/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/Kernel.php(642): Symfony\Component\HttpKernel\Kernel->buildContainer() #7 /home/bfuymqx/www/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/Kernel.php(135): Symfony\Component\HttpKernel\Kernel->initializeContainer() #8 /home/bfuymqx/www/modules/autoupgrade/classes/UpgradeTools/SymfonyAdapter.php(67): Symfony\Component\HttpKernel\Kernel->boot() #9 /home/bfuymqx/www/modules/autoupgrade/classes/UpgradeTools/CoreUpgrader/CoreUpgrader17.php(43): PrestaShop\Module\AutoUpgrade\UpgradeTools\SymfonyAdapter->initKernel() #10 /home/bfuymqx/www/modules/autoupgrade/classes/UpgradeTools/CoreUpgrader/CoreUpgrader.php(102): PrestaShop\Module\AutoUpgrade\UpgradeTools\CoreUpgrader\CoreUpgrader17->initConstants() #11 /home/bfuymqx/www/modules/autoupgrade/classes/Task/Upgrade/UpgradeDb.php(45): PrestaShop\Module\AutoUpgrade\UpgradeTools\CoreUpgrader\CoreUpgrader->doUpgrade() #12 /home/bfuymqx/www/modules/autoupgrade/classes/Task/Runner/ChainedTasks.php(61): PrestaShop\Module\AutoUpgrade\Task\Upgrade\UpgradeDb->run() #13 /home/bfuymqx/www/admin/autoupgrade/ajax-upgradetab.php(54): PrestaShop\Module\AutoUpgrade\Task\Runner\ChainedTasks->run() #14 {main} Thanks ! Link to comment Share on other sites More sharing options...
AcidLava Posted August 14 Author Share Posted August 14 Up Link to comment Share on other sites More sharing options...
AcidLava Posted September 6 Author Share Posted September 6 Anybody? Link to comment Share on other sites More sharing options...
luisleitaoaudio Posted September 10 Share Posted September 10 Your system work after upgrade? Link to comment Share on other sites More sharing options...
AcidLava Posted September 10 Author Share Posted September 10 No, the error appears just when the database upgrade start. Link to comment Share on other sites More sharing options...
luisleitaoaudio Posted September 10 Share Posted September 10 looks to me it's all ok , some function try search by other classes but not found, if your system it's ok looks to me all it's ok! Link to comment Share on other sites More sharing options...
luisleitaoaudio Posted September 10 Share Posted September 10 And error it's from preview version not new Link to comment Share on other sites More sharing options...
AcidLava Posted September 10 Author Share Posted September 10 Well the upgrade stops as soon as this error appears, so database is not upgraded. Link to comment Share on other sites More sharing options...
luisleitaoaudio Posted September 10 Share Posted September 10 haaa ok so you can restore old version ? Link to comment Share on other sites More sharing options...
AcidLava Posted September 10 Author Share Posted September 10 Yes I can, but still looking for a way to do this upgrade. Link to comment Share on other sites More sharing options...
luisleitaoaudio Posted September 10 Share Posted September 10 please can I see file /home/bfuymqx/www/app/config/config.yml ? Link to comment Share on other sites More sharing options...
AcidLava Posted September 10 Author Share Posted September 10 Sure, here in screenshot because I get blocked if I copy paste. Link to comment Share on other sites More sharing options...
AcidLava Posted September 11 Author Share Posted September 11 Up Link to comment Share on other sites More sharing options...
Nickz Posted September 11 Share Posted September 11 On 8/9/2024 at 11:40 AM, AcidLava said: while importing services from resource "/home/bfuymqx/www/app/../src/PrestaShopBundle/Controller/*", but it was not found! How are the permissions set? Read thru this it might get you on the right track although is for a different system: https://processwire.com/talk/topic/28128-solved-can-php-8-upgrade-cause-problems-with-folder-ownershippermissions/ Link to comment Share on other sites More sharing options...
AcidLava Posted September 11 Author Share Posted September 11 Hi, 755 and 644. 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