07-09-2011, 16:24
07-09-2011, 16:24
07-09-2011, 16:55
Dans le fichier "inc/class_core.php" près de la ligne #165, il y a ce code :
Il faut changer la section centrale par ceci :
La raison principale étant une incompatibilité d'opération entre MyBB 1.6 et PHP 5.3 chez certains hébergeur. Les 2 "@" suppriment les messages d'erreurs...
Code PHP :
// Determine Magic Quotes Status (< PHP 6.0)
if(version_compare(PHP_VERSION, '6.0', '<'))
{
if(get_magic_quotes_gpc())
{
$this->magicquotes = 1;
$this->strip_slashes_array($_POST);
$this->strip_slashes_array($_GET);
$this->strip_slashes_array($_COOKIE);
}
set_magic_quotes_runtime(0);
@ini_set("magic_quotes_gpc", 0);
@ini_set("magic_quotes_runtime", 0);
}
Code PHP :
if(@get_magic_quotes_gpc())
{
$this->magicquotes = 1;
$this->strip_slashes_array($_POST);
$this->strip_slashes_array($_GET);
$this->strip_slashes_array($_COOKIE);
}
@set_magic_quotes_runtime(0);
07-09-2011, 19:11
Merci infiniment mon problème est résolu !