Jump to content
bitsurfer

Backup restore not working - 'Core_Business_ContainerBuilder' not found

Recommended Posts

Hello,

I need to restore my prestashop website from a manual backup of ps_1.6.1.1 (with the same day database backup too).

Before to upload it on the webserver I decided to test it locally (as usually) with MAMP but the backup doesn't not work, it shows a blank page on both the frontend and the backend.

I've added @ini_set('display_errors', 'on'); code on settings.inc.php file to display errors and now the browser shows:

Fatal error: Class 'Core_Business_ContainerBuilder' not found in /Applications/MAMP/htdocs/ps-bk-20151002-test/config/bootstrap.php on line 27

 

Thanks in advance for any help!

 

 

 

 

 

 

 

Share this post


Link to post
Share on other sites

Thank you shaker. 

After removing class_index.php I can now access both the front and the back office but all I see is a kind of basic html visualization.

I've finally asked my hosting provider to directly copy the content from the weekly backup folder to the root and it worked. 

Anyway they said that the folder cache contained to many files/folders and probably accessing by ftp may have been caused timeout problems.

Will try to make a new backup soon (after first cleaning the cache in ps this time) and test it locally to see if it works... I'll keep you updated!

Share this post


Link to post
Share on other sites

ok, looks like a inode problem (too much files) disable cache (the last option in performance) to avoid same issue in the future

Share this post


Link to post
Share on other sites

same error :(

Fatal error: Class 'Core_Business_ContainerBuilder' not found in /var/www/xxx/prestashop/config/bootstrap.php on line 27

 

 

 

cache/class_index.php doesn´t work 

Share this post


Link to post
Share on other sites

Como faço para restaurar o prestashop a partir de um backup.

Fiz o backup e não sei como restaurar. 

Existe a possibilidade de instalar um novo prastashop e recuperar os dados da loja antiga

Share this post


Link to post
Share on other sites

I had the same issue on a page, thank you very much Shaker. This information solved my problem. I deleted the folder cache / class_index.php and everything works. :)

Share this post


Link to post
Share on other sites

Hello,

I have the same error with prestashop 1.7

Where can i find class_index.php file with prestashop 1.7?

Thank you

Share this post


Link to post
Share on other sites

I found the file (app/cache/prod/class_index.php) I deleted but continued to have the same error.

Someone can help me ?

Share this post


Link to post
Share on other sites

I have deleted everything in the cache folder and I still get a 500 error. Is there any other reason why this could be happening? Should I reupload the core files? 

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...

Important Information

Cookies ensure the smooth running of our services. Using these, you accept the use of cookies. Learn More