Re: Max number of save()'s in a loop

2008-05-08 Thread Kyle Decot
It's now getting anywhere from 2000-2400 loops into it and then I get: Warning (2): Invalid argument supplied for foreach() [CORE/cake/libs/ model/datasources/dbo_source.php, line 544] Warning (2): Invalid argument supplied for foreach() [CORE/cake/libs/ model/datasources/dbo_source.php, line 543

Re: Max number of save()'s in a loop

2008-05-08 Thread Samuel DeVore
http://us3.php.net/manual/en/function.set-time-limit.php reset it every n times through a really long loop if you think that is your issue, each time you set it it rolls the timer back to 0 Sam D On Thu, May 8, 2008 at 4:13 AM, Kyle Decot <[EMAIL PROTECTED]> wrote: > > I'm not sure how to do th

Re: Max number of save()'s in a loop

2008-05-08 Thread Kyle Decot
I'm not sure how to do that. Any suggestions? --~--~-~--~~~---~--~~ 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

Re: Max number of save()'s in a loop

2008-05-08 Thread Dr. Tarique Sani
On Thu, May 8, 2008 at 2:48 PM, Kyle Decot <[EMAIL PROTECTED]> wrote: > > I have a loop that I am running a $this->Word->save() in, and I need > to be able to do the maximum of loops possible but it gets through > about 4000 loops and then just stops. I've instructed the loop to go > until it reac