Re: File problem

From: Date: Wed, 29 Nov 2000 10:20:42 +0000
Subject: Re: File problem
Groups: php.general 
Request: Send a blank email to php-general+get-27933@lists.php.net to get a copy of this message
Is there a dit called ./data/sessdata/ if not try creating it and change the user/group to that of the webserver. if it does exist, whats in there? are there session files? if not ask your sysadmin where are the session files stored? and how can you get permissions to that dir. Chris Lee Mediawaveonline.com In article <002901c05a4a$3a612a60$0100a8c0@ville>, ville.mattila@pilotmedia.net wrote: > Hello there, > > I have been testing our becoming webshop in my own Windows 98 box, > Apache and PHP. It worked excellent, no problems. But just after I > transferred the system to our ISP's server, the script causes following > errors: > > *** > Warning: open_basedir restriction in effect. File is in wrong directory. > in sessions.inc on line 13 > > Warning: > fopen("./data/sesdata/895a7ba87e7ec5369b702f3aed9ef786.dat","w+") - No > such file or directory in sessions.inc on line 13 > *** > > What's the problem? I'm sure that there is required directories. The > file should be created if it's not created yet, but as I have understood > "w+" does that. And whole problem appeared since the script files were > moved to ISP's server, everything works fine in my local machine. > > Thanks, > - Ville > >

« previous php.general (#27933) next »