Re: phpmyadmin: getting blank page at localhost/phpmyadmin
> On Oct 29, 2017, at 7:25 AM, Murray Eisenberg> wrote: > > On 29 Oct2017, at 10:19 AM, Murray Eisenberg > wrote: >> >> On 29 Oct2017, at 8:52 AM, Ryan Schmidt wrote: >>> >>> >>> On Oct 28, 2017, at 20:04, Murray Eisenberg wrote: >>> Found the cause of the problem: a syntax error in config.inc.php. I found the error by cd to /opt/local/www/phpmyadmin and then executing php index.php. That gave the syntax error message. >>> >>> Sounds like you've configured php not to display errors in the web browser. >>> That's a good security practice and may even be the default setting these >>> days; you don't want an error message to reveal sensitive information about >>> your server to a public visitor. But if you want to temporarily change that >>> setting and display errors while working on a problem, you can edit your >>> php.ini. Or you could have consulted whatever file you've configured php to >>> log its errors to, or possibly your web server error log file. >> >> Hmm… in php.ini (for php71, which is what’s being used AFAIK — it’s what >> “which php” shows) —I have: >> >> error_reporting = E_ALL & ~E_NOTICE >> display_errors = On >> display_startup_errors = On >> > > And in config.inc.php I have: > > $cfg['Error_Handler']['display'] = true; It’s possible some configuration variables are being overridden in a “.htaccess” file in phpmyadmin root dir. — Brad
Re: phpmyadmin: getting blank page at localhost/phpmyadmin
On 29 Oct2017, at 10:19 AM, Murray Eisenbergwrote: > > On 29 Oct2017, at 8:52 AM, Ryan Schmidt wrote: >> >> >> On Oct 28, 2017, at 20:04, Murray Eisenberg wrote: >> >>> Found the cause of the problem: a syntax error in config.inc.php. >>> >>> I found the error by cd to /opt/local/www/phpmyadmin and then executing php >>> index.php. That gave the syntax error message. >> >> Sounds like you've configured php not to display errors in the web browser. >> That's a good security practice and may even be the default setting these >> days; you don't want an error message to reveal sensitive information about >> your server to a public visitor. But if you want to temporarily change that >> setting and display errors while working on a problem, you can edit your >> php.ini. Or you could have consulted whatever file you've configured php to >> log its errors to, or possibly your web server error log file. > > Hmm… in php.ini (for php71, which is what’s being used AFAIK — it’s what > “which php” shows) —I have: > > error_reporting = E_ALL & ~E_NOTICE > display_errors = On > display_startup_errors = On > And in config.inc.php I have: $cfg['Error_Handler']['display'] = true; --- Murray Eisenbergmurrayeisenb...@gmail.com 503 King Farm Blvd #101 Home (240)-246-7240 Rockville, MD 20850-6667Mobile (413)-427-5334
Re: phpmyadmin: getting blank page at localhost/phpmyadmin
On 29 Oct2017, at 8:52 AM, Ryan Schmidtwrote: > > > On Oct 28, 2017, at 20:04, Murray Eisenberg wrote: > >> Found the cause of the problem: a syntax error in config.inc.php. >> >> I found the error by cd to /opt/local/www/phpmyadmin and then executing php >> index.php. That gave the syntax error message. > > Sounds like you've configured php not to display errors in the web browser. > That's a good security practice and may even be the default setting these > days; you don't want an error message to reveal sensitive information about > your server to a public visitor. But if you want to temporarily change that > setting and display errors while working on a problem, you can edit your > php.ini. Or you could have consulted whatever file you've configured php to > log its errors to, or possibly your web server error log file. Hmm… in php.ini (for php71, which is what’s being used AFAIK — it’s what “which php” shows) —I have: error_reporting = E_ALL & ~E_NOTICE display_errors = On display_startup_errors = On --- Murray Eisenbergmurrayeisenb...@gmail.com 503 King Farm Blvd #101 Home (240)-246-7240 Rockville, MD 20850-6667Mobile (413)-427-5334
Re: phpmyadmin: getting blank page at localhost/phpmyadmin
On Oct 28, 2017, at 20:04, Murray Eisenberg wrote: > Found the cause of the problem: a syntax error in config.inc.php. > > I found the error by cd to /opt/local/www/phpmyadmin and then executing php > index.php. That gave the syntax error message. Sounds like you've configured php not to display errors in the web browser. That's a good security practice and may even be the default setting these days; you don't want an error message to reveal sensitive information about your server to a public visitor. But if you want to temporarily change that setting and display errors while working on a problem, you can edit your php.ini. Or you could have consulted whatever file you've configured php to log its errors to, or possibly your web server error log file.