Re: Missing controller - naming error

2007-11-03 Thread Sabot
Works! Thanks for help, just purpose of these $name vars were unclear to me. To be honest, I'm new to cake, frameworks, OO programming, only used to write procedural mess, forgive me my silly questions! =) --~--~-~--~~~---~--~~ You received this message because y

Re: Missing controller - naming error

2007-11-03 Thread Gwoo
You seem to be over thinking things. Controller and Model names are CamelCased, So QuickNotesController, var $name = 'QuickNotes', accessible via http://localhost/cake/quick_notes. This would expect by default a model of QuickNote in models/quick_note.php, with var $name = 'QuickNote' and connecte

Re: Missing controller - naming error

2007-11-03 Thread Sabot
Weird.. I was accessing it through http://localhost/cake/quicknotes and after being enlightened by your post, changed path to http://localhost/cake/quick_notes. Now I get: Missing Database Table No Database table for model Quick_Notes (expected quick__notes), create it first. Please note double

Re: Missing controller - naming error

2007-11-03 Thread Gwoo
are you accessing it with http://localhost/quick_notes? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Cake PHP" group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group

Re: Missing controller - naming error

2007-11-03 Thread Sabot
Thanks for help, however it doesn't work, still same thing. I tried var $name 'QuickNote', 'Quick_Note' and their prular forms. Nobody have idea? Don't tell me you use mono words only ;) On Nov 3, 3:09 pm, MrTufty <[EMAIL PROTECTED]> wrote: > For the var $name, as far as I'm aware, you can't have

Re: Missing controller - naming error

2007-11-03 Thread MrTufty
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 try

Missing controller - naming error

2007-11-03 Thread Sabot
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': And controller 'quick_notes_controll