[TYPO3-mvc] blank page while debugging extbase/fluid objects

typo3 at litedesigns.nl typo3 at litedesigns.nl
Fri May 4 15:20:08 CEST 2012


Hi,

Extbase has a nice Debugger class built in, try this for debugging larger
objects:

Tx_Extbase_Utility_Debugger::var_dump($variable)

Kind regards,
Tim


> I found this sometimes, debug in fluid or in my controller would just
> cause
> a white page to be shown, or th epage would timeout.
>
> I found to get round this that I had to debug just one property at a time,
> the ones that I was interested in seeing.
>
>
> "Frank Gerards" <F.Gerards at esolut.de> schrieb im Newsbeitrag
> news:mailman.727.1336118517.556.typo3-project-typo3v4mvc at lists.typo3.org...
> Hi,
>
>
>
> with TYPO3 4.6 I get a blank page every time I try to debug the result
> of a $this-><repository>->findAll(); call,
>
> be it in the controller or in the fluid view. I'm aware that I cannot
> debug directly the extbase model-objects returned by the findAll in the
> controller without a ->toArray() assignment, but in the fluid view a
> <f:debug> {myResultObj}</f:debug> has to work, hasn't it ?
>
>
>
> I also tried to to a <for each...> loop and <f:debug> each loop-item but
> there is also a blank page in the frontend with nothing in it.
>
>
>
> Anybody has encountered similar behavior ?
>
>
>
> Thx 4 info,
>
> Frank
>
>
> _______________________________________________
> TYPO3-project-typo3v4mvc mailing list
> TYPO3-project-typo3v4mvc at lists.typo3.org
> http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-project-typo3v4mvc
>




More information about the TYPO3-project-typo3v4mvc mailing list