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

Philipp Gampe phil at philippgampe.info
Fri Jan 22 21:33:17 CET 2010


Am 21.01.2010, 20:51 Uhr, schrieb Lukas Stancik <lukas.stancik at robe.cz>:

> Hi Philipp,
>
> 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]

Thanks again
Phil

--
Philipp Gampe
http://www.philippgampe.info


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