homepage Welcome to WebmasterWorld Guest from 54.81.170.186
register, free tools, login, search, subscribe, help, library, announcements, recent posts, open posts,
Pubcon Website
Visit PubCon.com
Home / Forums Index / Code, Content, and Presentation / PHP Server Side Scripting
Forum Library, Charter, Moderators: coopster & jatar k

PHP Server Side Scripting Forum

    
Warning: session start() [function.session-start]: open(/tmp/sess
please give me soliution
ikasif




msg:4548126
 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




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

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

ikasif




msg:4548129
 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




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

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




msg:4548772
 6:54 pm on Feb 25, 2013 (gmt 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.

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Code, Content, and Presentation / PHP Server Side Scripting
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About
© Webmaster World 1996-2014 all rights reserved