Jump to content

[SOLVED] warning: session_start error?


fazzfarrell

Recommended Posts

I keep getting this error and I can't get rid of it any one help?

 

 

Warning: session_start() [function.session-start]: open(/tmp/sess_72b9bf3e0228df49654f24222e3b7f06, O_RDWR) failed: Permission denied (13) in /home/sites/st-ives.com/public_html/careers-red.php on line 3

 

Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /home/sites/st-ives.com/public_html/careers-red.php:3) in /home/sites/st-ives.com/public_html/careers-red.php on line 3

Link to comment
Share on other sites

Check your php ini to see where it's trying to store the session files.  You (or actually the php process?) probably don't have access to that directory.  The second error is related to the first... probably because it's outputting the session error message and then trying to send a header. 

 

That might not be the answer, but it's where I'd start looking.

Link to comment
Share on other sites

on line 3 of careers-red.php, your echo/print/outputing something... your session_start(); has to be at the VERY BEGINNING... top of everything.

I dont think its a header already sent problem in his case cause it not firing headers sent Error. Its sending Permission denied error.
Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.