Project

General

Profile

Actions

Bug #18959

closed

PostgreSQL + dbal + adodb = Install Tool CRASH

Added by Anonymous over 16 years ago. Updated about 6 years ago.

Status:
Closed
Priority:
Should have
Assignee:
Category:
Install Tool
Target version:
-
Start date:
2008-06-14
Due date:
% Done:

0%

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

Description

hi!

when i want to install from scratch to a postgres database i get the following error in the install tool:

PHP Fatal error: Call to a member function admin_get_charsets() on a non-object in /var/www/typo3_src-4.2.1/t3lib/class.t3lib_install.php on line 456

when i comment out that line in the source, the install tool works again.

it seems like there is something broken. maybe some bad code which does not use adodb. (of course theres no SHOW CHARACTER SET" in postgres and maybe that lets typo3 crash.

reproduction:
extract a dummy and edit the localconf.php:

$TYPO3_CONF_VARS['EXT']['extList'] .= ',adodb,dbal';

$TYPO3_CONF_VARS['EXTCONF']['dbal']['handlerCfg'] = array (
'_DEFAULT' => array(
'type' => 'adodb',
'config' => array(
'username' => 'username',
'password' => 'password',
'host' => 'localhost',
'database' => 'database',
'driver' => 'postgres8'
)
)
);

voila > CRASH ;)

(issue imported from #M8714)


Related issues 1 (0 open1 closed)

Is duplicate of TYPO3 Core - Bug #18689: Cannot upgrade from 4.1.6 to 4.2.0 due to errorClosedMichael Stucki2008-04-24

Actions
Actions

Also available in: Atom PDF