You are here: sessions not being stored : DAY 2 « PHP « IT news, forums, messages
sessions not being stored : DAY 2

Posted by Yuri Huitrσn Alvarado on 04/08/05 20:02

I'm receiving this when trying to store a session :

Warning: session_start(): open(/tmp/sess/sess_d280d6af3a2059aa58f43477d6b2c166, O_RDWR) failed: Permission denied (13) in /usr/local/apache2/htdocs/calendario/calendarix/cal_header.inc.php on line 19

Warning: session_start(): Cannot send session cookie - headers already sent by (output started at /usr/local/apache2/htdocs/calendario/calendarix/cal_header.inc.php:19) in /usr/local/apache2/htdocs/calendario/calendarix/cal_header.inc.php on line 19

Warning: session_start(): Cannot send session cache limiter - headers already sent (output started at /usr/local/apache2/htdocs/calendario/calendarix/cal_header.inc.php:19) in /usr/local/apache2/htdocs/calendario/calendarix/cal_header.inc.php on line 19

Warning: Cannot modify header information - headers already sent by (output started at /usr/local/apache2/htdocs/calendario/calendarix/cal_header.inc.php:19) in /usr/local/apache2/htdocs/calendario/calendarix/cal_header.inc.php on line 89


* the /tmp directory is owned by root
* the /tmp/sess directory is owned by the apache user and has 777 permissions
* the directory in php.ini to store sessions is : /tmp/sess
* there's not a php user

I'm using :
RedHat 9
Apache 2.0.48
php 4.3.4







_______________________________________________
Join Excite! - http://www.excite.com
The most personalized portal on the Web!

 

Navigation:

[Reply to this message]


УдалСнная Ρ€Π°Π±ΠΎΡ‚Π° для программистов  •  Как Π·Π°Ρ€Π°Π±ΠΎΡ‚Π°Ρ‚ΡŒ Π½Π° Google AdSense  •  England, UK  •  ΡΡ‚Π°Ρ‚ΡŒΠΈ Π½Π° английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Π‘Π°ΠΉΡ‚ ΠΈΠ·Π³ΠΎΡ‚ΠΎΠ²Π»Π΅Π½ Π² Π‘Ρ‚ΡƒΠ΄ΠΈΠΈ Π’Π°Π»Π΅Π½Ρ‚ΠΈΠ½Π° ΠŸΠ΅Ρ‚Ρ€ΡƒΡ‡Π΅ΠΊΠ°
ΠΈΠ·Π³ΠΎΡ‚ΠΎΠ²Π»Π΅Π½ΠΈΠ΅ ΠΈ ΠΏΠΎΠ΄Π΄Π΅Ρ€ΠΆΠΊΠ° Π²Π΅Π±-сайтов, Ρ€Π°Π·Ρ€Π°Π±ΠΎΡ‚ΠΊΠ° ΠΏΡ€ΠΎΠ³Ρ€Π°ΠΌΠΌΠ½ΠΎΠ³ΠΎ обСспСчСния, поисковая оптимизация