Monday, April 1, 2013

Re: Migration from 1.3 to 2.1 => Some questions

This worked for me. Thanks Matthew!

On Thursday, January 17, 2013 1:05:36 PM UTC-7, Mathew wrote:
Did you add the default routing for Cake to your app's routes.php file? That was something I had to do when migrating from 1.3

Add this to the bottom of your routes.php

/**
 * Load the CakePHP default routes. Only remove this if you do not want to use
 * the built-in default routes.
 */
require CAKE . 'Config' . DS . 'routes.php';


On Thursday, 17 January 2013 06:05:08 UTC-5, heohni wrote:
Hi, 

I used the update script and I get the following error message:

MissingControllerException] Controller class Controller could not be found.
...flags.ctp(8): Object->requestAction('sprachen/getLan...')

The code within the mentioned file is:
$flags = $this->requestAction('sprachen/getLanguages');

I have a Model named Sprachen.php and a Controller called SprachenController.php
class SprachenController extends AppController{

I also checked the AppController to have
App::uses('Controller', 'Controller');
class AppController extends Controller {

What do I have to do now?
Please advice!!

Thanks
Heidi

--
Like Us on FaceBook https://www.facebook.com/CakePHP
Find us on Twitter http://twitter.com/CakePHP
 
---
You received this message because you are subscribed to the Google Groups "CakePHP" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cake-php+unsubscribe@googlegroups.com.
To post to this group, send email to cake-php@googlegroups.com.
Visit this group at http://groups.google.com/group/cake-php?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

No comments: