Page 1 of 1

Failed to write session data (user)

Posted: Wed Jan 15, 2003 9:37 am
by fjanssens
Operating System= Mac OS 10.2.3 (Jaguar updated)
Running PHP 4.2.3
MySQL 3.23.51 running on localhost as public@localhost
Database Claroline installed.
PhpMyAdmin working perfectly well so I can manage db Claroline.
You can check http://ovpserv3.rug.ac.be/~frank/info.php
You can chec http://ovpserv3.rug.ac.be/~frank/phpMyAdmin/
as user=public without password.

But when I try to use iyt as a webuser

http://ovpserv3.rug.ac.be/~frank/claroline-1.3.1/

then I get this message:


Failed to write session data (user)
Please verify that the current setting of session.save_path is correct (/tmp/mysql.sock) in Unknown on line 0

Weeks I spend this problem and not one php specialist on different forums can solve the problem allthough the problem is not uncommon.

Somebody here ???? :oops:

Posted: Wed Jan 15, 2003 9:44 am
by twigletmac
You need to set a path for the session data to be saved to, this is normally done in the php.ini. This thread may be of interest:
viewtopic.php?t=3916

Mac