
10-16-2007, 12:15 PM
|
|
|
Join Date: Feb 2006
Location: Finland
Posts: 755
Благодарил(а): 0 раз(а)
Поблагодарили:
0 раз(а) в 0 сообщениях
|
|
Quote:
Originally Posted by RS_Jelle
To fix the comment counter problem:
OPEN /includes/class_downloads.php
FIND
PHP Code:
$result = $db->query_first("SELECT DISTINCT(`fileid`) AS fileid FROM " . TABLE_PREFIX . "dl_comments");
REPLACE WITH
PHP Code:
$result = $db->query_read("SELECT DISTINCT(`fileid`) AS fileid FROM " . TABLE_PREFIX . "dl_comments");
Then rerun the Update Counters.
It seems that there were two typo's in it and I only fixed one of them (and didn't test it, my mistake) 
I'm wrapping together a new release at the moment to fix this and some other small issues.
|
Thx i'll test it.
|