Hi John

Thanks for the input.

I am using the expects() function for unbinding and have tried unbinding 
all related models.

Have also tried setting recursion to "0" for all models, but no go.

I have a feeling that you are on the right track though, as I did (once) 
get a php error saying that it had consumed all of the allocated RAM.

I will play with that further and see what I can turn up.

Regards,
Langdon



Flipflops wrote:
> 
> Hi Langdon
> 
> My first though is that you need to look at the recursion for your
> model and unbind unnecessary model relationships - by default Cake
> will just pull in masses of related records. You can cut it down by
> first unbinding anything you don't strictly need and then further only
> select the fields you want.
> 
> I've had similar blank screens in situations where PHP has just timed
> out.
> 
> When I am writing SQL I only ever select the fields that I
> specifically want and very rarely use SELECT * FROM - but I think with
> Cake it is too easy just to return all the feilds - I suppose this is
> good for quick prototyping but then I often find myself having to go
> back and optimise.
> 
> The bit of the manual that deals with unbinding is in the model
> section of the manual http://manual.cakephp.org/view/312/models
> 
> John
> 
> > 

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to