default controller routes
  • hi ,
    I installed the last version of fuelcms
    and I encountered a problem:
    I put default_controller = 'home' always shows me 404
  • Do you have a controller in fuel/application/controllers/Home.php?
  • no, I only create (home) it in the management of pages dashboard.

    I found it difficult to use this version is not like the previous version of fuel
  • For it to find your homepage in the CMS, the default_controller value must stay as "fuel/page_router".
  • $route['default_controller'] = 'home';
    $route['404_override'] = 'fuel/page_router';
    and my dashboard contains this page home
  • When you say dashboard, do you mean the Fuel dashboard or your own homepage that has a controller at fuel/application/controllers/Home.php?
  • Thank you. finally I found the solution
    this line of code that disturbs me
    $ This-> fuel-> pages-> render

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!