You are here: Re: session_write_close() failing « PHP Programming Language « IT news, forums, messages
Re: session_write_close() failing

Posted by Jerry Stuckle on 10/28/88 11:46

Steve Brecher wrote:
> (As a *nix newbie) I think this is more of a system configuration problem
> than a php language problem, but I'm not sure where else to go for help.
> I'm trying to install phpMyAdmin on a linux shared hosting account. When I
> run it (load phpMyAdmin's index.php with a browser), I get the following
> three Warnings, and no other output:
>
> Warning: session_write_close():
> open(/tmp/php-ses/sess_0c21c95414d34dd67d6adf9ab3de88f6, O_RDWR) failed: No
> such file or directory (2)
>
> Warning: session_write_close(): Failed to write session data (files). Please
> verify that the current setting of session.save_path is correct
> (/tmp/php-ses)
>
> Warning: Cannot modify header information - headers already sent by (output
> started at [the session_write_close() call above])
>
> session_write_close(); is the first statement that phpMyAdmin executes
> after a couple of require_once's for .lib files. The third warning is
> generated by...
> // start output
> header('Content-Type: text/html; charset=' . $GLOBALS['charset']);
>
> phpinfo() shows that session support is enabled, and session_save_path is
> /tmp/php-ses
>
> If I call the hosting provider's tech support, I get, "sorry, we don't help
> with scripting problems." Is there something specific that I can say needs
> changing in their configuration? ... or, any helpful ideas would be very
> appreciated.
>

So, does /tmp/php-ses exist, and does it have the correct permissions?


--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex@attglobal.net
==================

 

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

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация