[Typo3-dev] logout doesn't kill fe session?

Daniel Brün dbruen at saltation.de
Thu May 13 09:42:38 CEST 2004


Hi!

> Warning: mysql_fetch_assoc(): supplied argument is not a valid MySQL result resource in /home/www/html/typo3conf/ext/cwt_community/pi1/class.tx_cwtcommunity_pi1.php on line 1899
> 
> line 1899 is:
> 
> function doDatabaseQuery($query)
>     {
>         // Do the query
>         $res = mysql(TYPO3_db, $query);
>         // Preparing result set
>         $rows = array();
>         while ($row = mysql_fetch_assoc($res)) {                  <------------------- this is line 1899
>             $rows[] = $row;
>         }
> 

As the result is not valid your $query probably has some errors. Just 
output it before you actually do it (echo $query). Probably something 
stupid...


Ciao,

Dan.




More information about the TYPO3-dev mailing list