default controller routes

edited December 2017 in News & Announcements
hi ,
I installed the last version of fuelcms
and I encountered a problem:
I put default_controller = 'home' always shows me 404

Comments

  • edited 5:45PM
    Do you have a controller in fuel/application/controllers/Home.php?
  • edited December 2017
    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
    Cordialement.
  • edited 5:45PM
    For it to find your homepage in the CMS, the default_controller value must stay as "fuel/page_router".
  • edited December 2017
    $route['default_controller'] = 'home';
    $route['404_override'] = 'fuel/page_router';
    and my dashboard contains this page home
  • edited 5:45PM
    When you say dashboard, do you mean the Fuel dashboard or your own homepage that has a controller at fuel/application/controllers/Home.php?
  • edited 5:45PM
    Thank you. finally I found the solution
    this line of code that disturbs me
    $ This-> fuel-> pages-> render
  • edited 5:45PM
    hello admin,
    I met a problem with the function filters (), it lists all the table elements
    always the new version fuelcms
    thank you
Sign In or Register to comment.