Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
By Patrick Ruytings on
When we click on some links in the menu, we get this kind of warning:
Warning: PDO::__construct(): php_network_getaddresses: getaddrinfo failed: Name or service not known in DatabaseConnection->__construct() (line 307 of /customers/6/2/d/seniorama.be/httpd.www/includes/database/database.inc).
We have nothing changed on our site.
Is there someone who can help us?
Thanks a lot!
Comments
=-=
using the error as a keyword in google uncovered threads such as https://www.drupal.org/node/1346590
have you worked through it?
open settings.php
inspect database name / user / password
insure they match the current database