Bug #18959
closedPostgreSQL + dbal + adodb = Install Tool CRASH
0%
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)