Support

Akeeba Backup for Joomla!

#24057 htaccess/user.ini PHP display errors overridden

Posted in ‘Akeeba Backup 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
Akeeba Backup version
n/a

Latest post by nicholas on Tuesday, 29 December 2015 01:27 CST

NickOg
EXTREMELY IMPORTANT: Please attach a ZIP file containing your Akeeba Backup log file in order for us to help you with any backup or restoration issue. If the file is over 2Mb, please upload it on your server and post a link to it.

Description of my issue:
Hi
My problem is not related to the backup process - all works fine. But my PHP errors settings in .htaccess

php_flag display_errors on
php_value error_reporting 6143

or .user.ini

display_errors = 1
error_reporting(E_ALL);


are being cancelled. I have set the Joomla System Default and have tried Maximum.
In every case I get no errors - just a blank page. If I look at system Information that shows Display Errors Off.

If I comment out the line

ini_set('display_errors', false);

in \administrator\components\com_akeeba\engine\Factory.phpfactory.php and
in \administrator\components\com_akeeba\alice\Factory.phpfactory.php

then all works fine.

That clearly isn't intended. Can you explain what goes here please? What am I doing wrong and how do I overcome the problem?


Regards

Nick

Web Support

===================

61 (2) 6584 4192

 

nicholas
Akeeba Staff
Manager
Please contact your host and let them know that if they are blocking the PHP function ini_set they are supposed to add it to the disabled_functions in their php.ini. Otherwise developers like us have no possible way to detect whether this feature is available and our code will of course result in an error.

In simple terms: please tell your host to stop screwing up PHP and learn how to follow PHP best practices established more than ten years ago (close to fifteen years ago, but I digress).

Nicholas K. Dionysopoulos

Lead Developer and Director

🇬🇷Greek: native 🇬🇧English: excellent 🇫🇷French: basic • 🕐 My time zone is Europe / Athens
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!