I have followed several articles on this, but none solve my problem. Every request on site writes the following entry to the system log.
var/log/system.log
:
2013-10-09T12:53:50+00:00 ERR (3): Warning: include(File.php): failed to open stream: No such file or directory in /var/public_html/domain.com/live/lib/Varien/Autoload.php on line 93
2013-10-09T12:53:50+00:00 ERR (3): Warning: include(): Failed opening 'File.php' for inclusion (include_path='/var/public_html/domain.com/live/app/code/local:/var/public_html/domain.com/live/app/code/community:/var/public_html/domain.com/live/app/code/core:/var/public_html/domain.com/live/lib:.:/usr/share/pear:/usr/share/php') in /var/public_html/domain.com/live/lib/Varien/Autoload.php on line 93
I have seen and followed articles that indicate this is related to the compiler.
What I've Done So Far
I have commented the two lines out in includes/config.php
.
Cleared the profiler from terminal following Mr Storm's article: Magento Compiler.
Ensured that the caches are emptied and indexing has been run several times.
Compared a vanilla copy of 1.7.0.2 CE and looked for any files that my own codebase might be missing (using WinMerge).
Disabled symlinks in admin.
Changed file permissions to several various recommendations and back again.
I've also noticed that the profiler page in admin located at Admin > System > Tools > Compilation
is completely blank, apart from the nav and footer.
Any help on where to now would be very appreciated. Please ask if anything is unclear. Thanks!
/lib/Varien/Autoload.php on line 93
and use Mage'smageDebugBacktrace()
(it's a function, so call it directly). See where did that File.php came from. Useif ($class === 'File') { mageDebugBacktrace(); }
so it won't print on every class autoload. I had a similar issue with Ecomdev's PHPUnit module.if ($class === 'File') { mageDebugBacktrace(); }
inlib/varien/autoload.php
as here : pastebin.com/yiZ0cjVy , but still it gave me same issue....