[Typo3-dev] RC2-dev version
Martin T. Kutschker
Martin.T.Kutschker at blackbox.net
Tue Mar 23 01:26:31 CET 2004
Kasper Skårhøj wrote:
> Hi Folks.
>
> CVS is finally updated and 130.228.0.33/t3dl/src/ is also.
Great!!
I just installed it by moving the dirs around. For some reasons I have
now a misssing field in be_sessions. The column in question is ses_iplock.
Are there more db updates? And how am I supposed to do make them (eg via
the installer)?
BTW, to find the problem I had to add some eror checking/debug code into
t3lib_db.php:
function
exec_SELECTquery($select_fields,$from_table,$where_clause,$groupBy='',$orderBy='',$limit='')
{
$query = $this->SELECTquery(
$select_fields,$from_table,$where_clause,$groupBy,$orderBy,$limit);
$res = mysql_query($query, $this->link);
if ($res === false) echo $query;
if ($this->debugOutput) $this->debug('exec_SELECTquery');
return $res;
}
The echo is obviously bogus. Some kind of logging is required here. It'd
be nice to get some info on the caller. Wasn't there some discussion
lately how the get some trace info in PHP?
Thanx,
Masi
More information about the TYPO3-dev
mailing list