Jump to content

HTTP ERROR 500 after transferring site from local to remote


ptrbrn

Recommended Posts

Hello,

I moved a site from local to remote and I see HTTP ERROR 500.

 

This is error_log:


[08-Oct-2017 01:04:49 UTC] PHP Fatal error:  Uncaught Error: Class 'PrestaShop\PrestaShop\Core\ContainerBuilder' not found in /home/uc2d2z9m/public_html/config/bootstrap.php:34

Stack trace:

#0 /home/uc2d2z9m/public_html/config/config.inc.php(58): require_once()

#1 /home/uc2d2z9m/public_html/index.php(27): require('/home/uc2d2z9m/...')

#2 {main}

  thrown in /home/uc2d2z9m/public_html/config/bootstrap.php on line 34


 

How can I delete it?

Thank you

 

Link to comment
Share on other sites

Hi,

I did the whole procedure again.
now I can enter the BO but not in the module section> Error 500
This is error_log :

 

PHP Fatal error:  Class 'StateCore' not found in /home/public_html/classes/PrestaShopAutoload.php(143) : eval()'d code on line 1
[12-Oct-2017 21:28:53 Europe/Rome] PHP Fatal error:  Class 'StateCore' not found in /home/public_html/classes/PrestaShopAutoload.php(143) : eval()'d code on line 1
[12-Oct-2017 21:30:05 Europe/Rome] PHP Fatal error:  Uncaught Error: Class 'State' not found in /home/public_html/classes/controller/FrontController.php:1589
 
someone can help me?
Thank you
Link to comment
Share on other sites

Still sounds like missing files. And once again I recommmend ALWAYS to use a real server also for testing. It's easy to have it setup up the way no normal visitors can get access. When testing on local and then transferring to a remote machine you have always the risk of....

 

- not copying all files

- copy failures

- different setup in terms of PHP versions, PHP settings, database setup, memory

 

All this could be easily avoided.

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...