For the var $name, as far as I'm aware, you can't have a space in it.
So var $name = 'Quick Notes' would be wrong.
It will (probably) fix your problem if you change the above to var
$name = 'QuickNotes';
On Nov 3, 2:14 pm, Sabot <[EMAIL PROTECTED]> wrote:
> Hello bakers, I'm new to cake and trying to build test app for
> training. I'm receiving 'missing controller' error due to some problem
> with naming, despite I've followed cake's naming convention.
>
> I have table called 'quick_notes'
>
> And model 'quick_note.php':
>
> <?php
> class QuickNote extends AppModel
> {
> var $name = 'Quick Note';}
>
> ?>
>
> And controller 'quick_notes_controller.php';
>
> <?php
> class QuickNotesController extends AppController
> {
> var $name = 'Quick Notes';
> var $scaffold;}
>
> ?>
>
> Seems to be ok, yet:
>
> Missing controller
> You are seeing this error because controller QuicknotesController
> could not be found.
> Fatal: Create the class below in file: app\controllers
> \quicknotes_controller.php
>
> <?php
> class QuicknotesController extends AppController {
> var $name = 'Quicknotes';}
>
> ?>
>
> Why is this happening?
>
> Cheers
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake
PHP" 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
-~----------~----~----~----~------~----~------~--~---