DB_TABLE_SESSION n'existe pas [Réglé]
Visiteur
Boosteur Inactif
Je suis en train de créer un code pour le module pour intégrer l'équipe de développement modulaire et j'ai un problème.
La constante DB_TABLE_SESSION n'existe pas.
Voilà mon code
Code PHP :
<?php /*################################################## * index.php * ------------------- * begin : September 13 2009 * copyright : (C) 2009 Toshy * email : yoshi62@live.fr * * ################################################### * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. * ###################################################*/ include_once('../kernel/begin.php'); include_once('lang/' . $CONFIG['lang'] . '/MemberListe_' . $CONFIG['lang'] . '.php'); define('TITLE', $LANG['MemberListe_Titre']); import("util/pagination"); $pagination = new Pagination(); echo var_dump(DB_TABLE_SESSION); //Il me dit qu'elle vaut DB_TABLE_SESSION $result = $Sql->query_while("SELECT s.user_id, s.level, s.session_time, s.session_script, s.session_script_get, s.session_script_title, m.login FROM " . DB_TABLE_MEMBER . " m JOIN " . DB_TABLE_SESSION . " s ON (m.user_id = s.user_id) WHERE s.session_time > '" . (time() - $CONFIG['site_session_invit']) . "' " . $Sql->limit($pagination->get_first_msg(25, 'p'), 25), __LINE__, __FILE__); include_once('../kernel/header.php'); include_once('../kernel/footer.php'); ?>
Erreur : La table 'phpboost.db_table_session' n'existe pas
Merci de votre aide.
Visiteur
Boosteur Inactif
Répondre
Vous n'êtes pas autorisé à écrire dans cette catégorie