niden.net
Member
Greetings,
If you install the product on PHP 5.3 and the error level is set to E_ALL, there is a warning that appears at the top regarding the deprecated set_magic_quotes_runtime.
Solution:
1. Use: E_ALL & ~E_DEPRECATED in your php.ini file
2. Open xenforo/library/XenForo/Application.php. Go to circa line 152.
Find
	
	
	
		
and change it to
	
	
	
		
				
			If you install the product on PHP 5.3 and the error level is set to E_ALL, there is a warning that appears at the top regarding the deprecated set_magic_quotes_runtime.
Solution:
1. Use: E_ALL & ~E_DEPRECATED in your php.ini file
2. Open xenforo/library/XenForo/Application.php. Go to circa line 152.
Find
		PHP:
	
	if (function_exists('set_magic_quotes_runtime'))
{
    set_magic_quotes_runtime(false);
}
	
		PHP:
	
	if (function_exists('set_magic_quotes_runtime'))
{
    if (floatval(phpversion()) > "5.2") {
        ini_set('magic_quotes_runtime', 0);
    } else {
        set_magic_quotes_runtime(false);
    }
}