Glad part of your problem was solved!
The other half of your problem sounds like a problem with the cache file. It probably did not get created or does not have correct permissions. Check the location you provided or the location of index.php for a .cache file. If it exists, is it empty? If not, create it and give it writable permission.