Tommaso Posted October 26, 2016 Report Share Posted October 26, 2016 Hello, when trying to install Revive AdServer I immediatelly get this error: The session save path '/var/lib/php/session' is not writable. I actually don't even see this directyory, it does not exist. any suggestion? thanks Quote Link to comment Share on other sites More sharing options...
Ian Posted October 26, 2016 Report Share Posted October 26, 2016 mkdir /var/lib/php/session ; chown $user:$group /var/lib/php/session where $user and $group are the user/group which your httpd is running on (nginx/httpd/www-user) Quote Link to comment Share on other sites More sharing options...
Tommaso Posted October 27, 2016 Author Report Share Posted October 27, 2016 Thanks for the reply but actually I am not capable of doing what you are suggesting. I have a plesk access but I am not confortable with linux command line. I could get some assistance though. Is this directory supposed to be created in the root of the server or in the web domain root? Quote Link to comment Share on other sites More sharing options...
Ian Posted October 27, 2016 Report Share Posted October 27, 2016 Normally it's just a path on the server. I have no idea about how Plesk handles that. Quote Link to comment Share on other sites More sharing options...
Tommaso Posted October 27, 2016 Author Report Share Posted October 27, 2016 with Plesk I don't think I can create a path on the server, just in the websites' root Quote Link to comment Share on other sites More sharing options...
Matteo Beccati Posted October 27, 2016 Report Share Posted October 27, 2016 @Tommaso could you please send me a link to a phpinfo() page via direct message? Quote Link to comment Share on other sites More sharing options...
Matteo Beccati Posted October 28, 2016 Report Share Posted October 28, 2016 Turns out the PHP setup was correct and the error message was wrongly triggered. It's a Revive Adserver bug that will be fixed in 4.0.1. Quote Link to comment Share on other sites More sharing options...
Tommaso Posted October 28, 2016 Author Report Share Posted October 28, 2016 Thanks @Matteo Beccati for your collaboration. Quote Link to comment Share on other sites More sharing options...
Matteo Beccati Posted November 1, 2016 Report Share Posted November 1, 2016 For reference, just delete or comment out the if block in the __construct method of lib/OX/Admin/UI/SessionStorage.php in order to bypass the check. Quote Link to comment Share on other sites More sharing options...
dennisbrouwer Posted November 1, 2016 Report Share Posted November 1, 2016 (edited) HI Matteo, would that look like this..? Deleting the IF block causes a 500 error. class OX_Admin_UI_SessionStorage implements OX_Admin_UI_Storage { private $id; private $path; function __construct($id = null, $path = null) { { $path = session_save_path(); { } } $this->id = isset($id)? $id : 'session_id'; $this->path = $path; } Edited November 1, 2016 by dennisbrouwer 500 Server Error Quote Link to comment Share on other sites More sharing options...
Aramon Posted December 7, 2016 Report Share Posted December 7, 2016 Hello,I solved it by deleting lines: // if (!empty($path) && !is_writable($path)) { // echo htmlspecialchars("The session save path '{$path}' is not writable."); // exit; // } of lib/OX/Admin/UI/SessionStorage.php Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.