[Typo3-dev] logout doesn't kill fe session?
Wengrzik, Andreas
Wengrzik at ewr.de
Wed May 12 18:21:02 CEST 2004
Oopps sorry!! Time to finish work this day... :(
There comes the next error,
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;
}
so i´ll write a mail to the developer he should integrate the is_online field in the next release.
It´s better for me and all the other users.
But thanks a lot for your time!!!
Andreas W.
> -----Original Message-----
> From: Martin T. Kutschker
> [mailto:Martin.no5pam.Kutschker at blackbox.n0spam.net]
> Sent: Wednesday, May 12, 2004 6:11 PM
> To: typo3-dev at lists.netfielders.de
> Subject: Re: [Typo3-dev] logout doesn't kill fe session?
>
>
> Wengrzik, Andreas wrote:
> > I´ve got the following error:
> >
> > Parse error: parse error, unexpected T_FOR in
> /home/www/html/typo3conf/ext/cwt_community/pi1/class.tx_cwtcom
> munity_pi1.php on line 1472
> > thats line 1472:
> >
> > $uids_online = $this -> doDatabaseQuery("SELECT
> fe_sessions.ses_userid FROM fe_users, fe_sessions WHERE
> fe_users.uid = fe_sessions.ses_userid AND feusers.is_online
> AND (fe_users.username LIKE '" . $letter . "%' OR
> fe_users.username LIKE '" . strtoupper($letter) . "%')")
>
> Oh come on, there is a missing ;
>
> Masi
>
> _______________________________________________
> Typo3-dev mailing list
> Typo3-dev at lists.netfielders.de
> http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-dev
>
More information about the TYPO3-dev
mailing list