We are happy to announce that Vesta is back under active development as of 25 February 2024. We are working on v1 candidate and expect to engage more with the community over the coming months. We are committed to open source, and we encourage contributors to help us build the future of Vesta.
White screen in phpmyadmin with display_errors = On
White screen in phpmyadmin with display_errors = On
Hi, we are trying to debug our php code for an application and need access to phpmyadmin whilst doing so, however if we set display_errors = On in etc/php5/apache2/php.ini we get a white screen when going to the phpmyadmin screen, set it back to display_errors = Off and all is well again.
Any ideas how we can get round this?
Many thanks
Richard
Any ideas how we can get round this?
Many thanks
Richard
Re: White screen in phpmyadmin with display_errors = On
You can add the following code to the top of your php pages,
You can also make a new file named .htaccess add these 2 lines
upload to the new .htaccess file to public_html. MAKE SURE WHEN YOU UPLOAD THE FILE IT READS .htaccess NOT .htaccess.txt
Code: Select all
<?PHP
error_reporting(E_ALL);
ini_set('display_errors','On');
?>
Code: Select all
php_value display_errors 1
php_value display_startup_errors 1
upload to the new .htaccess file to public_html. MAKE SURE WHEN YOU UPLOAD THE FILE IT READS .htaccess NOT .htaccess.txt
Re: White screen in phpmyadmin with display_errors = On
Hi, many thanks for the workaround, ideally we would like to have the generic option in php.ini so if possible it would still be useful to try and find out why setting display_errors = On leads to a white page for phpmyadamin (and it is phpmyadmin only).
Just for info, if it's relevant, this happens on an Ubuntu 14.04 installation, on our 12.04 installation it is fine.
Just for info, if it's relevant, this happens on an Ubuntu 14.04 installation, on our 12.04 installation it is fine.
Re: White screen in phpmyadmin with display_errors = On
Make a new php file and add this code
upload it and post the link or pm me the link also can you please post your error log too.
Code: Select all
<? phpinfo(); ?>