Hello,

I'm stuck with a WSOD when I attempt to migrate my Drupal 8 installation from local to a hosting.
The procedure is the same I had been doing successfully on older versions (Drupal 6 & 7):
1) move the files to the new host
2) import the exported database to the new host
4) change the database connection parameters on settings.php

I enabled the error reporting and it shows nothing, the logs show nothing, I tryed changing permissions and didn't work...
I installed a fresh Drupal 8 installation on the new host and it was succesfull, so the enviroment is ok for Drupal 8.

I even try to migrate from local to local (same enviroment) to a different folder and database, and got the same problem. In fact, when the copied file structures was still connected to the original database it works, so apparently the problem is on the connection to the new database.

The connection parameters I'm modifying are these, on settings.php:

$databases['default']['default'] = array (
  'database' => 'DATABASENAME',
  'username' => 'USER',
  'password' => 'PASSWORD',
  'prefix' => '',
  'host' => 'localhost',
  'port' => '3306',
  'namespace' => 'Drupal\\Core\\Database\\Driver\\mysql',
  'driver' => 'mysql',
);

I've been stuck with this problem for weeks and found nothing on internet.
Does anyone know what it could be? Any clue?

Thank you

Comments

1kenthomas’s picture

Perhaps start somewhere such as:
Blank pages or "white screen of death" (WSOD)

highvrahos’s picture

I had the same issues, a WSOD with no error reporting.

It was just my server using PHP5 for my drupal 7 installations. Try setting it to PHP7 and test again.

JulianGimenezAgut’s picture

I had the same issue in D8.4.8 and change the php settings in my server from 5 to 7 solve the problem.