Мультитрекер (подгрузка внешних пиров)

Started by Exile on 2015-03-01 09:37 — 54 replies, 11758 views

#41
@ExPlayer лог sql в студию.
Spoiler content hidden.
#42
@drew
Spoiler content hidden.
#43
@drew
Spoiler content hidden.
#44
@drew
Spoiler content hidden.
#45
@drew
Source  : library/includes/cron/jobs/tr_cleanup_and_dlstat.php(201) :: db1.subd
IP      : *.*.*.*
Date    : 2015-12-18 09:58:56
Agent   : Mozilla/5.0 (Windows NT 6.1; WOW64; rv:43.0) Gecko/20100101 Firefox/43.0
Req_URI : /admin/admin_cron.php
Referer : http://mysite.ru/admin/admin_cron.php?mode=list
Method  : POST
PID     : 27936
Request : Array
(
    [mode] => list
    [cron_enabled] => 0
    [cron_check_interval] => 300
    [select] => Array
        (
            [0] => 16
        )

    [cron_action] => run
    [confirm] => 1
    [submit] => Отправить
)______________________________________________________________________________

#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 '25, bu.points_today = bu.points_today + 1,25, b.user_id = ' at line 3

UPDATE bb_users u, bb_bt_users bu, tmp_bonus b SET u.user_points = u.user_points + 1,25, bu.points_today = bu.points_today + 1,25, b.user_id = 0 WHERE b.user_id = u.user_id AND bu.user_id = u.user_id AND b.release_count <= 9999 AND u.user_regdate < 1450162974 AND u.user_active = 1 AND u.user_id not IN(-1,-746)

Source  : library/includes/cron/jobs/tr_cleanup_and_dlstat.php(201) :: db1.subd
IP      : *.*.*.*
Date    : 2015-12-18 11:02:54
Agent   : Mozilla/5.0 (Windows NT 6.1; WOW64; rv:43.0) Gecko/20100101 Firefox/43.0
Req_URI : /admin/admin_cron.php
Referer : http://mysite.ru/admin/admin_cron.php?mode=list
Method  : POST
PID     : 01249
Request : Array
(
    [mode] => list
    [cron_enabled] => 0
    [cron_check_interval] => 300
    [select] => Array
        (
            [0] => 16
        )

    [cron_action] => run
    [confirm] => 1
    [submit] => Отправить
)______________________________________________________________________________
#46
@drew
Spoiler content hidden.
#47
@drew
я не могу сюда лог скинуть, при нажатии "Ответить" выдает ошибку:
View attachment 4215
#48
https://torrentpier.com/threads/multitreker-podgruzka-vneshnix-pirov.36734/page-2

Fatal error
: Method XenForo_BbCode_TextWrapper::__toString() must not throw an exception in /var/www/torrentpier/data/www/torrentpier.com/library/XenForo/Template/Abstract.php(265) : eval()'d code on line 0
#49
Поправим рутрекер чтоб парсил пиры.
functions_torrent.php
if (preg_match('#t-ru.org#is', $announcer[0]))
P.S. знающие молчите, пусть сами ищут и учатся где и что заменить.
#50
Всем привет, помогите с запросом к трекеру на получение локальных пиров. DHT.