error while login.php

Can anyone help to resolve below issue.

Warning: putenv() has been disabled for security reasons in /storage/ssd1/901/6361901/public_html/jbvs/src/Gibbon/Locale.php on line 59

Warning: putenv() has been disabled for security reasons in /storage/ssd1/901/6361901/public_html/jbvs/src/Gibbon/Locale.php on line 60

Warning: putenv() has been disabled for security reasons in /storage/ssd1/901/6361901/public_html/jbvs/src/Gibbon/Locale.php on line 61

Warning: putenv() has been disabled for security reasons in /storage/ssd1/901/6361901/public_html/jbvs/index_tt_ajax.php on line 26

thanks in advance.

Hi Nilesh,

It looks like your hosting has disabled the PHP putenv() function. If you have access to your own server setup this may be something you can re-enable. Otherwise, to resolve the error you may need to comment out those lines (59-61 in src/Gibbon/Locale.php, 26 in index_tt_ajax.php). In this case it’s a PHP warning rather than an error, so it’s not fatal to silence the error by commenting these lines out, as the setlocale() function after it should be sufficient.

I don’t think we’ve seen this issue before, so it is perhaps something we can add a check for in future versions to see if the server supports putenv() before calling it.

Thanks!