Vesta Control Panel - Forum

Community Forum

Skip to content

Advanced search
  • Quick links
    • Main site
    • Github repo
    • Google Search
  • FAQ
  • Login
  • Register
  • Board index Main Section Web Server
  • Search

White screen in phpmyadmin with display_errors = On

Questions regarding the Web Server
Apache + Nginx, Nginx + PHP5-FPM
Post Reply
  • Print view
Advanced search
4 posts • Page 1 of 1
RichBos
Posts: 11
Joined: Tue May 20, 2014 2:33 pm
Contact:
Contact RichBos
Website

White screen in phpmyadmin with display_errors = On
  • Quote

Post by RichBos » Thu Nov 13, 2014 4:10 pm

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
Top

joem
Posts: 378
Joined: Thu Nov 13, 2014 8:33 am

Os: CentOS 6x
Web: nginx + php-fpm
Re: White screen in phpmyadmin with display_errors = On
  • Quote

Post by joem » Thu Nov 13, 2014 7:08 pm

You can add the following code to the top of your php pages,

Code: Select all

<?PHP
error_reporting(E_ALL);
ini_set('display_errors','On');
?>
You can also make a new file named .htaccess add these 2 lines

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
Top

RichBos
Posts: 11
Joined: Tue May 20, 2014 2:33 pm
Contact:
Contact RichBos
Website

Re: White screen in phpmyadmin with display_errors = On
  • Quote

Post by RichBos » Thu Nov 13, 2014 8:15 pm

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.
Top

joem
Posts: 378
Joined: Thu Nov 13, 2014 8:33 am

Os: CentOS 6x
Web: nginx + php-fpm
Re: White screen in phpmyadmin with display_errors = On
  • Quote

Post by joem » Thu Nov 13, 2014 10:04 pm

Make a new php file and add this code

Code: Select all

<? phpinfo(); ?>
upload it and post the link or pm me the link also can you please post your error log too.
Top


Post Reply
  • Print view

4 posts • Page 1 of 1

Return to “Web Server”



  • Board index
  • All times are UTC
  • Delete all board cookies
  • The team
Powered by phpBB® Forum Software © phpBB Limited
*Original Author: Brad Veryard
*Updated to 3.2 by MannixMD
 

 

Login  •  Register

I forgot my password