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 this error:

Fatal error: Allowed memory size of 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 correct error in 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 [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