Jump to content

ERROR 500 After server migration - ContainerBuilder not found


White Lion

Recommended Posts

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 by White Lion
Highlight Error Report (see edit history)
Link to comment
Share on other sites

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 by White Lion
Highlight error report (see edit history)
Link to comment
Share on other sites

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

  • 4 months later...
  • 1 year later...

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

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...