I'm new to Cake and I've been following the blog tutorial.  Everything
seems to work fine as I've been able to view and delete posts.
However, nothing happens when I click 'Save' on the form page for edit
or add post.  (I just get the form back.)

I couldn't find any error in my code, so I trimmed everything down to
just the scaffold, but adding and editing still didn't work!  I set the
DEBUG level to 3, and this is the SQL query when I click 'Save' on the
Edit form page:

SELECT COUNT(*) AS count FROM `posts` WHERE (`id` = 2)

And there's no SQL query shown when I click 'Save' on the Add post form
page.

Any suggestion on what's going on?

For completeness, I'm using PHP5 with Apache on Windows XP.  Now my
posts_controller.php file just uses the scaffold:

<?php
class PostsController  extends AppController
{
        var $scaffold;
}
?>

And my post.php is

<?php

class Post extends AppModel
{
        var $name = 'Post';
}

?>


--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to