Failed to write session data (user)

Questions about the MySQL, PostgreSQL, and most other databases, as well as using it with PHP can be asked here.

Moderator: General Moderators

Post Reply
fjanssens
Forum Newbie
Posts: 11
Joined: Fri Dec 20, 2002 9:57 am
Location: Ghent University

Failed to write session data (user)

Post 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:
User avatar
twigletmac
Her Royal Site Adminness
Posts: 5371
Joined: Tue Apr 23, 2002 2:21 am
Location: Essex, UK

Post 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
Post Reply