Had this same error, changed the permission settings on the cache.php to 777, changed permission settings on the "core" folder and finally found that the permissions setting on the "lib" folder were wrong, changed them to 777 and it worked fine... Not sure if this is right, its just a trial site at the moment so if this is the wrong setup would welcome any feedback..