New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error reporting disabled function, 4.9.x #16256
Comments
|
Hi @LufoX11 By the way I am working on the packaging of 5.0 for Debian and 5.0 will be uploaded to the PPA when everything is ready maybe in some weeks or a months, depending on available free time |
|
Thank you @williamdes I'll be waiting then. |
|
|
Signed-off-by: William Desportes <williamdes@wdes.fr>
|
@williamdes sorry for the delay. I can confirm your patch solves it. I had to manually apply the changes since my files were a bit different from the ones you built the patch for. Eg: libraries/classes/Config.php 764 public function loadDefaults()
765 {
766 $cfg = array();
767 if (! @file_exists($this->default_source)) {
768 $this->error_config_default_file = true;
769 return false;
770 }
771 $canUseErrorReporting = function_exists('error_reporting');
772 if ($canUseErrorReporting) {
773 $old_error_reporting = error_reporting(0);
774 }
775 ob_start();
776 $GLOBALS['pma_config_loading'] = true;
777 $eval_result = include $this->default_source;
778 $GLOBALS['pma_config_loading'] = false;
779 ob_end_clean();
780 if ($canUseErrorReporting) {
781 error_reporting($old_error_reporting);
782 }Thanks! |
|
Thank you for the feedback, I patched 5.x files ;) |
Hi @williamdes , I'm using version 4.9.5deb2 and I'm still seeing this error:
Your fixes are already present in ErrorHandler.php
I'm using PHP 7.4 + FPM, and my php.ini looks like this:
/etc/php/7.4/fpm/php.ini
I need to keep this configuration for now until I solve migration issues. Any chance to fix this or a patch I can apply in the meanwhile? I'm using latest pma version from https://launchpad.net/~phpmyadmin/+archive/ubuntu/ppa
Thank you.
UPDATE: Uninstalling php-xdebug temporaly solves it, but I'd like to keep it.
Originally posted by @LufoX11 in #15592 (comment)
The text was updated successfully, but these errors were encountered: