Thursday, July 5, 2012

Fresh Bake

Using 2.1.3 and created DB ran the bake console and I end up with

 

Missing Method in AppController

Error: The action index is not defined in controller AppController

Error: Create AppController::index() in file: app\Controller\AppController.php.

<?php

class AppController extends AppController {

 

 

        public function index() {

 

        }

 

}

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

When I used 1.3.x versions I got the welcome screen a;; coded / css correct but this is just html no styles no access to any controllers it just says createAppController which is in my Controller folder where as in 1.3.xx it was in the main app folder along with app_model, App_helper and so on. Where did I go wrong?

No comments: