Project

General

Profile

Actions

Bug #15178

closed

Call to undefined function: fetchrow() in dbal/class.ux_t3lib_db.php

Added by Allan Jacobsen about 19 years ago. Updated almost 19 years ago.

Status:
Closed
Priority:
Should have
Category:
Database API (Doctrine DBAL)
Target version:
-
Start date:
2005-11-04
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
PHP Version:
Tags:
Complexity:
Is Regression:
Sprint Focus:

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)

Actions #1

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.

Actions

Also available in: Atom PDF