I have Drupal 8 website created with composer. I put all files to my remote server in the sitename/www/ but my page won't load. I receive such an error:
Fatal error: Class 'Drupal\Core\DrupalKernel' not found in /home/bx273629/drupal8.com.ua/www/index.php on line 16
I think it is because I created that website with the Composer. Does any body know how to deploy correctly such a websites?
Website perfectly works locally!
I have such an error:
'Fatal error: require(): Failed opening required '/home/bx273629/drupal8.com.ua/www/../vendor/autoload.php' (include_path='.:/usr/local/pear/php56') in /home/bx273629/drupal8.com.ua/www/autoload.php on line 17'
And on the line 17 of these file I have such a string:
return require DIR . '/../vendor/autoload.php';
It is from the outer folder which was installed with composer.
composer update
?