Skip to content

Instantly share code, notes, and snippets.

@fbrnc
Last active December 18, 2015 12:39
Show Gist options
  • Save fbrnc/5784176 to your computer and use it in GitHub Desktop.
Save fbrnc/5784176 to your computer and use it in GitHub Desktop.
Seeing "Warning: include(): Failed opening 'File.php' for inclusion" errors in your logs?Check your cache settings in local.xml. The correct value is "File", otherwise it will still work because of the fallback but look up a non-existing file and flood your logs)
<config>
<global>
<cache>
<backend>File</backend>
<!-- not "Files", "files", or "file" (Although this mentioned in app/etc/local.xml.additional. It will work because it will fallback to the file backend, but it will flood your error log... -->
</cache>
</global>
</config>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment