I got the similar thing, but just in Version 1.2 beta. I never met such errors in version 1.2 pre-beta and all previous versions. I found that these errors occur when some variables, either single variables or array elements, are used in views but they are not well defined. Before, I mean in previous versions, the error may be 'Undefined variable'. There may be more cases these errors occur. If I have time, I may trace where the bug is.
Steve On Mar 13, 5:01 am, boyracerr <[EMAIL PROTECTED]> wrote: > I'm experiencing the same thing, having just updated to the latest > version. This is code that worked fine under the last 1.2 I had > installed. > > This is the latest beta release from CakeForge. > > Any moves towards a resolution for this? I tried using the latest > nightly build also, no luck. > > Ben > > On Mar 12, 6:14 pm, Paul <[EMAIL PROTECTED]> wrote:> I get no fatal error, > but it struggles for a few seconds, then apache > > fails to generate page ( no error message in apache error log or php > > error log ). commenting out the call stops the crash and displays the > > notice for undefined variable. I'm using WAMP 2.0 (apache 2.2, php > > 5.2.5 ) > > > On Jan 21, 1:18 pm, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> > > wrote: > > > > I'm seeing some weird behavior in CakePHP 1.2 that may be a possible > > > bug, and wonder if anyone else can confirm it, or if it's just my > > > server. I'm using the beta download from cakephp.org. Whenever I make > > > a call to a variable in my view that is undefined I get thiserror: > > > > Fatalerror:Allowedmemorysizeof 134217728 bytes exhausted (tried > > > to allocate 58337 bytes) in C:\InstantRails\www\emerge\cake\libs > > > \debugger.php on line 398 > > > > and the parser stops. Line 398 of debugger is in the middle of > > > function __object($var), if I comment out the call to this on lin 364: > > > > //causes some sort of overflow > > > //case 'object': > > > // return get_class($var) . "\n" . > > > $_this->__object($var); > > > > The overflow disappears and I get the correcterrorin my view: > > > Notice (8): Undefined variable: newdasfsd [APP\views\users > > > \index.thtml, line 10] > > > > Can anyone else reproduce this? > > > > Thanks, > > > Dave --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Cake PHP" group. To post to this group, send email to cake-php@googlegroups.com 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 -~----------~----~----~----~------~----~------~--~---