unflatpack Posted September 8, 2013 Share Posted September 8, 2013 Help guys, I am pulling my hair out here (and there aint much left anyway!!) For the last couple of weeks all CMS has stopped working. this is default pages like delivery and anything I create. I can create categories and pages within, admin inteface returns green boxes saying everything ok. When I go to Save and Preview I get a 500 error. This is also true when I try to bind the CMS page in to the Top Horizontal Nav (again I can see the pages in the left hand panel and they move across to the right. Try and look a them and nothing works. CMS has worked originally I havnt modified any of the contents of related modules. I am not sure when it stopped. As it stands I have got this company to spend thousands of pounds on data entry costs to get the shop ready, but as it sells furniture assembly services (a bit wierd I know) It needs lots of content to help the customers make a purchase. No CMS - No Launch !! I have asked for help twicw in the forum and not had 1 response. I have re-uploaded all the modules, php files I can see that have CMS in them but to no avail. Here is the error in full Fatal error: Class 'cmsController' not found in /home/linweb02/u/unflatpack.com/user/htdocs/prestashop/classes/controller/Controller.php on line 128 I have tried googling this. Nothing!! Anyone got any ideas? Cheers Link to comment Share on other sites More sharing options...
vekia Posted September 8, 2013 Share Posted September 8, 2013 does the CmsController.php file exist in this directory: controllers/front/ ? check also file name, unix based OS is CamelCase which mean that filename must be like "CmsCategory.php" Link to comment Share on other sites More sharing options...
unflatpack Posted September 8, 2013 Author Share Posted September 8, 2013 Hi Vekia, thanks for replying. Yes CmsController.php does exist and is correctly cased it also has permissions 604. I have just uploaded a new version from a version of 1.5.4.1 which I downloaded this morning. No effect. the class that the error reports missing has a lower case 'c' at the begining, though I presume this is just the name given when the class is instantiated. Any further thoughts? I know it has nothing to do with the environment as I have ported the site to a new server and the error still exists. It is now running on both. Thanks Link to comment Share on other sites More sharing options...
Marijose Posted September 1, 2014 Share Posted September 1, 2014 (edited) Hi! I have the same issue, any ideas? Version PrestaShop™ 1.6.0.9 When I go to Preferences/CMS this message is shown: Controller not found Back to the previous page Edited September 1, 2014 by Marijose (see edit history) Link to comment Share on other sites More sharing options...
vekia Posted September 1, 2014 Share Posted September 1, 2014 please check if this file exists: controllers/admin/adminCmsController.php Link to comment Share on other sites More sharing options...
Marijose Posted September 1, 2014 Share Posted September 1, 2014 Hi vekia, yes, I have that file. Link to comment Share on other sites More sharing options...
vekia Posted September 1, 2014 Share Posted September 1, 2014 when you try to open preferences > cms page what you see in address bar after &controller= param ? Link to comment Share on other sites More sharing options...
Marijose Posted September 2, 2014 Share Posted September 2, 2014 In the address bar I see my url + "/index.php?controller=AdminCmsContent&token=206841e87a4cbd4057f4d62f4048c029" Link to comment Share on other sites More sharing options...
Marijose Posted September 9, 2014 Share Posted September 9, 2014 Hi! Aany idea on how to fix this issue? Thanks! Link to comment Share on other sites More sharing options...
vekia Posted September 9, 2014 Share Posted September 9, 2014 without possibility to check your shop - im out of ideas case needs a little deeper inspection Link to comment Share on other sites More sharing options...
Marijose Posted September 9, 2014 Share Posted September 9, 2014 Hi Vekia, my shop is http://elcaserioshop.youmedia.es/. Would you like access to backend? Link to comment Share on other sites More sharing options...
sandipchandela Posted September 10, 2014 Share Posted September 10, 2014 Hello I was having same issues. i have just deleted /renamed the AdminCmsController and AdminCmsContentController. Try to re-upload same file seamlessly. Some times Controller file exits but its method not found so it gives error of controller not found. Remove cache folder contents from system. 1 Link to comment Share on other sites More sharing options...
Marijose Posted September 10, 2014 Share Posted September 10, 2014 Hi! Thanks for your response. I've deleted, renamed, both controllers and it still doesn't work. I've also remove cache. I don't know what to do... Link to comment Share on other sites More sharing options...
sandipchandela Posted September 10, 2014 Share Posted September 10, 2014 I think this needs to see in all the coding in controller. Should have to look into admin folder. Link to comment Share on other sites More sharing options...
Pronux Posted October 4, 2014 Share Posted October 4, 2014 (edited) We have/had the same problem. After 2 hours of testing I didn't found the error. We are using a fresh 1.6.0.9 with a leo starshop fashion template (which is a nightmare btw). Here is the temporary workaround I found: File: yourshop\classes\Dispatcher.php Edited October 4, 2014 by Pronux (see edit history) Link to comment Share on other sites More sharing options...
Marijose Posted October 8, 2014 Share Posted October 8, 2014 Hi everybody! After a lot of tests and many, many hours, I've solved this issue. Is simple: I donwloaded the Prestashop files again and I deleted the folder "controllers" and I uploaded the complete folder "controllers" wich was in the new Prestashop files. I hope it work for all of you too. Sandip, thank you so much for helping me with this issue. 1 Link to comment Share on other sites More sharing options...
sandipchandela Posted October 9, 2014 Share Posted October 9, 2014 Hi everybody! After a lot of tests and many, many hours, I've solved this issue. Is simple: I donwloaded the Prestashop files again and I deleted the folder "controllers" and I uploaded the complete folder "controllers" wich was in the new Prestashop files. I hope it work for all of you too. Sandip, thank you so much for helping me with this issue. Always welcome. Just put the text topic to solved. So it will be helpful for others. http://www.prestashop.com/forums/topic/123579-solved-how-can-i-mark-a-topic-as-solved/ Link to comment Share on other sites More sharing options...
Marijose Posted October 9, 2014 Share Posted October 9, 2014 Thank you Sandip. I would like to mark it as solved but I didn't start the conversation. The person who did it is Unflatpack. He/She should do it.Regards. Link to comment Share on other sites More sharing options...
netelie Posted August 12, 2017 Share Posted August 12, 2017 We have/had the same problem. After 2 hours of testing I didn't found the error. We are using a fresh 1.6.0.9 with a leo starshop fashion template (which is a nightmare btw). Here is the temporary workaround I found: File: yourshop\classes\Dispatcher.php quirk.png Thank you for this workaround Pronux. You saved my day! for others having problem with the CMS page, try this. 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