Thanks I will try them.

The weird thing is I can't reproduce it consistently...I mean it WILL
happen eventually, but WHERE and WHEN it happens is never the same.

By the way, can models have both HABTM and hasMany-Thru relationships
at same time?

On Nov 17, 8:49 am, keymaster <ad...@optionosophy.com> wrote:
> Weird.
>
> Things I might try:
>
> 1. clear all cached files, models, cake core persistent files,  and
> session files in tmp/ then try again
> 2. try with debug off, then turn it back on.
> 3. do you have any weird, unusual inheritance going on in the app,
> with models?
> 4. check your associations
> 5. check your $useTable
> 6. check the schema var to see what cake things your tables look like.
> 7. if you are passing field names to cake in variables, check the
> contents of the variable to see it is not your code.
> 8. Try to reproduce the problem as consistently as you can, then
> simplify to the bone, cut models, associations, etc. to narrow down.
> If you can produce a simple testcase that fails, open a ticket in
> lighthouse.
>
> On Nov 16, 8:45 pm, cricket <zijn.digi...@gmail.com> wrote:
>
> > On Tue, Nov 16, 2010 at 1:37 PM, qua...@gmail.com <qua...@gmail.com> wrote:
> > > I do call Create() before any Save operation. You think I need to do
> > > that even for Read operation?
>
> > Possibly. Are you reading inside a loop? But I won't speculate without
> > seeing more code.

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