-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
Remove error display on productive systems and use log file instead #7509
Comments
Which platform are you using? |
Ubuntu 13.10. Error messages (even warnings and notices) are shown in HTML by default on most PHP installations. |
I also never had this on openSUSE 13.1. |
Are you really sure PHP errors will not be visible to users? What happes when you add some nonsense to index.php? Maybe this is a solution:
|
Just checked and php.ini in openSUSE 13.1 has this by default:
Looks like using |
@netAction I think this is the responsibility of the server admin to configure php properly. We shouldn't try to override server settings from the application side. ownCloud doesn't know if this is a production, development or a debugging server. |
Dropping errors as HTML to the browser is never a good idea. There already is an internal error log. If you do not like this you could build a new one. In my oppinion, every server could be sometimes used for debugging, too. |
Should we update the documentation instead and tell people to disable error display ? |
Closing this as this should be the responsibility of the server admin. - It's even documented on the PHP documentation: http://php.net/manual/en/errorfunc.configuration.php#ini.display-errors |
OwnCloud Version: 6.0
Expected behaviour: OwnCloud should never show error messages to users.
Current behaviour: OwnCloud needs setup in Apache VirtualHost directive.
The text was updated successfully, but these errors were encountered: