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 7:05AM
    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 7:05AM
    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 7:05AM
    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 7:05AM
    Thank you. finally I found the solution
    this line of code that disturbs me
    $ This-> fuel-> pages-> render
  • edited 7:05AM
    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.