Still on Drupal 7? Security support for Drupal 7 ended on 5 January 2025. Please visit our Drupal 7 End of Life resources page to review all of your options.
I get SQLSTATE[HY000] [2002] php_network_getaddresses: getaddrinfo failed: nodename nor servname provided, or not known error during cache-rebuild so checked Connection.php and saw the $dsn value is different with .env and settings.php info. according to followed var_dump it returns string(58) "mysql:host=server1;port=3306;charset=utf8mb4;dbname=testdb"
I do not have a lot of experience with Drupal. I have a development site and production site. When I try to login to to my development site, it redirects to the production, making the development unusable. Can someone help me find the file I need to edit my theme to change the path to relative?
I'm working on a custom theme without much knowledge of Drupal. We're working mostly on Wordpress and we had to move to Drupal for this project.
We are using the Poll module that does the job except that when we send the result or try to see the results, it does not change the view or reload the page, the only modification is the "Loading message" that is added on the right of the input and then nothing.
We would like to know if we maybe deleted some region or block that was needed, some wrapper that should be available for the AJAX to work.