Warning: session_start() [function.session-start]:

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
sarbas
Forum Commoner
Posts: 64
Joined: Thu Jan 04, 2007 5:51 am

Warning: session_start() [function.session-start]:

Post by sarbas »

Hello everybody,

I used session in my php , but I got the following error , how can I rectify it .

Warning: session_start() [function.session-start]: open(/opt/lampp/htdocs/askpert/tmp/sessions/sess_6aaefb6275fd899d33281774c8c440d1, O_RDWR) failed: Permission denied (13) in /opt/lampp/htdocs/askpert/system/boot.php on line 36

Warning: session_start() [function.session-start]: Cannot send session cookie - headers already sent by
(output started at /opt/lampp/htdocs/askpert/system/boot.php:36) in /opt/lampp/htdocs/askpert/system/boot.php on line 36

Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /opt/lampp/htdocs/askpert/system/boot.php:36) in /opt/lampp/htdocs/askpert/system/boot.php on line 36
User avatar
jayshields
DevNet Resident
Posts: 1912
Joined: Mon Aug 22, 2005 12:11 pm
Location: Leeds/Manchester, England

Post by jayshields »

Please search for something along the lines of "headers already sent".
User avatar
Kieran Huggins
DevNet Master
Posts: 3635
Joined: Wed Dec 06, 2006 4:14 pm
Location: Toronto, Canada
Contact:

Post by Kieran Huggins »

also make sure php has write access to the directory your sessions are stored in
Post Reply