Page 1 of 1

function.mkdir problem

PostPosted: Wed Oct 24, 2007 7:53 am
by Wolverine
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

PostPosted: Wed Oct 24, 2007 8:05 am
by 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

PostPosted: Wed Oct 24, 2007 11:16 pm
by Wolverine
[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

PostPosted: Wed Nov 21, 2007 8:23 am
by stevie
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