D
Dark Knight
Гость
Ajax error in: ./ajax.php invalid data format в viewtopic.php после нажания кнопки Отправить.
if (GZIP_OUTPUT_ALLOWED && !defined('NO_GZIP'))
{
if (UA_GZIP_SUPPORTED && strlen($response_js) > 2000)
{
header('Content-Encoding: gzip');
$response_js = gzencode($response_js, 1); //205 строка
}
}
#001146 Table 'forum2.bb_bt_torrents_del' doesn't exist
INSERT INTO bb_bt_torrents_del(topic_id, info_hash) SELECT topic_id, info_hash FROM bb_bt_torrents WHERE attach_id = 1 ON DUPLICATE KEY UPDATE is_del=1
Source : includes\functions_torrent.php(124) :: db1.forum2
IP : 127.0.0.1
Date : 2011-06-29 00:15:02
Req_URI : /ajax.php
Method : POST
PID : 05264
Request : Array
(
[action] => change_torrent
[attach_id] => 1
[type] => unreg
[form_token] =>
[bb_data] => a:3:{s:2:"uk";N;s:3:"uid";i:2;s:3:"sid";s:20:"6AY5DUq3PaYBYQk4061j";}
[bb_dbg] => 1
[explain] => 0
[sql_log] => 0
[sql_log_full] => 0
)
// XBTT
if($bb_cfg['announce_type'] == 'xbt')
{
$sql = 'INSERT INTO '. BB_BT_TORRENTS ."_del(topic_id, info_hash)
SELECT topic_id, info_hash
FROM ". BB_BT_TORRENTS ."
WHERE attach_id = $attach_id ON DUPLICATE KEY UPDATE is_del=1";
if (!DB()->sql_query($sql)) // 124 строка
{
message_die(GENERAL_ERROR, 'Could not delete torrent from torrents table', '', __LINE__, __FILE__, $sql);
}
}
// XBTT end.