Question
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