[Typo3-dev] DAM

Peter Niederlag niederlag at ikd01.de
Thu Oct 21 21:35:43 CEST 2004


Hi,

Wolfgang Klinger schrieb:
>  *hiya!*
> 
>  On Wed, 20 Oct 2004, ben van 't ende [netcreators] wrote the following:
> 
>>You have an error in your SQL syntax near ')) AND NOT tx_dam.deleted' at 
>>line 8
>>Warning: mysql_fetch_row(): supplied argument is not a valid MySQL 
>>result resource in /home/httpd/typo3_src-3.7.0/t3lib/class.t3lib_db.php 
>>on line 736
> 
> 
>  that's not very meaningful ;-) the quintessence (the sql statement) is
>  missing...
> 
> 
>>Any idea how to fix this?
> 
> 
>  ... but you can output that with setting 
> ----
> $GLOBALS['TYPO3_DB']->debugOutput = TRUE;
> ----
>  in the extension/plugin...
>  and then someone might be able to help...

That's why I suggested to set this in class.t3lib_db.php ;)
Come on ben, you can do that, can't you? It's not really script-hacking. ;)
Myself I found this very nice on my development-server, cause whenever 
there is a problematic sql-statement I do get instant infos about it.

Cheers,
Peter

P.S.: Volker's suggestion sounds very likely to me...




More information about the TYPO3-dev mailing list