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

amadeo Marketing & Design - Paul Garais garais at amadeo-marketing.de
Fri Aug 23 14:18:28 CEST 2013


Hi Jigal,

thanks for the useful information! Is this implementation in the core also in the older versions? I 
believe there where no core-functions for this before v4 ... or I just mix it up with some other CMS 
... not good to work with to many different CMS -.-

	


Am 23.08.2013 14:06, schrieb Jigal van Hemert:
> 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.
>


More information about the TYPO3-english mailing list