[TYPO3-english] PHP Fatal error: Call to a member function query() on a non-object in /opt/lampp/htdocs/typo3_src+d

Jigal van Hemert jigal.van.hemert at typo3.org
Fri Aug 23 14:06:56 CEST 2013


Hi Paul,

On 22-8-2013 16:20, amadeo Marketing & Design - Paul Garais wrote:
> if you don't have a urgent reason to deactivate the dbal extension,
> don't do it. Most extensions which are coded according to the TYPO3
> coding guidlines need the abstraction layer, because they use the
> dbal-functions for there queries. If you don't want to use dbal for some
> reason, just don't call the regarding functions in your extension but
> let it activated.

If you use MySQL there is no need to activate dbal. Dbal is needed if 
you use other DBMS or if you want to have tables in a second MySQL server.

Dbal overrides some of the core functions to provide support for other 
DBMS, but this is done in a way that extensions (if they use DBAL 
compatible queries) and the rest of the core don't notice the difference.

-- 
Jigal van Hemert
TYPO3 CMS Active Contributor

TYPO3 .... inspiring people to share!
Get involved: typo3.org


More information about the TYPO3-english mailing list