2009-08-06, 06:05 PM
As some members that are running PHP 5.3+ have found, since Magic Quotes is deprecated, error messages show up since the functions are called in inc/class_core.php.
Find in inc/class_core.php:
Replace with:
Find in inc/class_core.php:
// Determine Magic Quotes Status
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);
Replace with:
if(phpversion() < "5.3")
{
// Determine Magic Quotes Status
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);
}