Hello,
I'm using cake to develop a great LMS tool.
When I try to use print_r($this) , I don't receive any response,
only a blank page.
Somebody knows if it's a PHP Problem or a Cake Problem ?
Thank's a lot
--~--~-~--~~~---~--~~
You received this message
That should work even though inside a Cake app you should use debug
($this) for some extra features. (like the debug not printing when you
set the app in production mode)
var_dump($this) is another one you can try. If none of them work you
are in trouble :)
On Aug 19, 4:02 pm, Gildonei Mendes
If for some reason the $this variable isn't populated or doesn't exist
(which as Martin said, you are in trouble if this is the case),
print_r won't do anything. Try setting debug to 1 (or 2)...does the
app show anything without print_r($this)?
On Aug 19, 12:38 pm, Martin Westin