vanacy Posted June 16, 2016 Share Posted June 16, 2016 (edited) Hi Guys, I have been working on a prestashop 1.5 site, I had successfully uploaded a module yesterday, however now the CMS pages are stating the following: "Test override function" All product and checkout pages work fine, admin area works fine, however when I try and access a CMS page I see a blank white screen with the "Test override function" message on the top left of the page. Could someone help please? Edited June 16, 2016 by vanacy (see edit history) Link to comment Share on other sites More sharing options...
vekia Posted June 16, 2016 Share Posted June 16, 2016 module that you uploaded probably installed an override rleated to CmsController.php (optionally to Cms.php class) - to make it work again, you have to: 1) fix the module2) or remove it with overrides: override/controllers/front/CmsController.pphp override/classes/CmsController.php Link to comment Share on other sites More sharing options...
vanacy Posted June 16, 2016 Author Share Posted June 16, 2016 module that you uploaded probably installed an override rleated to CmsController.php (optionally to Cms.php class) - to make it work again, you have to: 1) fix the module 2) or remove it with overrides: override/controllers/front/CmsController.pphp override/classes/CmsController.php Hi Vekia, Thank you for getting back to me on this. We have removed the module that was implemented however the issue is still occuring. Is there any other modules that would require an override? Link to comment Share on other sites More sharing options...
vekia Posted June 16, 2016 Share Posted June 16, 2016 and waht about these overrides? 2) or remove it with overrides: override/controllers/front/CmsController.pphp override/classes/CmsController.php Link to comment Share on other sites More sharing options...
vanacy Posted June 16, 2016 Author Share Posted June 16, 2016 You were right, the issue was within there! Thank you very much! Is there any way an override could have been forced in there? we did not modify that file when uploading the module to the site. (Sorry for questions, just want to understand how it got in there and how it broke the website.) Link to comment Share on other sites More sharing options...
vanacy Posted June 16, 2016 Author Share Posted June 16, 2016 Bump! Link to comment Share on other sites More sharing options...
rocky Posted June 16, 2016 Share Posted June 16, 2016 When you upload a module with overrides, they are automatically copied to the override directory. That's probably what happened to you. 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