Answer the question
In order to leave comments, you need to log in
How to solve page--front.tpl.php page cache problem in drupal 7?
The situation is this, there is a template for the main page of the site page--front.tpl.php.
Made 1 harmless change <?php print $messages; ?>
and saved. I go to the main page - there is complete chaos, the layout has flown, everything is displayed incorrectly, etc., I go to other pages - everything is fine.
On other pages you get an error saying I can't load page--front.tpl.php:
Warning: include(/var/www/html/sites/all/themes/mytheme/templates/page--front.tpl.php) [function.include]: failed to open stream: Permission denied в функции theme_render_template() (строка 1505 в файле var/www/html/includes/theme.inc).
Warning: include() [function.include]: Failed opening '/var/www/html/sites/all/themes/mytheme/templates/page--front.tpl.php' for inclusion (include_path='.:/usr/share/pear:/usr/share/php') в функции theme_render_template() (строка 1505 в файле /var/www/html/includes/theme.inc).
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question