Une erreur a été rencontrée durant l'éxécution du script. L'erreur rencontrée est :
error_sql :: Unknown column 'u_ip' in 'field list'
-----
SELECT COUNT(u_ip) AS total, u_ip
FROM fsb2_mp
WHERE mp_from = 2
AND u_ip <> ''
GROUP BY u_ip
à la ligne 172 du fichier /home.10.24/frmarket/www/frstaff/main/modo/modo_ip.php
Voici la zone où se situe l'erreur dans le script :
Ligne 165 : // Liste des IP du membre
Ligne 166 : $sql = 'SELECT COUNT(u_ip) AS total, u_ip
Ligne 167 : FROM ' . SQL_PREFIX . 'mp
Ligne 168 : WHERE mp_from = ' . $this->u_id . '
Ligne 169 : AND u_ip <> \'\'
Ligne 170 : GROUP BY u_ip';
Ligne 171 : $result = Fsb::$db->query($sql);
Ligne 172 : while ($row = Fsb::$db->row($result))
Ligne 173 : {
Ligne 174 : Fsb::$tpl->set_blocks('ip', array(
Ligne 175 : 'IP' => $row['u_ip'],
Ligne 176 : 'TOTAL' => Fsb::$session->lang('mp_panel') . ' - ' . $row['total'],
Ligne 177 :
Ligne 178 : 'U_IP' => sid(ROOT . 'index.' . PHPEXT . '?p=modo&module=ip&ip=' . $row['u_ip']),
Ligne 179 : ));
Trace des fonctions / méthodes appelées :
Méthode : Fsb_frame->__construct()
Fichier : index.php
Ligne : 357
Méthode : Fsb_frame_child->main()
Fichier : index.php
Ligne : 60
Méthode : Page_modo_ip->__construct()
Fichier : main/forum/forum_modo.php
Ligne : 114
Méthode : Page_modo_ip->print_result_ip()
Fichier : main/modo/modo_ip.php
Ligne : 48
Méthode : Dbal->query()
Fichier : main/modo/modo_ip.php
Ligne : 172
Méthode : Dbal_mysql->_query()
Fichier : main/class/dbal/dbal.php
Ligne : 150
Fonction : trigger_error()
Fichier : main/class/dbal/dbal_mysql.php
Ligne : 71