Missing Method in EventsController

Error: The action index is not defined in controller EventsController

Error: Create EventsController::index() in file: app/Controller/EventsController.php.

<?php
class EventsController extends AppController {


	public function index() {

	}

}

Notice: If you want to customize this error message, create app/View/Errors/missing_action.ctp

Stack Trace

  • CORE/Cake/Routing/Dispatcher.php line 185Controller->invokeAction(CakeRequest)
  • CORE/Cake/Routing/Dispatcher.php line 160Dispatcher->_invoke(EventsController, CakeRequest, CakeResponse)
  • APP/webroot/index.php line 108Dispatcher->dispatch(CakeRequest, CakeResponse)
Year Five Classroom Display

Year Five Classroom Display