I had this same problem - it appears to be a conflict with PagesController setting the $uses to null. I think. The only way I could define $uses in my app_controller was to comment out the $uses line in PagesController (and I HATE mucking with the core).
However, I then went through the blog_tutorial_2 again (back to basics, folks). And, lo and behold, I found a workaround in the recent post element! Components can be referenced from the app_controller with no problems. So I created a component to build my menu, then referenced it from within the beforeRender function in my app_controller.
Another possibility that I have yet to test is whether you can do the following in app_controller itself rather than in a component:
$Post = new Post;
$data = "">
I'd say that should work, but try before quoting me...
Regards!
- Toby
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---
