Cake keeps showing me this error message:

---------------------
Missing Database Table

Error: Database table albums for model Album was not found.

Notice: If you want to customize this error message, create app/views/
errors/missing_table.ctp

------------------

Pretty self-explanatory you would say, but the table does exist!!

I've tried troubleshooting this, but the following code in my model
does show my records in that table:

----------------------
<?php

class Album extends AppModel {
        function Album() {
                mysql_connect('localhost','***','***');
                mysql_select_db('***');
                $result = mysql_query('SELECT * FROM albums');
                print_r(mysql_fetch_assoc($result));
                die();
        }
    //var $name = 'Album';
        //var $hasMany = array('Foto');
}

?>

--------------------

Any thoughts??

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

Reply via email to