Welcome to WebmasterWorld Guest from 54.226.25.231

Forum Moderators: coopster & jatar k

Message Too Old, No Replies

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

please give me soliution

     

ikasif

4:23 am on Feb 23, 2013 (gmt 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.

Habtom

5:17 am on Feb 23, 2013 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Most likely spaces at the very top of the page. Remove the spaces above <?php

ikasif

6:04 am on Feb 23, 2013 (gmt 0)



sir,my site have not space above <?php
i not found extra space above <?php
please help me....

coopster

6:16 pm on Feb 25, 2013 (gmt 0)

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



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.

swa66

6:54 pm on Feb 25, 2013 (gmt 0)

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



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.
 

Featured Threads

Hot Threads This Week

Hot Threads This Month