Actions
Bug #79311
closedDangerous error message
Status:
Rejected
Priority:
Must have
Assignee:
-
Category:
-
Target version:
-
Start date:
2017-01-13
Due date:
% Done:
0%
Estimated time:
TYPO3 Version:
6.2
PHP Version:
5.6
Tags:
Complexity:
Is Regression:
No
Sprint Focus:
Description
Hi,
I've got a strange error message that shows DB username and password on home page. It comes after the hostname changed for no reason (maybe security issue?). This is the second website that had this problem today.
Here is the message :
#1: PHP Warning: mysqli::real_connect(): php_network_getaddresses: getaddrinfo failed: Name or service not known in /home/httpd/vhosts/le-mouret.ch/httpdocs/typo3/sysext/core/Classes/Database/DatabaseConnection.php line 1199 (More information) TYPO3\CMS\Core\Error\Exception thrown in file /home/httpd/vhosts/le-mouret.ch/httpdocs/typo3/sysext/core/Classes/Error/ErrorHandler.php in line 101.
Bellow it come the password and username (see the screenshot).
Thanks,
JR
Files
Updated by Mathias Schreiber almost 8 years ago
- Status changed from New to Rejected
The issue is that you configured your webserver to show this kind of information.
The screenshot you attached is the result of debug output that may never, ever be used on a production website.
TYPO3 can't change anything here, since this is PHP config.
Actions