Thursday, April 30, 2009

Re: Missing table for missing model

I had that error as well. Unfortunately I don't specifically remember
how I fixed it other than the things you already tried. I remember it
was definitely something I had put in as custom code, (IE.. walking
through associations in another controller).

The way I found it was using the backtrace of the error message, it
gives you the exit point in your app asking for the session table/
model.

Nick

On Apr 30, 7:08 am, forrestgump <vikhya...@gmail.com> wrote:
> Has no one a solution? :(
>
> On Apr 29, 9:10 pm, forrestgump <vikhya...@gmail.com> wrote:
>
> > Hey Faifas,
> > Yes i have....what is even more amusing is that...i put back the
> > Seasons table, but there is no Mode,View or controller for it(i
> > deleted them)....and the app seems to be running...
>
> > Cheers2u2,
> > Forrestgump
>
> > On Apr 29, 7:42 pm, Aivaras <faifas1...@gmail.com> wrote:
>
> > > Hey,
>
> > > did you remove associations in your other models?
>
> > > Cheers,
> > > Faifas
>
> > > On Wed, Apr 29, 2009 at 17:32, forrestgump <vikhya...@gmail.com> wrote:
>
> > > > hey guys,
> > > >  Iam working on a cakephp app and i ran into this problem, though
> > > > minor it is driving me crazy....
> > > > I had created a complete MVC structure for a "Seasons" module, then i
> > > > voted against it and deleted everything related to it..the
> > > > model,views,controller and the table too...
>
> > > > but, my app now keeps giving me an error
>
> > > > Missing Database Table
> > > > Error: Database table seasons for model Season was not found.
>
> > > > Notice: If you want to customize this error message, create app\views
> > > > \errors\missing_table.ctp
>
> > > > Can someone help me resolve this....I tried deleting the necessary
> > > > files in
> > > > ...\app\tmp\cache\models
> > > > ...\app\tmp\cache\persistent
> > > > but still no change....
>
> > > > Will really appreciate all the help u have to offer..
>
> > > > Regards,
> > > > Forrestgump
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to cake-php+unsubscribe@googlegroups.com
For more options, visit this group at http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

No comments: