Jump to content

Module Controller redirects to 404 Prestashop 1.6

Recommended Posts



I am new in module developpement , i get error when creating  module view  .


my frontcontroller is :


class PrcustomeropinionDefaultModuleFrontController extends ModuleFrontController{
      public function init()
         $this->page_name = 'opinion'; // page_name and body id
         $this->display_column_left = true;
         $this->display_column_right = true;

      public function initContent()






my default.tpl is in views/templates/front folder but i get 404 error (page not found ) when executing my controller 


I have added my module page in Preferences/SEO & URL  in backoffice but the problem persist 


 the cache is cleared 


PLease, i need your help !!

Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Create New...