1. You've evidently set your site to use file-based SQL caching instead of the default of database-based or none. And, while attempting to read cached data, the system is finding that it is unable to open the files it's expecting, seemingly because they've been erased ... or maybe permissions have been changed somehow.
2. That's causing the second problem of SESSION_WRITE_DIRECTORY not being set, because the cached data is expected to contain the expected value for that and several hundred other settings.
I suggest you edit your 2 configure.php files and set this:
Code:
define('SQL_CACHE_METHOD', 'none');