Welcome to WebmasterWorld Guest from 107.22.55.73

Forum Moderators: coopster & jatar k

Message Too Old, No Replies

Warning: session start() [function.session-start]: open(/tmp/sess

please give me soliution

     
4:23 am on Feb 23, 2013 (gmt 0)

New User

joined:Feb 22, 2013
posts: 3
votes: 0


Please any one help me,
I suffer a big problem from some days,
my toplist site-"www.worldtops.info" has given some warning report on site top and bottom.
those are on site header-
"Warning: session_start() [function.session-start]: open(/tmp/sess_525041c925c58c85feba777b5d3c1be7, O_RDWR) failed: Permission denied (13) in /home/worldtop/public_html/index.php on line 0

Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /home/worldtop/public_html/index.php:0) in /home/worldtop/public_html/index.php on line 0

Warning: Cannot modify header information - headers already sent by (output started at /home/worldtop/public_html/index.php:0) in /home/worldtop/public_html/index.php on line 0

Warning: Cannot modify header information - headers already sent by (output started at /home/worldtop/public_html/index.php:0) in /home/worldtop/public_html/index.php on line 0

Warning: Cannot modify header information - headers already sent by (output started at /home/worldtop/public_html/index.php:0) in /home/worldtop/public_html/index.php on line 0

and bottom has given-
"Warning: Unknown: open(/tmp/sess_525041c925c58c85feba777b5d3c1be7, O_RDWR) failed: Permission denied (13) in Unknown on line 0

Warning: Unknown: Failed to write session data (files). Please verify that the current setting of session.save_path is correct (/tmp) in Unknown on line 0

please any one give me tips and solution for solve its.
thank you.
5:17 am on Feb 23, 2013 (gmt 0)

Senior Member

WebmasterWorld Senior Member 10+ Year Member

joined:Nov 15, 2004
posts:1867
votes: 0


Most likely spaces at the very top of the page. Remove the spaces above <?php
6:04 am on Feb 23, 2013 (gmt 0)

New User

joined:Feb 22, 2013
posts: 3
votes: 0


sir,my site have not space above <?php
i not found extra space above <?php
please help me....
6:16 pm on Feb 25, 2013 (gmt 0)

Administrator

WebmasterWorld Administrator coopster is a WebmasterWorld Top Contributor of All Time 10+ Year Member

joined:July 31, 2003
posts:12541
votes: 1


Welcome to WebmasterWorld, ikasif.

Your first error is the one causing everything else ... so far anyway. You are attempting to start a file-based session but you are trying to write to the /tmp directory as the user in which your http server is running under, and that user does not have the proper permissions to read/write/execute in the /tmp directory.
6:54 pm on Feb 25, 2013 (gmt 0)

Senior Member

WebmasterWorld Senior Member swa66 is a WebmasterWorld Top Contributor of All Time 10+ Year Member

joined:Aug 7, 2003
posts:4783
votes: 0


Agree: you need to make sure the user running the httpd has write access to what it seas as /tmp (the real /tmp or the chroot /tmp - if you have a chroot environment).

As to not having anything in front of <?php .... a BOM might have be added by an "helpful" editor - and that would be invisible in that editor.