tribalweb a écrit:
... Et celle en anglais encore moins ...
@+
Romeo59181
Modérateur: Equipe
tribalweb a écrit:
... Et celle en anglais encore moins ...






christophebry a écrit:mais pas pour les admin ou modo
$users = array($user->data['user_id']); $data = $user->data;
$auth_temp = new auth();
$auth_temp->acl($data);
$droit_admin = $auth_temp->acl_get('a_');
$droit_mod = $auth_temp->acl_get('m_');
if ($droit_admin || $droit_mod)
{
return false;
} $user_row[$row['user_id']] = $row; $auth_temp = new auth();
$auth_temp->acl($row);
$droit_admin = $auth_temp->acl_get('a_');
$droit_mod = $auth_temp->acl_get('m_');
if (!$droit_admin && !$droit_mod)
{ }



Erreur générale
SQL ERROR [ mysql4 ]
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 'OR auto_group = 1) AND user_id = 67' at line 4 [1064]
SQL
DELETE FROM phpbb_user_group WHERE group_id = 162 AND (auto_group = OR auto_group = 1) AND user_id = 67
BACKTRACE
FILE: includes/db/mysql.php
LINE: 158
CALL: dbal->sql_error()
FILE: includes/functions_user.php
LINE: 2824
CALL: dbal_mysql->sql_query()
FILE: includes/acp/acp_groups.php
LINE: 205
CALL: group_user_del()
FILE: includes/functions_module.php
LINE: 471
CALL: acp_groups->main()
FILE: adm/index.php
LINE: 74
CALL: p_master->load_active()
TROUVER
Code: Tout sélectionner
function group_user_del
DANS LA LIGNE TROUVER
Code: Tout sélectionner
$group_name = false
DANS LA LIGNE AJOUTER APRES
Code: Tout sélectionner
, $auto_group = 0
[phpBB Debug] PHP Notice: in file /includes/functions_user.php on line 2836: implode() [function.implode]: Invalid arguments passed
Warning: Cannot modify header information - headers already sent by (output started at /home/run974/web/www/phpBB3/includes/functions.php:2981) in /home/run974/web/www/phpBB3/adm/index.php on line 150
Warning: Cannot modify header information - headers already sent by (output started at /home/run974/web/www/phpBB3/includes/functions.php:2981) in /home/run974/web/www/phpBB3/adm/index.php on line 152
Warning: Cannot modify header information - headers already sent by (output started at /home/run974/web/www/phpBB3/includes/functions.php:2981) in /home/run974/web/www/phpBB3/adm/index.php on line 153
Warning: Cannot modify header information - headers already sent by (output started at /home/run974/web/www/phpBB3/includes/functions.php:2981) in /home/run974/web/www/phpBB3/adm/index.php on line 154




Retourner vers MODs de la base de données
Utilisateurs parcourant ce forum: Aucun utilisateur enregistré et 1 invité