Issue Bug Closed

#24796error with exec_PREPAREDquery

Philipp Bergsmann 01/25/11, 13:01 updated 01/27/11, 08:00

Description

I’m trying to update some old TYPO3 instance from 4.2.9 to 4.5RC2. After the update procedure I encountered the following error message in the sysLog:

Core: Error handler (FE): PHP Warning: mysql_query(): supplied argument is not a valid MySQL-Link resource in typo3_src-4.5.0rc2/t3lib/class.t3lib_db.php line 742

We are using the dbal with postgres. I don’t know, if it’s a bug in the instance or in the dbal, but regarding the release of 4.5 tomorrow (and prepared queries are kind of new) i thought i’ll file a bug report, probably someone else can reproduce this?

dbal-conf:

$TYPO3_CONF_VARS[‘EXTCONF’][‘dbal’][‘handlerCfg’] = array (
‘_DEFAULT’ => array (
‘type’ => ‘adodb’,
‘config’ => array(
‘driver’ => ‘postgres’,
)
)
);
(issue imported from #M17296)

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.