function.mkdir problem

A place for users and developers of the Xataface to discuss and receive support.

function.mkdir problem

Postby Wolverine » Wed Oct 24, 2007 7:53 am

Warning: mkdir() [function.mkdir]: Invalid argument in D:\WebSites\auction\dataface\Dataface\Application.php on line 556

Does anyone now how to fix this? :?:
On my test system it works fine. :?

OS : Windows XP Pro.
Apache 2.2.6 (Win32)
PHP 5.2.4

THX
Wolverine
 
Posts: 2
Joined: Wed Oct 24, 2007 7:47 am

Postby shannah » Wed Oct 24, 2007 8:05 am

This occurs when dataface is trying to make a subdirectory to store its session files. Likely it doesn't have write permission to the sesson save directory.

You can explicitly set the session save directory to some other directory by addying the following to the beginning of your index.php file:
Code: Select all
session_save_path('/path/to/directory');



-Steve
shannah
 
Posts: 4457
Joined: Wed Dec 31, 1969 5:00 pm

Postby Wolverine » Wed Oct 24, 2007 11:16 pm

[quote="shannah"]This occurs when dataface is trying to make a subdirectory to store its session files. Likely it doesn't have write permission to the sesson save directory.

You can explicitly set the session save directory to some other directory by addying the following to the beginning of your index.php file:
Code: Select all
session_save_path('/path/to/directory');



-Steve


Hi,

but this does not help me. Same problem!
I install all the webauction,datafce and db new... so i got a clean installation, but same error.

thx for help
Wolverine
 
Posts: 2
Joined: Wed Oct 24, 2007 7:47 am

Postby stevie » Wed Nov 21, 2007 8:23 am

I had exactly the same problem, but Steve Hannah's advice worked perfectly for me.

I added this line to the beginning of my index.php file:

Code: Select all
session_save_path('/intranet/dataface/tmp');


And I created a "tmp" directory in my dataface directory.

BTW, my environment is also Windows, but in my case it's Server 2003, and I'm running IIS with PHP 5.2.0. -Steve
stevie
 
Posts: 12
Joined: Tue Nov 20, 2007 7:45 pm


Return to Xataface Users

Who is online

Users browsing this forum: No registered users and 29 guests

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