Drupal 8 not Display or Rebuild correctly | Drupal 8

Drupal 8 not Display or Rebuild correctly

Submitted by editor on Mon, 11/23/2015 - 10:37

After copy drupal to server or after change drupal direcory, site not display / rebuild correctly.
And clear cache / drush cr not resolve the probleme.
The folder files/php/twig not present !!!

This is due to file/folder permission. so drupal cant write twig tempory files.

Change folder owner / permission like:
chown DRUPAL:www-data -R files/* (On debian/Ubuntu)
chown DRUPAL:apache -R files/* (On Redhat/CentOD/Fedors)

chmod 0770 -R files/*
Note: DRUPAL=> Replace with the drupal user name or root (CAUTION)

Add new comment

Plain text

  • No HTML tags allowed.
  • Lines and paragraphs break automatically.
  • Web page addresses and email addresses turn into links automatically.