SessionFileStore: inaccessible directory "/tmp"
Installed wacko, all successful until finally got error message:
SessionFileStore: inaccessible directory "/tmp" and blocked ("rien ne va plus")
Tried/checked
– manually make new directory tmp + releasing rights
– opened config.php and looks fine
Installation:
– 'wacko_version' => '5.5.8',
– locally, on xampp windows ApacheFriends XAMPP Version 7.2.4
What did I do wrong? Tnx in advance!
Re: inaccessible directory "/tmp"
'/tmp'
folder.Possible options:
A
Change in constants.php the value for
CACHE_SESSION_DIR
to_cache/session
or in your case/xampp/tmp
B
Change in the secondary config / Admin panel System section the
session_store
value for Session handling from File (1
) to Database (2
).C
Address your insufficient user or access rights for the
'/tmp'
folder. On Windows you might want chose option A or B.tmp folder for XAMPP Windows
The defaulttmp/
folder for XAMPP Windows resides underC:\xampp\tmp
, see comment below.define('CACHE_SESSION_DIR', '/xampp/tmp');
A not working; C done; B= ??
option A: done, but returned "SessionFileStore: inaccessible directory "/_cache/session""
option C: done, all Windows permissions set to "allow" etc
option B: cannot find file to edit, where exactly is it?
Tnx again, ciao
Re: session_store settings
/_cache/session
and user (xampp).To B, you can change the value
session_store
either in the config table or via the Admin panel in the System section.Missing /tmp folder on Windows
XAMPP Windows folder for session data /xampp/tmp
tmp/
folder for XAMPP Windows resides underC:\xampp\tmp
. I totally missed the fact that the path differs on Windows.constants.php
Added a note about setting the path for
CACHE_SESSION_DIR
to the release notes and installation instructions.