Hi Chris,

thanks for the tips. It turned out the problem was in the model definition
and table relations. I had a relation with name 'Name', but the actual table
I built my relation on has another name. In such a case the property
'className' should be modified accordingly.

Best regards,
Vadim

On 12 March 2010 15:26, Bailey <baileys...@gmail.com> wrote:

> Hi Vadim.. i'm still learning cake and have had a similar error to
> this.. some things to do / check:
>
> *Permissions on the user to those database tables / database (does it
> have create / read access)
> *Tables following cake naming format, i.e. Model = Test, Table = Tests
> *Try clearing the cache in /app/tmp/cache/ for the specific tables
>
> Do you get this error with an unbaked model? be interesting to know..
> personally i've never used the bakery facility  so i'm not entirely
> sure if theres any differences..
>
> Hope this helps a bit,
> Chris
>
> On Mar 12, 2:05 pm, Vadim Frolov <fra...@gmail.com> wrote:
> > Hi there!
> >
> > I am stuck with this strange problem. I installed CakePHP 1.2.6, database
> > connection is OK. I baked some models, controllers, view, e.t.c. Then I
> go
> > tohttp://localhost/cake/usersand get the error "Database table names for
> > model Name was not found.". I get this error with any baked model.
> >
> > If I change database.php and broke the MySQL connection, then I get the
> > error with the correct model and table name.
> >
> > Maybe someone had such a problem before?
> >
> > Thanks,
> > Vadim Frolov.
>
> Check out the new CakePHP Questions site http://cakeqs.org and help others
> with their CakePHP related questions.
>
> 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+unsubscr...@googlegroups.com<cake-php%2bunsubscr...@googlegroups.com>For
>  more options, visit this group at
> http://groups.google.com/group/cake-php?hl=en
>

Check out the new CakePHP Questions site http://cakeqs.org and help others with 
their CakePHP related questions.

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+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en

Reply via email to