pneeds Posted January 25, 2015 Share Posted January 25, 2015 (edited) 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 January 25, 2015 by pneeds (see edit history) Link to comment Share on other sites More sharing options...
Guest Posted January 25, 2015 Share Posted January 25, 2015 Did you make a back up first? Can you restore the old site? I presume you have cleared all the caches? Link to comment Share on other sites More sharing options...
pneeds Posted January 25, 2015 Author Share Posted January 25, 2015 (edited) 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 January 25, 2015 by pneeds (see edit history) Link to comment Share on other sites More sharing options...
pneeds Posted January 25, 2015 Author Share Posted January 25, 2015 (edited) My frontcontroller file is attached. FrontController.php Edited January 25, 2015 by pneeds (see edit history) Link to comment Share on other sites More sharing options...
Guest Posted January 25, 2015 Share Posted January 25, 2015 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 More sharing options...
bellini13 Posted January 25, 2015 Share Posted January 25, 2015 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 More sharing options...
pneeds Posted January 25, 2015 Author Share Posted January 25, 2015 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 More sharing options...
pneeds Posted January 25, 2015 Author Share Posted January 25, 2015 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 More sharing options...
vekia Posted January 25, 2015 Share Posted January 25, 2015 please check these paths: /override/classes/FrontController.php - does it exist? /classes/controler/FrontController.php - does it exist? remember that unix system are CamelCase, Link to comment Share on other sites More sharing options...
pneeds Posted January 25, 2015 Author Share Posted January 25, 2015 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 More sharing options...
pneeds Posted January 25, 2015 Author Share Posted January 25, 2015 Bump. Can anyone assist me with this please? Link to comment Share on other sites More sharing options...
El Patron Posted January 25, 2015 Share Posted January 25, 2015 note when asked for version, latest is not a good answer, they change... delete this file cache/class_index.php Link to comment Share on other sites More sharing options...
pneeds Posted January 25, 2015 Author Share Posted January 25, 2015 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. Link to comment Share on other sites More sharing options...
El Patron Posted January 25, 2015 Share Posted January 25, 2015 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 More sharing options...
pneeds Posted January 25, 2015 Author Share Posted January 25, 2015 Ok. Thank you very much for your help. Link to comment Share on other sites More sharing options...
jagjeet Posted May 29, 2015 Share Posted May 29, 2015 El Patron Thanks It was really nice and workable solution thanks man 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