Jump to content

Fatal error: Class 'FrontControllerCore' not found - blank live shop


Recommended Posts

Hello all, I hope you can help me. 

 

My website is currently a blank page (front and back office) after trying to solve an error. 

 

My first error was adding products to cart: I followed this instruction http://forge.prestashop.com/browse/PSCFI-4900 but thought it would be easier to upload a new 'front controller file' from prestashop.

 

That made my whole website blank. Before that though I backed up my original frontcontroller file. I then re-uploaded my old frontcontroller file but I still have a blank page.

 

Can anyone make a suggestion on how to solve this please?

Edited by pneeds (see edit history)
Link to comment
Share on other sites

Thank you for replying Haylau.

 

I did make a backup on the frontcontroller file only :(:

 

This is the error showing up 

 

Fatal error: Class 'FrontControllerCore' not found in /home1/eniamert/public_html/maroondawta.com/shop/override/classes/FrontController.php on line 55

Edited by pneeds (see edit history)
Link to comment
Share on other sites

OK, beyond me probably, but for others to help

What version of prestashop

What theme ? Default?

That frontcontroller file is very different to mine on 1.6

 

Perhaps you can download the prestshop files again, and upload the faulty ones from there, or ask your hosting provider if they can roll back the site

Link to comment
Share on other sites

what version of Prestashop are we discussing?

 

why do you have an override of the FrontController?

 

did you check that this file exists? (not the override file, but the core class file)

/home1/eniamert/public_html/maroondawta.com/shop/controller/classes/controller/FrontController.php
Link to comment
Share on other sites

OK, beyond me probably, but for others to help

What version of prestashop

What theme ? Default?

That frontcontroller file is very different to mine on 1.6

 

Perhaps you can download the prestshop files again, and upload the faulty ones from there, or ask your hosting provider if they can roll back the site

 

Thanks again haylau,

 

I'm using the latest version of prestashop and the default theme. I have downloaded prestashop file from this website just now and still receiving the same error. I'm just waiting for 'live chat' from my hosting provider - thank you for the suggestion. 

Link to comment
Share on other sites

 

what version of Prestashop are we discussing?

 

why do you have an override of the FrontController?

 

did you check that this file exists? (not the override file, but the core class file)

/home1/eniamert/public_html/maroondawta.com/shop/controller/classes/controller/FrontController.php

Hi Bellini13,

 

Thank you for replying. I'm using the latest prestashop and default theme. 

 

Regarding the 'override' and core class etc... I don't fully understand you. I don't know why I have an 'override file'. I only did one thing... deleted 'frontcontroller.php' and reuploaded. Both my original file and the newly downloaded frontcontroller file from prestashop gives me the same error. 

Link to comment
Share on other sites

please check these paths:

/override/classes/FrontController.php - does it exist?

/classes/controler/FrontController.php - does it exist?

 

remember that unix system are CamelCase, 

 

Thank you for your response Vekia,

 

Yes both file exist in the correct locations and shown as 'CamelCase'.

Link to comment
Share on other sites

note when asked for version, latest is not a good answer, they change...

 

delete this file cache/class_index.php

Thanks for response El Patron,

 

PrestaShop version 1.6.0.11

Shop URL http://maroondawta.com/shop/

Current theme in use default-bootstrap

-----

 

I can now see the storefront and can now log in to the back but this pops up

 

Strict Standards: Declaration of FrontController::displayHeader() should be compatible with that of FrontControllerCore::displayHeader() in/home1/eniamert/public_html/maroondawta.com/shop/override/classes/FrontController.php on line 211

 

Strict Standards: Declaration of FrontController::displayFooter() should be compatible with that of FrontControllerCore::displayFooter() in/home1/eniamert/public_html/maroondawta.com/shop/override/classes/FrontController.php on line 211

 

Warning: Cannot modify header information - headers already sent by (output started at /home1/eniamert/public_html/maroondawta.com/shop/override/classes/FrontController.php:211) in/home1/eniamert/public_html/maroondawta.com/shop/classes/controller/FrontController.php on line 814

 

---

 

Pictures attached with all the errors shown with configuration information. 

post-28219-0-26490000-1422197755_thumb.png

post-28219-0-54177800-1422197762_thumb.png

post-28219-0-11510800-1422197787_thumb.png

Link to comment
Share on other sites

if there is not function loss, then set prestashop debug to false and go test front/back office.

 

also overrides are not part of core prestashop, you have modules that put those overrides into that folder.  you will need to look at them and see which is related module and contact developer. 

 

but none are true errors, i.e. the script continues to execute.

Link to comment
Share on other sites

  • 4 months later...

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