• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • We are looking for U.S.-based freelancer or agency working with SEO or WordPress for a quick 30-min interviews to gather feedback on XOVI, a successful German SEO tool we’re looking to launch in the U.S.
    If you qualify and participate, you’ll receive a $30 Amazon gift card as a thank-you. Please apply here. Thanks for helping shape a better SEO product for agencies!
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

php errors will not display

D

Duckington

Guest
PRODUCT, VERSION, OPERATING SYSTEM, ARCHITECTURE
Parallels Plesk Panel 10.4.4, CentOS 5

PROBLEM DESCRIPTION
When there is any kind of error in my php files the error messages are not displayed, nor do they seem to be logged. (I have checked the error log in my domain, but it is not updating with the messages).

STEPS TO REPRODUCE
I've go into my domain and to PHP Settings and changed "error reporting" to "E_ALL" and "display errors" to "on", I have also then tried restarting Plesk via SSH. But the errors still are not displayed.

I've also tried editing the /etc/php.ini file and changing the display_errors to "on" and again restarting Plesk, however they are still not being displayed, and when I view my phpinfo() I see the in the "local" column the errors are set to be displayed, bu in the "master" column they are still "off", even though I have checked the php.ini file again and they should defintely be on.

ACTUAL RESULT
Errors are not displayed on page, I just get a white page instead. This is any kind of error, so it could be syntax or it could be a problem opening a stream, etc...

EXPECTED RESULT
The error messages to be output to the page
 
We have already submitted bugreport regarding this issue. I have updated it with your case. I hope it will be fixed soon.

POSSIBLE TEMPORARY WORKAROUND:

In Panel GUI set error_reporting to custom value and enter numeric value (i.e. 6135)

"Setting error_reporting in your VirtualHost has to be done through a numerical value which is the result of the options you choose summed up from the values of these options, as defined on the constants page for the error management functions: http://www.php.net/manual/en/errorfunc.constants.php

As a result, E_ALL & ~E_NOTICE would be set this way (this automatically excludes E_DEPRECATED AND E_USER_DEPRECATED):
php_value error_reporting 6135


whereas E_ALL (excluding the deprecated levels) would be set this way:
php_value error_reporting 6143

The difference between those two values is 8, which is the value of the constant for E_NOTICE.
 
Back
Top