Bug #15178
closedCall to undefined function: fetchrow() in dbal/class.ux_t3lib_db.php
0%
Description
I have a working typo3 server, it is actually a copy of our intranet, that I tried to switch over to running via dba, and adodb.
The backend works fine, but the frontpage and some other pages show this error:
Fatal error: Call to undefined function: fetchrow() in /apache/htdocs/typo3conf/ext/dbal/class.ux_t3lib_db.php on line 1253
The adodb is from TER and dbal is current cvs from 1/11-2005.
The relevant content of localconf.php:
$TYPO3_CONF_VARS['EXTCONF']['dbal']['handlerCfg'] = array (
'_DEFAULT' => array (
'type' => 'adodb',
'config' => array(
'username' => '',
'password' => '',
'host' => '',
'database' => '',
'driver' => 'mysql'
)
)
);
$TYPO3_CONF_VARS['EXT']['extList'] .= ',adodb,dbal';
The server is debian sarge linux running apache 2.0.54, php4.3.10 and mysql 4.0.24.
A recursive grep for fetchrow in the server dirs, show that it is only mentioned in adodb and dbal directories.
(issue imported from #M1780)
Updated by Karsten Dambekalns almost 19 years ago
I was unable to reproduce this easily. Since similar errors have been reported from users without DBAL (as in "tx_dbal"), it might be caused by something else. So make sure the exact same setup runs without DBAL in between. Since you are using MySQL anyway, try to run in 'native' instead of 'adodb' mode and then without DBAL.
If the error persists please try to create the smallest possible showcase to reproduce the bug. Give detailed information on used extensions. Try to remove extensions one by one and see if a specific one is triggering the error. Enable DBAL error logging and watch for errors.
Thanks.