Jump to content

Back Office Menu Tabs are Controller Not Found


Recommended Posts

I created additional entry for the backoffice menu tab for my module. Everything is fine until I clicked the tab which is supposed to redirect me to a certain page. I got errors like:

 

The controller MyModule is missing or invalid.

 

and

 

Fatal error: Class 'MyModule ' not found in C:\wamp\www\prestashop\classes\controller\Controller.php on line 128

 

 

I placed my controller in the mymodule/controller/admin/ inside my module folder but it doesn't seem to read it right. My question is how does the back office tab MVC works and how can I connect the controller to the tab? 

 

Thanks.

Link to comment
Share on other sites

×
×
  • Create New...