PDA

View Full Version : Warning: session_start()



Peter Jonsson
January 16, 2014, 03:58 AM
I get this error again after changing to cgi.

Warning: session_start(): open(/tmp/sess_6cd6839f17dba4971a08cc920fa36e2c, O_RDWR) failed: Permission denied (13) in /home/*****/public_html/includes/control.inc.php on line 26

Warning: session_start(): Cannot send session cache limiter - headers already sent (output started at /home/*****/public_html/includes/control.inc.php:26) in /home/*****/public_html/includes/control.inc.php on line 26
Output has already been sent to the browser at /home/*****/public_html/includes/control.inc.php:26. Please make sure the command $xajax->processRequest() is placed before this.Unable to add cookies, header already sent.
File: /home/*****/public_html/includes/control.inc.php
Line: 26

How to fix this ?

Tried to put the $xajax->processRequest() before session_start(): but that didnt work

Peter Jonsson
January 17, 2014, 03:41 AM
Anyway to fix this ?

Peter Jonsson
January 17, 2014, 04:06 AM
Got it working now. i just needed to clear my cache