Re: !!Urgent .. Session Problem

From: Date: Sat, 04 Sep 2004 09:15:06 +0000
Subject: Re: !!Urgent .. Session Problem
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-195817@lists.php.net to get a copy of this message
first of all thanks for ur reply then .. there are no white spaces before the <?php in my .php file and I do have ONLY one php.ini file in the whole system drive (I'm sure of this) is there a special format for writing paths in the php.ini file .. as I do believe that I pointed correctly to the temp folder ??? "Nick Wilson" <nick@stylesheet.org> wrote in message news:20040904083910.GA4096@stylesheet.org... > > * and then Dre declared.... > > Warning: session_start(): open(/tmp\sess_2984f6d378560d0882f37728dbe1defc, > > O_RDWR) failed: No such file or directory (2) in C:\Program Files\Apache > > Group\Apache2\htdocs\ELBA\logme_in.php on line 3 > > Check your php.ini for session.save_path= > Im not sure where the temp dir is on a windows box, but point it to > there and that should do it I think. > > > Warning: session_start(): Cannot send session cookie - headers already sent > > by (output started at C:\Program Files\Apache > > Group\Apache2\htdocs\ELBA\logme_in.php:2) in C:\Program Files\Apache > > Group\Apache2\htdocs\ELBA\logme_in.php on line 3 > > Check the file for white space, this always gets me too ;-) > > Like this > ----------------start of file > > <?php > --------------------- > > See the new line above the php? that would cause that error. Check your > file for somthing similar... > > > the session.save_path parameter in my php.ini file is as follows > > ************************************** > > session.save_path = "C:/WINDOWS/Temp" > > ************************************** > > Damn! should have read the whole thing b4 replying! hehe.... you might > have several php.ini's find the right one! on my gentoo box it's in > /etc/apache2/conf/php.ini but there's also one in /etc/php.ini > > -- > Nick W

« previous php.general (#195817) next »