Hello I would like some help with a message that appears when I enter the option setting ... appears at the top of the admin page the following warning:
Notice: Undefined variable: mr_status in /home/amapa/public_html/loja/gerenciar/controller/setting.php on line 333
what should I do so that this message does not appear when I click setting.
thanks in advance
Undefined variable: mr_status
Re: Undefined variable: mr_status
The issue is caused by the function apache_get_modules() not being available on your server.
What version of Apache and PHP are being used on your server?
A simple fix is to add error suppresion in line 333 in the setting.php. This line would look like this.
This will make the error disappear, but will not tell you if MOD_REWRITE is enabled or not.
What version of Apache and PHP are being used on your server?
A simple fix is to add error suppresion in line 333 in the setting.php. This line would look like this.
Code: Select all
$view->set('mr_status', @$mr_status);Re: Undefined variable: mr_status
PHP Version: 5.2.17
Version of Apache: 2.2.23
thanks for the alternative .... it worked properly.
Version of Apache: 2.2.23
thanks for the alternative .... it worked properly.
Re: Undefined variable: mr_status
Is the apache_get_modules listed in your php.ini below disable_functions?