Tìm kiếm

Missing Method in HomeController

Error: The action detail.php is not defined in controller HomeController

Error: Create HomeController::detail.php() in file: app/Controller/HomeController.php.

<?php
class HomeController extends AppController {


	public function detail.php() {

	}

}

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

Stack Trace

  • CORE/Cake/Routing/Dispatcher.php line 186Controller->invokeAction(CakeRequest)
  • CORE/Cake/Routing/Dispatcher.php line 161Dispatcher->_invoke(HomeController, CakeRequest, CakeResponse)
  • APP/webroot/index.php line 92Dispatcher->dispatch(CakeRequest, CakeResponse)
<iframe width="560" height="315" src="https://www.youtube.com/embed/0JG7Evh7r_M" frameborder="0" allow="accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>