On Mar 18, 12:59 pm, "LSL" <[EMAIL PROTECTED]> wrote: > There is no solution? Please, CakePHP seems very cool but this is a > problem... >
There is a solution, but you are not providing enough information for us to help you solve it. Dijize was correct in his instructions provided to you, but something is going wrong with your code. I believe you have a misspelling or misstyped something, or....I dunno....but from the code you gave us: This gives PHP notice and error: Notice: Undefined property: IndexController::$MenuCategory in /var/ www/ app/app_controller.php on line 48 Fatal error: Call to a member function genMenu() on a non-object in / var/www/app/app_controller.php on line 48 I would say that: 1. You're misusing the model because of the first error, remember it would be $this->MenuCategory->findAll(); 2. Also, you're calling genMenu incorrectly, possibly because of the first error. Do not start blaming the tool, until you have no proof it's not yourself to blame.....you were complimenting cakePHP in your first post, don't turn back on that compliment just because you are frustrated. --~--~---------~--~----~------------~-------~--~----~ 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, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~----------~----~----~----~------~----~------~--~---