Re: Bake, Missing database table error.

2010-08-04 Thread Staple
I have a similar thing..see below - I am unsure where it is getting "Customer" from - the intention is that a "Business" can have many "Business Customers" ... any help much appreciated..I am learning Cakephp and it is fantastic. Bake All ---

Re: Bake, Missing database table error.

2010-07-05 Thread Jeremy Burns | Class Outfit
It is assuming that ApplicantsGuardian is part of a $hasAndBelongsToMany relationship between Applicants and Guardians. Rename it ApplicantGuardian and try again. Sent from my iPad On 5 Jul 2010, at 10:58, Sid wrote: > Hi, > > I am trying to bake the models, controller and views based on som

Bake, Missing database table error.

2010-07-05 Thread Sid
Hi, I am trying to bake the models, controller and views based on some tables I have created in a MySQL database. I have followed CakePHP's table naming conventions, ie named the tables in their plural form. However when I try bake all, it works for some tables but it is giving a weird error for s

Re: Missing Database Table error

2010-06-11 Thread Andrew
d the model be UsersVote or UserVote. Do both parts get singularized? > > > > In any case, your issue still seems to be with naming conventions. > > > > - Ed > > > > On Fri, Jun 11, 2010 at 5:43 PM, Jonathon Musters > > > wrote: > > > > &

Re: Missing Database Table error

2010-06-11 Thread Andrew
table should be called UsersVotes. No underscore. > > > > On 6/11/10, Andrew wrote: > > > > Hello all, > > > > > I've been using cakephp for a few months now and I love it!! I must > > > > admit I am still getting used to some of the co

Re: Missing Database Table error

2010-06-11 Thread Dima
, Andrew wrote: > > > Hello all, > > > > I've been using cakephp for a few months now and I love it!! I must > > > admit I am still getting used to some of the concepts. At the moment > > > I'm trying to add a database bridging table for a Ha

Re: Missing Database Table error

2010-06-11 Thread Ed Propsner
must > > admit I am still getting used to some of the concepts. At the moment > > I'm trying to add a database bridging table for a HasAndBelongsToMany > > Model. My three models involved are Users, Votes and Users_Votes. > > > > So when I call the view /users

Re: Missing Database Table error

2010-06-11 Thread Jonathon Musters
a database bridging table for a HasAndBelongsToMany > Model. My three models involved are Users, Votes and Users_Votes. > > So when I call the view /users_votes/create/ I get the error message > > > Missing Database Table > Error: Database table user_votes for model UserVote was

Missing Database Table error

2010-06-11 Thread Andrew
So when I call the view /users_votes/create/ I get the error message Missing Database Table Error: Database table user_votes for model UserVote was not found. Notice: If you want to customize this error message, create app/views/ errors/missing_table.ctp I am using Cakephp 1.3. - My database

Re: Missing Database Table Error

2009-08-17 Thread brian
wrong. > > Missing Database Table > > Error: Database table artists_comics for model ArtistsComic was not found. > -- > View this message in context: > http://www.nabble.com/Missing-Database-Table--Error-tp25015550p25015550.html >

Missing Database Table Error

2009-08-17 Thread fightinggeek
I get this error when I try to load the scaffold view. I have tables called artists and comics in the comic database and models call artist.php and comic.php. i have no idea what I'm doing wrong. Missing Database Table Error: Database table artists_comics for model ArtistsComic was not

Re: Missing Database table error: possibly related to model caching

2009-05-28 Thread Miles J
Is the missing table an actual table in the database? Sometimes it throws errors when your model associations are wrong. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send ema

Missing Database table error: possibly related to model caching

2009-05-28 Thread Robert
Hi All, I am having a problem with one of our websites, all of the pages are broken, each one saying that a database table is missing. This is actually a project i have in Subversion, and is the 13th checkout of identical code. All 13 sites use the same database file structure. Upon trying to lau