[Typo3-dev] SQL wrapper functions

John Begley John.Begley at hummingbird.com
Tue Nov 2 20:59:53 CET 2004


> On Tue, 02 Nov 2004, John Begley wrote the following:
>> I understand I may be getting a DBAL object back from the sql_query
>function
>> here - but I don't understand why this does not quality also as a valid
>> result resource.  Am I doing something wrong or will I need to suppress
>> these warnings?
>
> set $GLOBALS['TYPO3_DB']->debugOutput = TRUE
> and then you'll get a detailed error message...


I think I'm on the wrong track here... I'm seeing errors like 
" Table '<my_dbase>.cache_hash' doesn't exist "

I'm using the sql wrapper functions independently of the typo3 database - is
this allowed/needed?? - it seems to be trying to access tables from typo3
database inside a separate database...  Am I looking at things the wrong way
here?  Do I just use regular mysql functions for separate databases?

Thanks a lot  
 




More information about the TYPO3-dev mailing list