[TYPO3-dev] list module throws a warning in 4.3-dev
Uschi Renziehausen
typo3news at otherone.de
Thu Dec 25 17:00:52 CET 2008
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