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
---
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
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
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:
>
> > > &
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
, 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
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
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
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
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
>
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
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
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
13 matches
Mail list logo