Jump to content

Code errors?


tapupartforpres

Recommended Posts

Hello people.  I am sort of new to .php and have a site that I am getting an error.  Works fine live, but locally NO GO?  I saw a bunch of posts on this exact same error, but nothing has worked.  Any insight would be great.  Thanks

 

 

Warning: session_start() [function.session-start]: open(/var/folders/xs/xsUmeAUQFTymmu9rtBvzq++++TI/-Tmp-//sess_27fd27289c34b2b1e451d03aeda09111, O_RDWR) failed: Permission denied (13) in /Applications/xampp/xamppfiles/htdocs/wineworks/classes/session/session.class.php on line 34

 

Warning: session_start() [function.session-start]: Cannot send session cookie - headers already sent by (output started at /Applications/xampp/xamppfiles/htdocs/wineworks/classes/session/session.class.php:34) in /Applications/xampp/xamppfiles/htdocs/wineworks/classes/session/session.class.php on line 34

 

Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /Applications/xampp/xamppfiles/htdocs/wineworks/classes/session/session.class.php:34) in /Applications/xampp/xamppfiles/htdocs/wineworks/classes/session/session.class.php on line 34

 

Warning: Cannot modify header information - headers already sent by (output started at /Applications/xampp/xamppfiles/htdocs/wineworks/classes/session/session.class.php:34) in /Applications/xampp/xamppfiles/htdocs/wineworks/classes/session/session.class.php on line 35

Link to comment
Share on other sites

You need read and write permissions on /var/folders/xs/xsUmeAUQFTymmu9rtBvzq++++TI/-Tmp-//sess_27fd27289c34b2b1e451d03aeda09111. You may be able to do this through FTP, or you can go to the terminal. In the terminal it would be `chmod u+rwx /var/folders/xs/xsUmeAUQFTymmu9rtBvzq++++TI/-Tmp-/`, assuming this folder belongs to the same user that Apache is running as.

Link to comment
Share on other sites

You need read and write permissions on /var/folders/xs/xsUmeAUQFTymmu9rtBvzq++++TI/-Tmp-//sess_27fd27289c34b2b1e451d03aeda09111. You may be able to do this through FTP, or you can go to the terminal. In the terminal it would be `chmod u+rwx /var/folders/xs/xsUmeAUQFTymmu9rtBvzq++++TI/-Tmp-/`, assuming this folder belongs to the same user that Apache is running as.

 

There is no such directory.  The file name at the end changes every time I refresh.

Link to comment
Share on other sites

You need read and write permissions on /var/folders/xs/xsUmeAUQFTymmu9rtBvzq++++TI/-Tmp-//sess_27fd27289c34b2b1e451d03aeda09111. You may be able to do this through FTP, or you can go to the terminal. In the terminal it would be `chmod u+rwx /var/folders/xs/xsUmeAUQFTymmu9rtBvzq++++TI/-Tmp-/`, assuming this folder belongs to the same user that Apache is running as.

 

There is no such directory.  The file name at the end changes every time I refresh.

Sorry, try this . . .

chmod -R u+rwx /var/folders/xs/

Link to comment
Share on other sites

You need read and write permissions on /var/folders/xs/xsUmeAUQFTymmu9rtBvzq++++TI/-Tmp-//sess_27fd27289c34b2b1e451d03aeda09111. You may be able to do this through FTP, or you can go to the terminal. In the terminal it would be `chmod u+rwx /var/folders/xs/xsUmeAUQFTymmu9rtBvzq++++TI/-Tmp-/`, assuming this folder belongs to the same user that Apache is running as.

 

There is no such directory.  The file name at the end changes every time I refresh.

Sorry, try this . . .


Sorry man, it didn't work.  I went to terminal and copied and pasted?
chmod -R u+rwx /var/folders/xs/

Link to comment
Share on other sites

You should see something like this session.use_cookies = 1 in the php.ini file

 

I went to the php.ini file (I opened it in text editor on a Mac, I know about the .htaccess with a Mac, so just wanted to add that) and it still s giving me the same errors. It was defaulted to a =1, changed to =0 and back. Nothing. What do you think?

 

By the way the php.ini file is in the XAMPP program files.

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.