ricardoamaro / drupal8-docker-app

App Container Drupal 8 in Docker serves as Drupal Trial for Linux/Mac/Windows users and as an Out-of-the-box Development Container
https://github.com/ricardoamaro/drupal8-docker-app
GNU General Public License v3.0
87 stars 51 forks source link

Error - "ReflectionException: Class does not exist" #11

Closed sumanchalki closed 5 years ago

sumanchalki commented 6 years ago

I am getting error with following output -

MySQL data found on /var/lib/mysql/ /var/www/html/web/index.php found grep: /var/www/html/web/sites/default/settings.php: No such file or directory Starting Drupal installation. This takes a while. Consider using the [ok] --notify global option. ReflectionException: Class does not exist in [error] /var/www/html/web/core/lib/Drupal/Core/Installer/Form/SiteSettingsForm.php:156

rwaesely commented 5 years ago

same here... is the project still active ?

fredysan commented 5 years ago

Same here

ConorWyse commented 5 years ago

I'm also getting the same. There seems to be something wrong with the settings file or with the (Drupal) code base. I would expect the former. I'm totally new to Drupal so I don't know how it should have been specified in the settings file, but if you change line 153 of the file where the error occurs to: $driver = 'mysql'; and re-run the start.sh, then you can at least see that something works. (This is obviously not a solution - but I wanted to just see Drupal running - that was the whole point of this Docker app.)

ricardoamaro commented 5 years ago

I changed the driver to mysql and it fixed this problem. Thank you all.