This may be a dumb suggestion, but try removing the "var $name =
'AppController';" line and see if that helps.
It's not correct anyways, or at least seems incorrect to me.
On Sep 29, 11:57 pm, Ryan <[EMAIL PROTECTED]> wrote:
> I am working on a new app and everything was playing nicely until I
> added a simple app_controller.php in order to take advantage of the
> Firecake helper:
>
> <?php
> class AppController extends Controller {
> var $name = 'AppController';
> var $helpers = array('Html', 'Form', 'Javascript', 'Firecake');}
>
> ?>
>
> Now I am getting errors:
>
> Notice (8): Undefined property: ItemsController::$Item [APP/
> controllers/items_controller.php, line 6]
>
> Fatal error: Call to a member function find() on a non-object in /web/
> php/balistik_list_app/app/controllers/items_controller.php on line 6
>
> When I delete app_controller.php everything works again. Any ideas?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"CakePHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---