Support

Admin Tools

#18562 Turn Off error reporting

Posted in ‘Admin Tools for Joomla! 4 & 5’
This is a public ticket

Everybody will be able to see its contents. Do not include usernames, passwords or any other sensitive information.

Environment Information

Joomla! version
n/a
PHP version
n/a
Admin Tools version
n/a

Latest post by tampe125 on Wednesday, 18 December 2013 07:34 CST

user67498
 Hi,

I would like to add the following into the .htaccess file. Can I do it through Admin Tools > .htaccess Maker?

I tryied to add them as rules in top or botto

log_errors = off
display_errors = off

tampe125
Akeeba Staff
Hello Ioannis,

did you tried to lower the error reporting inside Joomla configuration page?
There are several different methods, but this is the easier and faster way to do that.
Can you please try it and tell me if it's working?

Davide Tampellini

Developer and Support Staff

🇮🇹Italian: native 🇬🇧English: good • 🕐 My time zone is Europe / Rome (UTC +1)
Please keep in mind my timezone and cultural differences when reading my replies. Thank you!

user67498
The Joomla Error Reporting is Default (or None) but I receive some Strict Standards notifications in Virtuemart backend. A guy from the support team of Virtuemart suggest me to turn off error reporting trough .htaccess file.

tampe125
Akeeba Staff
Try editing your configuration.php file and put the following code right after the final closing curly brace ( this is what a curly brace looks like --> } ) but before the closing PHP tag (it looks like ?> that is a question mark and a greater-than sign):

ini_set( 'display_errors', false );
error_reporting( E_ERROR );

If this still fails, please remote the two lines from your configuration.php file. Edit the .htaccess file in your site's root. Add the following to the end of the file:
php_flag display_errors Off
php_value error_reporting 1


If this still fail, you have to contact your hosting, since it seems that you can't trigger off error reporting.

Davide Tampellini

Developer and Support Staff

🇮🇹Italian: native 🇬🇧English: good • 🕐 My time zone is Europe / Rome (UTC +1)
Please keep in mind my timezone and cultural differences when reading my replies. Thank you!

user67498
The first solution did not worked and the second one created a Internal Server Error in my website.

I will contact the hosting.
Thanks

tampe125
Akeeba Staff
You're welcome!

Davide Tampellini

Developer and Support Staff

🇮🇹Italian: native 🇬🇧English: good • 🕐 My time zone is Europe / Rome (UTC +1)
Please keep in mind my timezone and cultural differences when reading my replies. Thank you!

Support Information

Working hours: We are open Monday to Friday, 9am to 7pm Cyprus timezone (EET / EEST). Support is provided by the same developers writing the software, all of which live in Europe. You can still file tickets outside of our working hours, but we cannot respond to them until we're back at the office.

Support policy: We would like to kindly inform you that when using our support you have already agreed to the Support Policy which is part of our Terms of Service. Thank you for your understanding and for helping us help you!