Re: Session errors when uploaded to host

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Tim Burgan wrote:
Hello,


I've developed my site, and tested on a web host (Apache, PHP 4.3.9).
Now I've uploaded to a different host (IIS, PHP 4.3.1) where I want to keep it, and I get session error messages like:


Warning: session_start() [function.session-start <http://www.php.net/function.session-start>]: open(/tmp\sess_30f6794de4b0d80b91035c6c01aae52d, O_RDWR) failed: No such file or directory (2) in E:\W3Sites\ywamsa\www\timburgan\index.php on line 9

Warning: session_start() [function.session-start <http://www.php.net/function.session-start>]: Cannot send session cookie - headers already sent by (output started at E:\W3Sites\ywamsa\www\timburgan\index.php:9) in E:\W3Sites\ywamsa\www\timburgan\index.php on line 9


The problem is that the php installation on this server is not configured correctly. It still holds the default session location (/tmp) which doesn't exist on Windows PCs.


You need to ask the server administrator to verify the PHP installation and point the session location directory to a valid location on the server.

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux