Yep. It was part typo as well as me trying to use it wrong. Thanks for the
help.

~MJG

On Tue, Jul 28, 2009 at 11:31 AM, Grzegorz Pawlik
<[email protected]>wrote:

>
>
> > *Fatal error*: Class 'LocationController' not found in *
> > C:\wamp\www\theinconnu\app\controllers\locationmanager_controller.php* on
> > line *6
>
> It seems You are importing LocationmanagerController (in app::import),
> but
> extending class by LocationController, or making some similar
> mistake.
> Plus, controllers are supposed to be plural, like LocationsController
> instead of LocationController  and so, maybe this is Your typo?
>
> >
> > *So for the parent controller name, do I use 'Location' or
> > 'LocationController'?
> >
> > On Mon, Jul 27, 2009 at 12:31 PM, Graham Weldon <[email protected]
> >wrote:
> >
> >
> >
> > > Try something like:
> >
> > > if (!class_exists('ParentController')) {
> > >     App::import('Controller', 'ParentController');
> > > }
> > > class ChildController extends ParentController {
> > >     // Imeplement controller as normal
> > > }
> >
> > > Cheers,
> >
> > > Graham Weldon
> > > e. [email protected]
> > > p. +61 407 017 293
> > > w.http://grahamweldon.com
> >
> > > On 27/07/2009, at 8:22 PM, Michael Gaiser wrote:
> >
> > > > I want to have my UserAdmin controller inherit from my User
> > > > controller instead of AppController. but it cannot seem to find it.
> > > > Is there a special way to do this in cake or can I just use and
> > > > include statment? Thanks.
> >
> > > > ~MJG
> >
>

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to