Page 1 of 1
Hai guys I got some error hope someone could help me
Posted: Sun Jan 17, 2010 7:05 am
by omgimstupid
Hey i guys I got this error and i dont know how to fix it. My friend told me that the php.ini not configured properly..I hope someone could provide step by step guide to fix this problem
Code: Select all
Warning: session_start() [function.session-start]: open(C:/DOCUME~1/ADMINI~1/LOCALS~1/Temp/2e\sess_bf546a6a14333c84c47344b1d2026592, O_RDWR) failed: No such file or directory (2) in C:\AppServ\www\admin\index.php on line 2
Warning: session_start() [function.session-start]: Cannot send session cookie - headers already sent by (output started at C:\AppServ\www\admin\index.php:2) in C:\AppServ\www\admin\index.php on line 2
Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at C:\AppServ\www\admin\index.php:2) in C:\AppServ\www\admin\index.php on line 2
Warning: Unknown: open(C:/DOCUME~1/ADMINI~1/LOCALS~1/Temp/2e\sess_bf546a6a14333c84c47344b1d2026592, O_RDWR) failed: No such file or directory (2) in Unknown on line 0
Warning: Unknown: Failed to write session data (files). Please verify that the current setting of session.save_path is correct (C:/DOCUME~1/ADMINI~1/LOCALS~1/Temp/2e) in Unknown on line 0
am I on the wrong forum? if yes please give me a link
Re: Hai guys I got some error hope someone could help me
Posted: Sun Jan 17, 2010 8:06 am
by Eran
The location of the session files on your computer is not writable for whatever reason. You can control the location via the session.save_path parameter in your php.ini configuration file
Re: Hai guys I got some error hope someone could help me
Posted: Sun Jan 17, 2010 7:29 pm
by omgimstupid
pytrin wrote:The location of the session files on your computer is not writable for whatever reason. You can control the location via the session.save_path parameter in your php.ini configuration file
Thank you for your concern. To be honest Im a newbie in php. Is there any step by step tutorial to fix this? I really appriciate if someone could help me with this. Thank you in advance.
Re: Hai guys I got some error hope someone could help me
Posted: Sun Jan 17, 2010 7:34 pm
by mellowman
Read up about the
php.ini file...then just go make one and change the
session.save_path parameter to writable
if u need some help im on aim :]
aim-imcmellowman
Re: Hai guys I got some error hope someone could help me
Posted: Tue Jan 19, 2010 12:54 pm
by omgimstupid
mellowman wrote:Read up about the
php.ini file...then just go make one and change the
session.save_path parameter to writable
if u need some help im on aim :]
aim-imcmellowman
U mean like this?
Code: Select all
[Session]
; Handler used to store/retrieve data.
session.save_handler = files
; Argument passed to save_handler. In the case of files, this is the path
; where data files are stored. Note: Windows users have to change this
; variable in order to use PHP's session functions.
;
; As of PHP 4.0.1, you can define the path as:
;
; [b]session.save_path = "N;/path"/// to session.save_path = "N;/writable"[/b]
;
; where N is an integer. Instead of storing all the session files in
; /path, what this will do is use subdirectories N-levels deep, and
; store the session data in those directories. This is useful if you
; or your OS have problems with lots of files in one directory, and is
; a more efficient layout for servers that handle lots of sessions.
;
; NOTE 1: PHP will not create this directory structure automatically.
; You can use the script in the ext/session dir for that purpose.
; NOTE 2: See the section on garbage collection below if you choose to
; use subdirectories for session storage
;
; The file storage module creates files using mode 600 by default.
; You can change that by using
;
; [b]session.save_path = "N;MODE;/path" ///to session.save_path = "N;MODE;/writable"[/b]
;
; where MODE is the octal representation of the mode. Note that this
; does not overwrite the process's umask.
;session.save_path = "/tmp"
Posted: Tue Jan 19, 2010 1:16 pm
by Jonah Bron
I think, but you'll need to uncomment the line (remove the semi-colon)
Re: Hai guys I got some error hope someone could help me
Posted: Wed Jan 27, 2010 4:25 pm
by omgimstupid
So you mean instead of
Use this? Remove the Semi Collon
Re: Hai guys I got some error hope someone could help me
Posted: Wed Jan 27, 2010 4:29 pm
by social_experiment
Code: Select all
; session.save_path = "N;MODE;/path" ///to session.save_path = "N;MODE;/writable"
Semi-colon = ;
Code: Select all
session.save_path = "N;MODE;/path" ///to session.save_path = "N;MODE;/writable"
Re: Hai guys I got some error hope someone could help me
Posted: Wed Jan 27, 2010 4:33 pm
by omgimstupid
Ow for al this time i thought semiclon was the " thanks for reminding me

Re: Hai guys I got some error hope someone could help me
Posted: Wed Jan 27, 2010 4:37 pm
by omgimstupid
auch still not fixed yet
Code: Select all
Warning: session_start() [function.session-start]: open(C:/DOCUME~1/ADMINI~1/LOCALS~1/Temp/23\sess_89d0207366a5da89ad707bb749a82976, O_RDWR) failed: No such file or directory (2) in C:\AppServ\www\admin\enter\index.php on line 2
Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at C:\AppServ\www\admin\enter\index.php:2) in C:\AppServ\www\admin\enter\index.php on line 2
Warning: Unknown: open(C:/DOCUME~1/ADMINI~1/LOCALS~1/Temp/23\sess_89d0207366a5da89ad707bb749a82976, O_RDWR) failed: No such file or directory (2) in Unknown on line 0
Warning: Unknown: Failed to write session data (files). Please verify that the current setting of session.save_path is correct (C:/DOCUME~1/ADMINI~1/LOCALS~1/Temp/23) in Unknown on line 0
sorry for the double post