Thanks a lot for your reply! :-)

I was writing:

class Forum extends AppController {

}

Instead of:

class ForumController extends AppController {

}

That's why I got the fatal error message...


On 20 jul, 12:10, majna <[email protected]> wrote:
> App::import('Controller','Forum');
> class ForumCarController extends ForumController {
>
> }
>
> /app/controllers/forum_car_controller.php
>
> On Jul 20, 11:26 am, jordicakephp <[email protected]> wrote:
>
>
>
> > Hi friends, from Barcelona.
>
> > I've abstracted the functionality of a generic forum in the class
> > ForumContoller because I'm trying to build a hierarchy of controllers.
> > I do this in the next manner:
>
> > I program ForumController, the most generic controller, in /app/
> > controllers. Then, I extend this controller in /controllers; for
> > instance:
>
> > class ForumCar extends ForumController {
>
> > }
>
> > But I get this fatal error!:
>
> > Fatal error: Class 'ForoController' not found in C:\wamp\www\app
> > \controllers\general_abecegramas_controller.php on line 9
>
> > And the problem is that I expect this code to work. Could anyone
> > please walk me through building well a hierarchy of controllers in
> > CakePHP?
>
> > Thanks a lot in advance! :-D- Ocultar texto de la cita -
>
> - Mostrar texto de la cita -
--~--~---------~--~----~------------~-------~--~----~
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