0

Upgrading from Magento 1.3 ( using full package -> overwrite ) . I get

Fatal error: Class 'file' not found in /home/www/r2h/mysite.net/public/lib/Zend/Cache.php on line 153

Something to do with the cache I guess..? I have cleared apc and there is no file in /app/etc to delete which usually clears the cache.

I'm a bit baffled now.? Thanks :-)

Martin Thompson
  • 3,415
  • 10
  • 38
  • 62

2 Answers2

0

Magento 1.4 and newer works a bit different on clearing the cache.

That file named cache.ser (I think that's the name) no longer exists and its function has been moved into the core_cache_option table in the database. Turn off Cache in Database.

To manually clear the Magento cache, delete all the subdirectories in app/var/cache.

Community
  • 1
  • 1
Fiasco Labs
  • 6,457
  • 3
  • 32
  • 43
  • ok - I guess the problem is that it hasn't actually upgraded. I copied entire site , got it working as a copy of 1.3 , then overwrote with 1.4 files which is supposed to upgrade DB. There is no cache.ser file , and there is no core_cache_option table in the database. :-( Maybe I missed something. – Martin Thompson Jun 01 '15 at 19:16
0

ok - Found the answer. I was overwriting my 1.3 files instead of starting with a clean directory and updating the database - then moving themes, extensions etc over.

Martin Thompson
  • 3,415
  • 10
  • 38
  • 62