From: James E. F. <jf...@ac...> - 2002-02-21 02:35:34
|
On Thu, 21 Feb 2002, Samuel Wright wrote: > Hiya > > Any suggestions as to this error? > Warning: open(/tmp\sess_415c60d599cd461764cc337c9d3bb925, O_RDWR) failed: m > (2) in c:\phpdev\www\phpesp\admin\manage.php on line 10 This happens on Windows when the "session.save_path" setting in the php.ini (config file for php, not for phpesp) is set incorrectly. Yes, the default in this file is "/tmp" which typically does not exist on Windows. Make a dirctory on your webserver called "C:\php-tmp" or something, and set session.save_path to that path. For more information on session config directives refer to the following PHP manual page: http://www.php.net/session Also I might as well note that there are problems with PHP running as an ASAPI module for IIS. If you are running under Windows, it is strongly recommended that you run Apache. If anyone does get phpESP to run on Windows with IIS, please let me know, so I can add some information to the documentation. > Is there an archive where I can search for mistakes to > avoid reinventing the wheel? There is an archive, but it is not too useful: http://www.geocrawler.com/redir-sf.php3?list=phpesp-general Perhaps I will make a FAQ or add a better archive when I have time. -James |