Closed (fixed)
Project:
Session Cache API
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
4 May 2013 at 15:25 UTC
Updated:
19 May 2013 at 01:02 UTC
I get this when I run drush cron --debug
I also get this in my logs
Comments
Comment #1
rdeboerWas there a line number? #87 maybe?
I think I know where this might have happened, so I've checked in some defensive code so that
hook_cron()doesn't attempt a cleanup of expired cache files when no session cache directory is available.The fact that you're getting this is not a good sign: it means that your Private File System Path is not set at .../admin/config/media/file-system or that it IS set, but cannot be created due to (file/directory permissions?). Typically the Private File System Path is set to sites/default/files/private. Please check if it exists and can be written to.
Did you see any other messages or warnings? You should have. At least on the Session Cache File configuration page.
In the latest 7.x-1.x-dev and 8.x-1.x-dev I've added code to show the status of the Session Cache File cache on the Status Report page. Check if it's green.
Rik