Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
C
Core
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 913
    • Issues 913
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Operations
    • Operations
    • Incidents
  • Analytics
    • Analytics
    • Repository
    • Value Stream
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
  • Development
  • Core
  • Issues
  • #1034

Closed
Open
Opened Jun 11, 2019 by jaapjansma@jaapjansmaDeveloper

Clearing caches with OPCache enabled results in Fatal error about file not found

I have a server with OPCache enabled and every time I visit the extension page or clear the civicrm cache with civicrm/clearcache?reset=1 civicrm will fail with the following error:

PHP Fatal error:  require(): Failed opening required '/home/civicrm/domains/civicrm.devz.no/private_html/sites/default/files/civicrm/templates_c//CachedExtLoader.46b570d6687674478a30918df6837257.php' 

(include_path='.:/home/civicrm/domains/civicrm.devz.no/private_html/sites/all/modules/civicrm:/home/civicrm/domains/civicrm.devz.no/private_html/sites/all/modules/civicrm/packages:.:/home/civicrm/domains/civicrm.devz.no/public_html/sites/all/modules/civicrm:/home/civicrm/domains/civicrm.devz.no/public_html/sites/all/modules/civicrm/packages:/home/civicrm/domains/civicrm.devz.no/public_html/sites/all/modules/civicrm/vendor/tecnickcom:/home/civicrm/domains/civicrm.devz.no/public_html/sites/all/modules/civicrm/vendor/phpseclib/phpseclib/phpseclib:/home/civicrm/domains/civicrm.devz.no/public_html/sites/all/modules/civicrm/vendor/pear/pear_exception:/home/civicrm/domains/civicrm.devz.no/public_html/sites/all/modules/civicrm/vendor/pear/auth_sasl:/home/civicrm/domains/civicrm.devz.no/public_html/sites/all/modules/civicrm/vendor/pear/log 

in /home/civicrm/domains/civicrm.devz.no/public_html/sites/all/modules/civicrm/CRM/Extension/ClassLoader.php on line 86\n
To upload designs, you'll need to enable LFS and have admin enable hashed storage. More information
Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking
None
Due date
None
Reference: dev/core#1034