Pages vues depuis 25/05/2001 : 111 385 579
Index du forum »» Pour débuter »» [Résolu] - les mots de passe sous rev16
Citation : nicolas2
quel version de php tu utilise ?
Citation : nicolas2
dans ton config quel est la valeur de nuke_url ?
Citation : nicolas2
dans les logs il doit bien y avoir l'erreur retourné ?
// Modify the report level of PHP
// error_reporting(0);// report NO ERROR
//error_reporting(E_ERROR | E_WARNING | E_PARSE | E_NOTICE); // Devel report
error_reporting(E_ERROR | E_WARNING | E_PARSE); // standard ERROR report
//error_reporting(E_ALL);
// Modify the report level of PHP
// error_reporting(0);// report NO ERROR
error_reporting(E_ERROR | E_WARNING | E_PARSE | E_NOTICE); // Devel report
//error_reporting(E_ERROR | E_WARNING | E_PARSE); // standard ERROR report
//error_reporting(E_ALL);
Citation : nicolas2
dans grab_global fait
// Modify the report level of PHP
// error_reporting(0);// report NO ERROR
//error_reporting(E_ERROR | E_WARNING | E_PARSE | E_NOTICE); // Devel report
error_reporting(E_ERROR | E_WARNING | E_PARSE); // standard ERROR report
//error_reporting(E_ALL);
remplace comme
// Modify the report level of PHP
// error_reporting(0);// report NO ERROR
error_reporting(E_ERROR | E_WARNING | E_PARSE | E_NOTICE); // Devel report
//error_reporting(E_ERROR | E_WARNING | E_PARSE); // standard ERROR report
//error_reporting(E_ALL);
Voir déjà si cela te rapporte les erreurs affichées sur le site.
Citation : nicolas2
https://guenesteri02-s21.fhmutu.net/user.php Ici, l'inscription fonctionne : je viens de m'inscrire et de me connecter
// fonction appelée par le meta-mot forum_subfolder()
function sub_forum_folder($forum) {
global $user, $NPDS_Prefix;
if ($user) {
$userX = base_64_decode($user);
$userR = explode(':', $userX);
}
$result = sql_query("SELECT COUNT(topic_id) AS total FROM ".$NPDS_Prefix."forumtopics WHERE forum_id='$forum'");
list($totalT) = sql_fetch_row($result);
$result = sql_query("SELECT COUNT(DISTINCT topicid) AS total FROM ".$NPDS_Prefix."forum_read WHERE uid='$userR[0]' AND topicid>'0' AND status!='0' AND forum_id='$forum'");
list($totalF) = sql_fetch_row($result);
if ($ibid = theme_image('forum/icons/red_sub_folder.gif')) {$imgtmpR = $ibid;} else $imgtmpR = 'images/forum/icons/red_sub_folder.gif';}
if ($ibid = theme_image('forum/icons/sub_folder.gif')) {$imgtmp = $ibid;} else {$imgtmp = "images/forum/icons/sub_folder.gif";}
if ($totalT-$totalF > 0)
$ibid = '<img src="'.$imgtmpR.'" alt="" loading="lazy" />';
else
$ibid = '<img src="'.$imgtmp.'" alt="" loading="lazy" />';
return ($ibid);
}
// fonction appelée par le meta-mot forum_subfolder()
function sub_forum_folder($forum) {
global $user, $NPDS_Prefix;
if ($user) {
$userX = base_64_decode($user);
$userR = explode(':', $userX);
}
$result = sql_query("SELECT COUNT(topic_id) AS total FROM ".$NPDS_Prefix."forumtopics WHERE forum_id='$forum'");
list($totalT) = sql_fetch_row($result);
$result = sql_query("SELECT COUNT(DISTINCT topicid) AS total FROM ".$NPDS_Prefix."forum_read WHERE uid='$userR[0]' AND topicid>'0' AND status!='0' AND forum_id='$forum'");
list($totalF) = sql_fetch_row($result);
if ($ibid = theme_image('forum/icons/red_sub_folder.gif')) {$imgtmpR = $ibid;} else { $imgtmpR = 'images/forum/icons/red_sub_folder.gif';}
if ($ibid = theme_image('forum/icons/sub_folder.gif')) {$imgtmp = $ibid;} else {$imgtmp = "images/forum/icons/sub_folder.gif";}
if ($totalT-$totalF > 0)
$ibid = '<img src="'.$imgtmpR.'" alt="" loading="lazy" />';
else
$ibid = '<img src="'.$imgtmp.'" alt="" loading="lazy" />';
return ($ibid);
}
if ($ibid = theme_image('forum/icons/red_sub_folder.gif')) {$imgtmpR = $ibid;} else $imgtmpR = 'images/forum/icons/red_sub_folder.gif';}
if ($ibid = theme_image('forum/icons/red_sub_folder.gif')) {$imgtmpR = $ibid;} else { $imgtmpR = 'images/forum/icons/red_sub_folder.gif';}