Looks like the web server or PHP can't write to /var/lib/php5/ for the session files. What did you change in the config?
Session problems on Forge
Ok, I can start by saying that I am not great on this server config stuff. I have had the social logins working with sessions and all that before, but then I edited the config file because I wanted to gzip the content that was sent to the browser. Now I am getting this.
ErrorException (E_UNKNOWN) open(/var/lib/php5/sess_2fde40503711502d2a6fe148dfcee783, O_RDWR) failed: Permission denied (13)
Open: /home/forge/default/vendor/lusitanian/oauth/src/OAuth/Common/Storage/Session.php
public function __construct(
$startSession = true,
$sessionVariableName = 'lusitanian_oauth_token',
$stateVariableName = 'lusitanian_oauth_state'
) {
if ($startSession && !isset($_SESSION)) {
session_start();
}
session_start(); has red background in the error. I am not sure what the reason is for this error? Have anybody else got the same thing? It started happening after I added gzip to the config, but even if I remove it it won't go back to working for some reason.
Worth to note is that the usual email + password login works fine. But not this OAuth stuff.
Using Laravel 4.2.
Please help me out :)
// Jimmie
Please or to participate in this conversation.