I had actually deleted the entire app/views/posts directory. I tried adding $name='Posts' in PostsController, and the problem remained :(
I had also figured out earlier (before trimming all the code down to just the scaffold) that $this->Post->save($this->data) in the add() function in PostsController was returning false. Is there any way to get more detailed info on why save() wasn't working? On Oct 31, 7:17 pm, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > Do you still have add.thtml or edit.thtml files in app/views/posts > directory? If so, make sure you delete them. Maybe also try var $name > = 'Posts'; in your PostsController. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
