![]() |
Быг с почтой
На сайте сервера при нажатии почта выдает ошибку:
Exception::__set_state(array( 'message' => 'Column \'receiver\' in where clause is ambiguous', 'string' => '', 'code' => 1052, 'file' => 'D:\\www\\wowacadem.org\\htdocs\\lib\\mysql.class. php', 'line' => 184, 'trace' => array ( 0 => array ( 'file' => 'D:\\www\\wowacadem.org\\htdocs\\pages\\account.ph p', 'line' => 284, 'function' => 'Query', 'class' => 'MySQL', 'type' => '->', 'args' => array ( 0 => 'SELECT `a`.`id`, `c`.`name` AS `sender_name`, `a`.`subject`, `i`.`data` AS `item_data`, `d`.`name` AS `item_name`, IF(`e`.`icon` IS NULL, "INV_Misc_Note_01", `e`.`icon`) AS `item_icon`, `a`.`expire_time` - UNIX_TIMESTAMP() AS `time`, `a`.`money`, `a`.`cod`, `a`.`checked`, `b`.`text` FROM `characters`.`mail` AS `a` LEFT JOIN `characters`.`mail_items` AS `mi` ON (`mi`.`mail_id` = `a`.`id`) LEFT JOIN `characters`.`item_text` AS `b` ON (`b`.`id` = `a`.`itemTextId`) LEFT JOIN `characters`.`characters` AS `c` ON (`c`.`guid` = `a`.`sender`) LEFT JOIN `mangos`.`item_template` AS `d` ON (`d`.`entry` = `mi`.`item_template`) LEFT JOIN `characters`.`item_instance` AS `i` ON (`i`.`guid` = `mi`.`item_guid`) LEFT JOIN `mangos`.`dbc_itemdisplayinfo` AS `e` ON (`e`.`id` = `d`.`displayid`) WHERE `receiver` = 43467 AND `a`.`deliver_time` <= 1208876355 GROUP BY `a`.`id` ORDER BY `a`.`id` DESC', ), ), 1 => array ( 'file' => 'D:\\www\\wowacadem.org\\htdocs\\index.php', 'line' => 51, 'function' => 'Execute', 'class' => 'Engine', 'type' => '->', 'args' => array ( ), ), ), )) |
Часовой пояс GMT +1, время: 23:06. |