Guest User

Untitled

a guest
May 21st, 2018
65
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.84 KB | None | 0 0
  1. Missing Method in SettingsController
  2.  
  3. Error: The action admin_index is not defined in controller SettingsController
  4.  
  5. Error: Create SettingsController::admin_index() in file: aggropholio/Controller/SettingsController.php.
  6.  
  7. <?php
  8. class SettingsController extends AppController {
  9.  
  10.  
  11. public function admin_index() {
  12.  
  13. }
  14.  
  15. }
  16. Notice: If you want to customize this error message, create aggropholio/View/Errors/missing_action.ctp
  17.  
  18. Stack Trace
  19.  
  20. #0 /Users/Dean/Sites/cakephp/lib/Cake/Routing/Dispatcher.php(107): Controller->invokeAction(Object(CakeRequest))
  21. #1 /Users/Dean/Sites/cakephp/lib/Cake/Routing/Dispatcher.php(89): Dispatcher->_invoke(Object(SettingsController), Object(CakeRequest), Object(CakeResponse))
  22. #2 /Users/Dean/Sites/aggropholio/webroot/index.php(96): Dispatcher->dispatch(Object(CakeRequest), Object(CakeResponse))
  23. #3 {main}
Add Comment
Please, Sign In to add comment