Maybe a search for "Subject" on files in your app folder? Maybe you should try to bake with a plain new application, generated with cake bake app-name or just a new unpacked CakePHP.
I also recommend you to use "cake bake all <model name>" so it should generate the model, the controller and the views of the given model. Regards, -- ***Thiago Belem* Desenvolvedor Rio de Janeiro - RJ - Brasil *Assando Sites* - Curso online de *CakePHP* assando-sites.com.br <http://goo.gl/b1EEd> thiagobelem.net [email protected] *Skype / gTalk **»* thiago.belem.web *LinkedIn* *»* br.linkedin.com/in/thiagobelem/pt On Mon, Feb 25, 2013 at 7:39 AM, Paul Wiegers <[email protected]> wrote: > Dear Bakers, > > I'm trying to move a application from Symfony to CakePHP, getting tired of > the way symfony always seems to be getting in the way instead of helping me > out to do stuff quickly. Of course, I read the docs etc, and now I am > trying my first baby-steps in Cake. > > I have a existing database, which of course comes from the symfony-version > of my app. > > Now, I am trying to bake the CRUD for the database, just to see if things > can work out without too much changes. > > I ran > > php bake model all > php bake controller all > > without much trouble, and magic appears to be happening. But with bake > view all, I hit a snag: > > Error: Table subjects for model Subject was not found in datasource > default. > > The strange thing is: I have no Subject model (as far as I can see..) I > sure don't have a table called subject, I don't even have a field called > subject. Why is cake thinking I want a subject? I don't want a subject! > :-))) > > My question: how can I find out where this Subject is comming from? > > BTW: I used the cake oAuth-app as groundwork for this app, as I want to > use oAuth. > > thanks for any light on this :) > > Paul > > -- > Like Us on FaceBook https://www.facebook.com/CakePHP > Find us on Twitter http://twitter.com/CakePHP > > --- > You received this message because you are subscribed to the Google Groups > "CakePHP" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To post to this group, send email to [email protected]. > Visit this group at http://groups.google.com/group/cake-php?hl=en. > For more options, visit https://groups.google.com/groups/opt_out. > > > -- Like Us on FaceBook https://www.facebook.com/CakePHP Find us on Twitter http://twitter.com/CakePHP --- You received this message because you are subscribed to the Google Groups "CakePHP" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/cake-php?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
