@Puneet:
While changing the configuration file will work, you must remember to then
change it back when you are done. The simplest solution, IMHO, is to simply
delete the contents of /app/tmp/cache/model, and then cake will simply
re-build the cache, including the new model, and you're all done!

In the name of Life, Liberty, and the pursuit of my sanity.
Siebren Bakker(Aevum Decessus)

On Mon, Jul 14, 2008 at 14:25, puneetratan <[EMAIL PROTECTED]> wrote:

>
> Hello
>
> In the config file of cake php , there is an option for Cake Cache
> true and false, and make it false, and then check
>
> Thanks
> Puneet
>
> On Jul 14, 3:18 pm, Bo ozz <[EMAIL PROTECTED]> wrote:
> > 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