[TYPO3-ttnews] [solved] error: Invalid database result resource detected

Steffen Gebert steffen at steffen-gebert.de
Fri Jan 22 22:37:40 CET 2010


Am 22.01.2010, 21:33 Uhr, schrieb Philipp Gampe <phil at philippgampe.info>:

>> I came across the same error. I believe I track down the bug to this:
>>
>> in /pi/class.tx_ttnews.php somewhere around line 2444 there is a line
>>
>> $subcats = implode(',', array_unique(explode(',',  
>> tx_ttnews_div::getSubCategories($row[0]['uid'], $addWhere))));
>>
>> changing it to
>>
>> $subcats = implode(',', array_unique(explode(',',  
>> tx_ttnews_div::getSubCategories($rows[0]['uid'], $addWhere))));
>>
>> solved the problem for me. Hope this helps you.
>>
>> Regards, Lukas Stancik
>>
>
> thanks for tracking it down ...
> it is in line 2415, but works like a charm :)
>
> Hint: it is the missing s in $row_s_[0]

Did you report it to the BT? Please also include the patch there!

Thanks
Steffen


More information about the TYPO3-project-tt-news mailing list