Abdulmalik Posted April 16, 2016 Share Posted April 16, 2016 Hi, I'm new to prestashop. Just created for education practices. I'm using 1.5.6.2 because of security issues from the host server. I've removed the default user as recommended then I got this error. I'm not sure what I have to do. Please help me Fatal error: Class 'Controller' not found classes/Dispatcher.php on line341 thanks in advance Link to comment Share on other sites More sharing options...
Abdulmalik Posted April 16, 2016 Author Share Posted April 16, 2016 On 4/16/2016 at 6:21 PM, mdekker said: I'd try reinstalling. Looks like it hasn't been installed correctly. was running correctly, with products and all settings. just after dropping the default customer I got this issue. Is it possible to re-install the application without changing the database? Link to comment Share on other sites More sharing options...
shokinro Posted April 17, 2016 Share Posted April 17, 2016 (edited) @Abdulmalik first of all, just delete a customer should not affect your physical files, it must be something else. have you installed any 3rd party modules recently? it could be some new installed override class caused the issue. you can have a try to following 1. please check if following file does exist, YourStoreRoot/classes/controller/Controller.php 2. please check following file if it exists YourStoreRoot/override/classes/controller/Controller.php if it exists please try to rename it to Controller.php.del, maybe this file is not implemented correctly. 3. try to remove following file to clear the classes index cache YourStoreRoot/cache/class_index.php Edited April 17, 2016 by shokinro (see edit history) 1 Link to comment Share on other sites More sharing options...
Abdulmalik Posted April 17, 2016 Author Share Posted April 17, 2016 On 4/16/2016 at 10:22 PM, mdekker said: Yes, You can try to refresh the core files by copying the folders classes and controllers from a freshly downloaded zip file. I tried to follow Shokinro solution and found no issues then tried your suggestion to copy the new copy of both files then refresh the root directory then I got YourStoreRoot/cache/class_index.php, by deleting this file it worked. Many thanks for your time and your help guys. I can make this as solved, thanks again 1 Link to comment Share on other sites More sharing options...
shokinro Posted April 18, 2016 Share Posted April 18, 2016 good to know the issue is solved, thanks for feedback. 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