Love Fuel?    Donate

FuelPHP Forums

Ask your question about FuelPHP in the appropriate forum, or help others by answering their questions.
Can not setup Modules view to work
  • I have just start fuelphp few days ago and want to create modules named "Hello"
    I put its view inside it but can not get it to work
    the output says "Fuel\Core\FuelException [ Error ]: The requested view could not be found: hello/index"

    what wrong with my modules?

    namespace Hello;
    class Controller_Hello extends \Controller
        public function action_index()
            return \Response::forge(\View::forge('hello/index'));

    return array(
        'module_paths' => array(
            APPPATH.'modules'.DS        // path to application modules

    return array(
        '_root_'  => 'hello/index',  // The default route
        '_404_'   => 'welcome/404',    // The main 404 route

    here is the module controller and view if anyone want to check
  • Answer to my question
    it is because I name the "views" as "view" so it can not find

Howdy, Stranger!

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

In this Discussion

  • Lee January 2013