Jump to content

Recommended Posts

Posted

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

Posted

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)

Posted

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?

Posted (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 by dennisbrouwer
500 Server Error
  • 1 month later...
Posted

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

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
×
  • Create New...