Page 1 of 1

Installation problem: Dataface was unable to create the dir

PostPosted: Sat Mar 14, 2009 7:43 am
by Romein
Hi,
Like in another thread I get the following error:

================
Configuration Required

Dataface was unable to create the directory '/bib/session/473f1fdde21cb2f5008b4a10d2d858e6' to store its session files.

Possible reasons for this:

The script does not have permission to create the directory.
The server is operating in safe mode.
Possible Solutions for this:

Make the /bib/session writable by the web server. E.g. chmod 0777 /bib/session.
Manually create the '/bib/session/473f1fdde21cb2f5008b4a10d2d858e6' directory and make it writable by the web server.
Change the session save path to a directory to which you have write permissions by adding the following to the beginning of your application's index.php file:
session_save_path('/path/to/dir');
If none of these solves the problem, visit the Dataface forum at http://fas.sfu.ca/dataface/forum and ask for help.
Debugging Information:

On line 683 of file /var/www/vhosts/yyy.nl/httpdocs/bib/dataface/Dataface/Application.php in function printStackTrace()
On line 1411 of file /var/www/vhosts/yyy.nl/httpdocs/bib/dataface/Dataface/Application.php in function startSession()
On line 30 of file /var/www/vhosts/yyy.nl/httpdocs/bib/index.php in function display()
================

Safe mode is off.

And I already tried to make the /bib/session writable by the web server. I also tried to manually create the '/bib/session/473f1fdde21cb2f5008b4a10d2d858e6' directory and make it writable by the web server. As well as, to change the session save path to a directory to which I have write permissions by adding a relevant session_save_path(' ... '); to the beginning of index.php.

Still the error remains. Any ideas?

Gert

PostPosted: Tue Mar 17, 2009 4:52 pm
by shannah
It looks like the problem has to be to do with your session directory not being writable. Are you sure you made the '/bib/session' directory writable and not the 'bib/session' directory?[/i]

Solved

PostPosted: Sat Mar 28, 2009 3:22 am
by Romein
I solved the problem :D by including

session_save_path('session');

in the index.php file.

Greetz GW

PostPosted: Thu Dec 03, 2009 1:56 pm
by amrcode1
Hi, I have the same problem, i try solve this creating "session" dir, and write ini_set('session.save_path', 'session'); but don't work, if i try loggin the xataface don't loggin and reload the login prompt.

PD: i'm hosting my xataface app in a shared host in
www.eyscargo.com/rastreo/

PD2: i hoe you can understand my poor english

If someone can help me, please...