White Lion Posted May 10, 2020 Share Posted May 10, 2020 (edited) My PrestaShop v 1.7.4.2 Both servers from same hosting provider and they done migration. After migrate a server I got HTTP ERROR 500 Front office and back office are not working. Then I enabled error reports using defines.inc.php After ('_PS_MODE_DEV_', false); Replace it with: define('_PS_MODE_DEV_', true); showing this error report Fatal error: Uncaught Error: Class 'PrestaShop\PrestaShop\Core\ContainerBuilder' not found in /home/..../public_html/config/bootstrap.php:34 Stack trace: #0 /home/..../public_html/config/config.inc.php(57): require_once() #1 /home/..../public_html/index.php(27): require('/home/..../p...') #2 {main} thrown in /home/..../public_html/config/bootstrap.php on line 34 Edited May 10, 2020 by White Lion Highlight Error Report (see edit history) Link to comment Share on other sites More sharing options...
White Lion Posted May 10, 2020 Author Share Posted May 10, 2020 (edited) I tried : https://stackoverflow.com/a/21796530 Here is the report Fatal error: Uncaught Error: Class 'PrestaShop\PrestaShop\Core\ContainerBuilder' not found in /home/.../public_html/config/bootstrap.php:34 Stack trace: #0 /home/..../public_html/config/config.inc.php(57): require_once() #1 /home/..../public_html/index.php(60): require('/home/..../p...') #2 {main} thrown in /home/..../public_html/config/bootstrap.php on line 34 Edited May 10, 2020 by White Lion Highlight error report (see edit history) Link to comment Share on other sites More sharing options...
White Lion Posted May 10, 2020 Author Share Posted May 10, 2020 I've upload phppsinfo.php and here is the result page Link to comment Share on other sites More sharing options...
White Lion Posted May 10, 2020 Author Share Posted May 10, 2020 1. Ive Try to rename /var/cache to /var/cache_old 2. I deleted the folder cache / class_index.php but is it is not worked to me. Link to comment Share on other sites More sharing options...
Johan G Posted May 11, 2020 Share Posted May 11, 2020 I have the same problem and am also looking for a solution. I think it has to do with the Mysqli version. What was the mysqli version on the previous server? Link to comment Share on other sites More sharing options...
White Lion Posted May 12, 2020 Author Share Posted May 12, 2020 They said they set same. They migration another Prestashop site from old server to new server and its working correctly. That is running on PrestaShop™ 1.6.0.14 Only issue with PrestaShop v 1.7.4.2 running website. Link to comment Share on other sites More sharing options...
Johan G Posted May 12, 2020 Share Posted May 12, 2020 (edited) True, 1.6 no problem at all. A fresh installation with 1.7 also no problem. Only a migration from server with Prestashop 1.7 causes problems. What I determine. With a fresh installation of prestashop 1.7 (on a server with msqlnd) ,these drivers are automatically installed and the datebase is linked without errors. This must be done manually during a migration ( server with musqli 5.x). PHP files must be modified to load appropriate drivers. But ... I have no idea where or how to do this. Edited May 12, 2020 by Johan G (see edit history) Link to comment Share on other sites More sharing options...
White Lion Posted May 13, 2020 Author Share Posted May 13, 2020 (edited) @ Johan G PS 1.6 is better than 1.7 I did not face any server migration issues with PS 1.6 Edited May 13, 2020 by White Lion typing mistake correction (see edit history) Link to comment Share on other sites More sharing options...
NeroAdvents Posted September 30, 2020 Share Posted September 30, 2020 Hi, Did you manage to solve your issue ? I encountered this issue after installing a new package with composer. Need Help pls ! Link to comment Share on other sites More sharing options...
White Lion Posted September 30, 2020 Author Share Posted September 30, 2020 Hello @ NeroAdvents Yes. I solve the issue. I've contacted web development agency and they fix it. Link to comment Share on other sites More sharing options...
Thegioidogiadung Posted October 1, 2020 Share Posted October 1, 2020 Hi we had the same problem and got support of host provider to solve Link to comment Share on other sites More sharing options...
Tomacoulli Posted March 13, 2022 Share Posted March 13, 2022 Hello, I've the same problem, i don't know how to fix it. Do you have any tips for me ? Quote Fatal error: Uncaught Error: Class 'PrestaShop\PrestaShop\Core\ContainerBuilder' not found in /home/fibreoy/www/config/bootstrap.php:34 Stack trace: #0 /home/fibreoy/www/config/config.inc.php(57): require_once() #1 /home/fibreoy/www/admin6411/index.php(42): require('/home/fibreoy/w...') #2 {main} thrown in /home/fibreoy/www/config/bootstrap.php on line 34 Thanks Best regards 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