Installation problem: Dataface was unable to create the dir

A place to discuss and receive support for the Library DB application.

Installation problem: Dataface was unable to create the dir

Postby Romein » Sat Mar 14, 2009 7:43 am

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
Romein
 
Posts: 2
Joined: Sat Mar 14, 2009 7:31 am

Postby shannah » Tue Mar 17, 2009 4:52 pm

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]
shannah
 
Posts: 4457
Joined: Wed Dec 31, 1969 5:00 pm

Solved

Postby Romein » Sat Mar 28, 2009 3:22 am

I solved the problem :D by including

session_save_path('session');

in the index.php file.

Greetz GW
Romein
 
Posts: 2
Joined: Sat Mar 14, 2009 7:31 am

Postby amrcode1 » Thu Dec 03, 2009 1:56 pm

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...
amrcode1
 
Posts: 18
Joined: Thu Nov 12, 2009 11:09 am


Return to Library DB Discussion

Who is online

Users browsing this forum: No registered users and 3 guests

cron
Powered by Dataface
© 2005-2007 Steve Hannah All rights reserved