lfspt Posted April 27, 2012 Posted April 27, 2012 Hi, i installed php-nuke on my hosting. But php-nuke use deprecated functions on current php (as eregi())... and it can be resolved if put on php.ini the error_reporting = E_ALL^E_NOTICE^E_DEPRECATED It's possible make this change please? Sorry my english! Best regards
Piotr GRD Posted April 27, 2012 Posted April 27, 2012 You could try to set it in the .htaccess file:php_value error_reporting 22519though when I try to test it on Stevie I got error 500, so that would mean that it's impossible to change it through .htaccess. Other way - which works fine for me in my test on Stevie - is changing the error_reporting value directly in the PHP script:ini_set("error_reporting", E_ALL & ~E_NOTICE & ~E_DEPRECATED);I don't know where exactly in PHP-Nuke files you would have to put this, but I can imagine that in the configuration file - which is most likely included every time - would be most easy. However I can see on my Stevie's account that default error_reporting setting is now exactly 22519 so deprecation alerts should be ignored. If not, then most likely PHP-Nuke itself inside of its code is changing this value.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now