Спасибо за раздачу и оценка релиза

появилась
Hopper Around вставьте подключение файла сюда https://github.com/torrentpier/torrentpier/blob/master/library/includes/ucp/viewprofile.php#L81 а строки для шаблонизатора парой строк ниже.
ошибка в логах пусто
Fatal error: Call to undefined function append_sid() in Z:\home\strezhi.torrents.com\www\attach_mod\displaying_torrent.php on line 163

PHP:
. append_sid("rate.php?a=" . $attach_id . "&v=" . $r ) .'\');" />'
 
В чем может быть ошибка? ревизия r600

// Delete thanks
$sql = "DELETE FROM ". BB_ATTACHMENTS_RATING ."
WHERE attach_id IN(". implode(',', $attach_id_array) .")";

if (!DB()->sql_query($sql))
{
message_die(GENERAL_ERROR, $lang['ERROR_DELETED_ATTACHMENTS'], '', __LINE__, __FILE__, $sql);
}
выдает на 100 и 104 строке это при заходе в раздачу или профиль , а если зайти с обычного пользователя то просто белый фон
 

Attachments

  • Безымянный.webp
    Безымянный.webp
    36.4 KB · Views: 70
в логах вот что пишет
#001064 You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')' at line 2

DELETE FROM bb_attachments_rating WHERE attach_id IN()

Source : includes\ucp\viewprofile.php(102) :: db1.torrent
IP : 127.0.0.1
Date : 2015-01-02 06:45:56
Agent : Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/39.0.2171.95 Safari/537.36
Req_URI : /profile.php?mode=viewprofile&u=2
Referer : http://strezhi.torrents.com/index.php
Method : GET
PID : 03172
Request : Array
(
[mode] => viewprofile
=> 2
 
Hopper Around

1) https://github.com/torrentpier/torrentpier/wiki/Изменения-функций-(для-адаптации-модов)
2) https://translate.google.ru/

Больше тут ничего не требуется.

А, если и после этого ошибки остались, то есть еще один пункт:

3) https://torrentpier.com/forums/ischu-rabotu-predlagaju-svoi-uslugi.35/
Все сделал только вот не нажимаются кнопки Спасибо и оценка
 

Attachments

  • Безымянный.webp
    Безымянный.webp
    2.9 KB · Views: 50
Fatal error: Call to undefined method ajax_common::rate() in Z:\home\strezhi.torrents.com\www\ajax.php on line 199 вот что пишет когда нажимаю на оценку
 
Please note, if you want to make a deal with this user, that it is blocked.
заменить
message_die (GENERAL_ERROR, "Ошибка", '', __ LINE__, __FILE__, $ SQL);
на
bb_die ('Ошибка');
 
Back
Top