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 <martin.westin...@gmail.com> wrote:
> 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 A. (Junior)" <anjol...@gmail.com>
> wrote:
>
>
>
> >   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- Hide quoted text -
>
> - Show quoted text -
--~--~---------~--~----~------------~-------~--~----~
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 to 
cake-php+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to