[TYPO3-dev] list module throws a warning in 4.3-dev

Uschi Renziehausen typo3news at otherone.de
Thu Dec 25 17:19:01 CET 2008


Ok, searching the dam code again (this time with the correct search string) I found the reason. DAM makes a t3lib_div::loadTCA('tt_news') without asking whether or not that ext is loaded. Even I might 
be able to fix this issue. So thanks for your help!

Uschi

Uschi

Uschi Renziehausen wrote:
> Hi Francois and Dmitry,
> 
> both tips helped in a way:
> 
> The faulty query is this:
> 
> SQL debug
> String (26)     caller     t3lib_DB::exec_SELECTquery
> String (40)     ERROR     Table 'cmsdb_test.tt_news' doesn't exist
> String (73)     lastBuiltQuery     SELECT count(*)
> FROM tt_news
> WHERE
> pid=503
> String (193)     debug_backtrace     SC_db_list->main#441 // 
> recordList->generateList#294 // localRecordList->getTable#268 // 
> recordList->setTotalItems#387 // t3lib_DB->exec_SELECTquery#490 // 
> t3lib_DB->debug#234
> 
> 
> In that installation I uninstalled tt_news, deleted the database tables 
> via the compare steps and updated the reference index.
> The funny thing is that the query only gets executed when dam (1.1 dev) 
> is installed. I searched the dam code for 'tt_news', but without any 
> avail. Any tips how to find the reason for that query?
> 
> Uschi
> Francois Suter wrote:
>> Hi
>>
>>> Warning: mysql_fetch_row(): supplied argument is not a valid MySQL 
>>> result resource in 
>>> /apache2/htdocs/typo3_src/typo3-43-dev/t3lib/class.t3lib_db.php on 
>>> line 829
>>
>> Turn on SQLdebug in the Install Tool. This should show the faulty query.
>>
>> HTH
>>




More information about the TYPO3-dev mailing list