Answers.Body: <p>Welcome to Stack Exchange!  I'm tempted to mark this question as a duplicate to point you to existing answers - but I'm struggling to find the "one true answer". <a href="https://civicrm.stackexchange.com/questions/18930/templates-c-cache-files-not-being-deleted">templates_c cache files not being deleted</a> is close.  Essentially, it sounds like something created a file in <code>templates_c</code> that's not readable by the web server user.  The quick solution is to delete the <code>templates_c</code> folder - this is always safe and it will regenerate.  However, in the longer term you need to find what caused the problem.  Are you running cron as a user other than the web server/PHP user?  Are you running <code>drush</code> from the command line as a user with different permissions?  If you don't find the solution the problem will keep coming back.</p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2020-03-12T14:31:54.597Z
Answers.LastActivityDate: 2020-03-12T14:31:54.597Z
Answers.UserDisplayName: Jon G - Megaphone Tech
Body: <p>recently I am unable to load Log Entry Views and other settings pages in my Drupal CiviCRM. On the page it shows the following errors:</p>
  
  <p>Warning: include(/var/www/html/sites/default/files/civicrm/templates_c/de_DE//%%48/488/4880C3C4%%LogViewEntry.tpl.php): failed to open stream: No such file or directory in include() (Zeile 1911 von /var/www/html/sites/all/modules/civicrm/packages/Smarty/Smarty.class.php).</p>
  
  <p>Warning: include(): Failed opening '/var/www/html/sites/default/files/civicrm/templates_c/de_DE//%%48/488/4880C3C4%%LogViewEntry.tpl.php' for inclusion (include_path='/var/www/html/sites/default/files/civicrm/ext/uk.artfulrobot.civicrm.importhelper/:/var/www/html/sites/default/files/civicrm/ext/ca.bidon.civiexportexcel/:/var/www/html/sites/default/files/civicrm/ext/ca.civicrm.logviewer/:/var/www/html/sites/default/files/civicrm/ext/com.agiliway.civimobileapi/:.:/var/www/html/sites/all/modules/civicrm:/var/www/html/sites/all/modules/civicrm/packages:.:/var/www/html/sites/all/modules/civicrm:/var/www/html/sites/all/modules/civicrm/packages:/var/www/html/sites/all/modules/civicrm/vendor/tecnickcom:/var/www/html/sites/all/modules/civicrm/vendor/phpseclib/phpseclib/phpseclib:/var/www/html/sites/all/modules/civicrm/vendor/pear/pear_exception:/var/www/html/sites/all/modules/civicrm/vendor/pear/auth_sasl:/var/www/html/sites/all/modules/civicrm/vendor/pear/log:/var/www/html/sites/all/modules/civicrm/vendor/pear/console_getopt:/var/www/html/sites/all/modules/civicrm/vendor/pear/pear-core-minimal/src:/var/www/html/sites/all/modules/civicrm/vendor/pear/mail:/var/www/html/sites/all/modules/civicrm/vendor/pear/net_socket:/var/www/html/sites/all/modules/civicrm/vendor/pear/net_smtp:/var/www/html/sites/all/modules/civicrm/vendor/pear/validate_finance_creditcard:.:/usr/share/php') in include() (Zeile 1911 von /var/www/html/sites/all/modules/civicrm/packages/Smarty/Smarty.class.php).</p>
  
  <p>The last major change to my CRM was adding the civicrm.importhelper extension.</p>
  
Tags: <drupal><logs>
Title: Log Entry View and other settings pages don't load (5.18.4, Drupal 7.67)
ThreadText: # Log Entry View and other settings pages don't load (5.18.4, Drupal 7.67)
  
  (Asked by: username_0 on 2020-03-12)
  
  recently I am unable to load Log Entry Views and other settings pages in my Drupal CiviCRM. On the page it shows the following errors:
  
  Warning: include(/var/www/html/sites/default/files/civicrm/templates\_c/de\_DE//%%48/488/4880C3C4%%LogViewEntry.tpl.php): failed to open stream: No such file or directory in include() (Zeile 1911 von /var/www/html/sites/all/modules/civicrm/packages/Smarty/Smarty.class.php).
  
  Warning: include(): Failed opening '/var/www/html/sites/default/files/civicrm/templates\_c/de\_DE//%%48/488/4880C3C4%%LogViewEntry.tpl.php' for inclusion (include\_path='/var/www/html/sites/default/files/civicrm/ext/uk.artfulrobot.civicrm.importhelper/:/var/www/html/sites/default/files/civicrm/ext/ca.bidon.civiexportexcel/:/var/www/html/sites/default/files/civicrm/ext/ca.civicrm.logviewer/:/var/www/html/sites/default/files/civicrm/ext/com.agiliway.civimobileapi/:.:/var/www/html/sites/all/modules/civicrm:/var/www/html/sites/all/modules/civicrm/packages:.:/var/www/html/sites/all/modules/civicrm:/var/www/html/sites/all/modules/civicrm/packages:/var/www/html/sites/all/modules/civicrm/vendor/tecnickcom:/var/www/html/sites/all/modules/civicrm/vendor/phpseclib/phpseclib/phpseclib:/var/www/html/sites/all/modules/civicrm/vendor/pear/pear\_exception:/var/www/html/sites/all/modules/civicrm/vendor/pear/auth\_sasl:/var/www/html/sites/all/modules/civicrm/vendor/pear/log:/var/www/html/sites/all/modules/civicrm/vendor/pear/console\_getopt:/var/www/html/sites/all/modules/civicrm/vendor/pear/pear-core-minimal/src:/var/www/html/sites/all/modules/civicrm/vendor/pear/mail:/var/www/html/sites/all/modules/civicrm/vendor/pear/net\_socket:/var/www/html/sites/all/modules/civicrm/vendor/pear/net\_smtp:/var/www/html/sites/all/modules/civicrm/vendor/pear/validate\_finance\_creditcard:.:/usr/share/php') in include() (Zeile 1911 von /var/www/html/sites/all/modules/civicrm/packages/Smarty/Smarty.class.php).
  
  The last major change to my CRM was adding the civicrm.importhelper extension.
  
  **Tags:** drupal, logs
  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_1 on 2020-03-12. Score: 0
  
  Welcome to Stack Exchange! I'm tempted to mark this question as a duplicate to point you to existing answers - but I'm struggling to find the "one true answer". [templates\_c cache files not being deleted](https://civicrm.stackexchange.com/questions/18930/templates-c-cache-files-not-being-deleted) is close. Essentially, it sounds like something created a file in `templates_c` that's not readable by the web server user. The quick solution is to delete the `templates_c` folder - this is always safe and it will regenerate. However, in the longer term you need to find what caused the problem. Are you running cron as a user other than the web server/PHP user? Are you running `drush` from the command line as a user with different permissions? If you don't find the solution the problem will keep coming back.
  
  
  ---
  
  