Go to localhost/phpmyadmin in your browsers address bar. From there you should see all your database tables created on your localhost. Now open database.php within your Cake app and determine if the database names and users match up. Seems like you might be creating the posts table on the wrong db, or not at all.
On Sep 9, 6:01 pm, new2cakephp <[email protected]> wrote: > Please eloborate..!!! > thanks > > On Sep 9, 8:33 pm, Miles J <[email protected]> wrote: > > > Since your on xampp, does your database information in your config > > file match the database found at localhost/phpmyadmin (or your online > > server)? > > > On Sep 9, 3:47 pm, new2cakephp <[email protected]> wrote: > > > > tried that too..!! > > > I guess there is connection to the database.. > > > but when i check xampp/mysql/data/ > > > I have the database that I have created.. > > > > On Sep 9, 6:38 pm, Miles J <[email protected]> wrote: > > > > > Try putting var $useTable = 'posts'; in your Post model and see what > > > > happens. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "CakePHP" 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?hl=en -~----------~----~----~----~------~----~------~--~---
