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 cannot connect to my test site (clone of a production site)
This is how I built the test site:
- Copy "mysite" folder to "mytestsite" folder
- Copy "mysite" database to to "mytestsite" database
- Edit "mytestsite/sites/default/settings" and set databasename, databaseuser and databasepassword of "mytestsite" database
As far as I remember I did it this way many times and it worked, but this time it doesn't.
Drupal 10.2.2, PHP 8.2. I've never had any issue like this managing many websites for years on my own server. I cannot seem to figure out the issue or be able to Google any help. Besides these 2 issues, the site works fine. There are never any error message in the Drupal log. I have "All messages, with backtrace information" enabled and still no errors displayed. I've tried changing file permissions, among other ideas.
I'm preparing for a change of hosting package with my present hosting company, antagonist.nl. They only offer service for transfer for WordPress based websites. So I will have to do part of the transfer manually. Can anyone point me to the settings within the Drupal install that I will have to adapt. I already found out that I will have to change the database pointers in the settings.php files for my three websites. Anything else that I should be aware of?
With Drupal 7 Rules I was able to do a very simple action: after the user logged in with the 'company' role and if he had not yet created his company node, he was shown a message reminding him that he had not yet created it and inviting him with a "href to node add" to create it.
What allowed me to do this as condition was a PHP add-in for Rules that allowed me to run a query on the DB