Actions
Bug #56291
closedFatal error: Call to a member function query() on a non-object
Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Database API (Doctrine DBAL)
Target version:
Start date:
2014-02-25
Due date:
% Done:
0%
Estimated time:
TYPO3 Version:
6.2
PHP Version:
Tags:
Complexity:
Is Regression:
No
Sprint Focus:
Description
When activating EXT:dbal in EM, I run into:
Fatal error: Call to a member function query() on a non-object in /var/www/typo3/typo3_src-master/typo3/sysext/core/Classes/Database/DatabaseConnection.php on line 457
It breaks the whole installation, until I manually remove dbal from LocalConfiguration and PackageStates.
master @4da4dba52009760005095a5013245d5d169ce9a5
Updated by Stefan Froemken over 10 years ago
Hello Steffen,
I know this problem, too. Here is a workaround:
Edit LocalConfiguration.php and change following line:
'dbal' => 'a:2:{s:10:"sql_query.";a:1:{s:11:"passthrough";s:1:"1";}s:13:"Compatibility";s:0:"";}',
to
'dbal' => 'a:2:{s:10:"sql_query.";a:1:{s:11:"passthrough";s:1:"0";}s:13:"Compatibility";s:0:"";}',
Clear cached LocalConfiguration in typo3temp/Cache/Code/ and you're done.
Stefan
Updated by Mathias Schreiber almost 10 years ago
- Status changed from New to Closed
will continue in #51458
Actions