[TYPO3-english] output CONTENT.select query in browser

Loek Hilgersom loek at netcoop.nl
Tue Feb 28 23:16:45 CET 2012


The quick and dirty way:
enable sqlDebug in the install tool and make a spelling mistake in your query on 
purpose so you'll get the debug output in the frontend. Make sure your IP is 
included in the devIPmask.

Loek

On 02/28/2012 04:56 PM, Muriel le Pair wrote:
> Hello,
>
> For debugging purposes I would like to see the query performed. So how do I
> output it to a browser?
>
> temp.vartest = CONTENT
> temp.vartest {
> select {
> selectFields = title
> }
> # tried to do it this way, but it doesn't work:
> stdWrap.debugFunc = 2
> }
>
> --
> kind regards,
>
> Muriel le Pair
>


More information about the TYPO3-english mailing list