From: Janine S. <jr...@ba...> - 2008-12-20 05:02:59
|
I'm trying to install ZenPhoto on my WinXP laptop to test it (running Apache1.3.41, PHP5.2.6, mySQL5.0.67). The admin screen runs but I get this error: Warning: session_start() [function.session-start]: open(/tmp\sess_8kr75fk5q9r4cs25sqnqf462h7, O_RDWR) failed: No such file or directory (2) in C:\Program Files\Apache Group\Apache\htdocs\xxx\zenphoto\zp-core\admin-functions.php on line 9 From reading the ZenPhoto help forums, it seems to be a problem with setting the path to sessions and the fix is contact your host. How/where do I set this path? I don't see anything in php.ini. Thanks! Janine |
From: Sara T. <sa...@sa...> - 2008-12-20 05:33:05
|
There should be a session.save_path setting in your php.ini that tells you where the session temp dir is. On Fri, Dec 19, 2008 at 11:02 PM, Janine Starykowicz <jr...@ba... > wrote: > I'm trying to install ZenPhoto on my WinXP laptop to test it (running > Apache1.3.41, PHP5.2.6, mySQL5.0.67). The admin screen runs but I get > this error: > > Warning: session_start() [function.session-start]: > open(/tmp\sess_8kr75fk5q9r4cs25sqnqf462h7, O_RDWR) failed: No such file > or directory (2) in C:\Program Files\Apache > Group\Apache\htdocs\xxx\zenphoto\zp-core\admin-functions.php on line 9 > > From reading the ZenPhoto help forums, it seems to be a problem with > setting the path to sessions and the fix is contact your host. > How/where do I set this path? I don't see anything in php.ini. > > Thanks! > Janine > > > > > > > > ------------------------------------------------------------------------------ > _______________________________________________ > chiPHPug-discuss mailing list > chi...@li... > https://lists.sourceforge.net/lists/listinfo/chiphpug-discuss > > |
From: Janine S. <jr...@ba...> - 2008-12-20 05:42:35
|
I get not found when I do a find for session or session.save. Where should I put it and what is the syntax? Thanks! Janine Sara Trice wrote: > There should be a session.save_path setting in your php.ini that tells you > where the session temp dir is. > > On Fri, Dec 19, 2008 at 11:02 PM, Janine Starykowicz <jr...@ba... > >> wrote: >> > > >> I'm trying to install ZenPhoto on my WinXP laptop to test it (running >> Apache1.3.41, PHP5.2.6, mySQL5.0.67). The admin screen runs but I get >> this error: >> >> Warning: session_start() [function.session-start]: >> open(/tmp\sess_8kr75fk5q9r4cs25sqnqf462h7, O_RDWR) failed: No such file >> or directory (2) in C:\Program Files\Apache >> Group\Apache\htdocs\xxx\zenphoto\zp-core\admin-functions.php on line 9 >> >> From reading the ZenPhoto help forums, it seems to be a problem with >> setting the path to sessions and the fix is contact your host. >> How/where do I set this path? I don't see anything in php.ini. >> >> Thanks! >> Janine >> |
From: Sara T. <sa...@sa...> - 2008-12-20 06:10:39
|
I believe that you make a /tmp directory off your document root...? I'm not too familiar with running things on windows, but I know there has to be a directory somewhere that has to be writeable by the apache user. I think in the one system I worked on the sessions dir was in c:\windows\system\temp. On Fri, Dec 19, 2008 at 11:55 PM, Janine Starykowicz <jr...@ba... > wrote: > It's in there somewhere, because this is what I get: > > http://localhost/phpinfo.php > > session > Session Support enabled > Registered save handlers files user > Registered serializer handlers php php_binary wddx > > Directive Local Value Master Value > session.auto_start Off Off > session.bug_compat_42 Off Off > session.bug_compat_warn On On > session.cache_expire 180 180 > session.cache_limiter nocache nocache > session.cookie_domain no value no value > session.cookie_httponly Off Off > session.cookie_lifetime 0 0 > session.cookie_path / / > session.cookie_secure Off Off > session.entropy_file no value no value > session.entropy_length 0 0 > session.gc_divisor 1000 1000 > session.gc_maxlifetime 1440 1440 > session.gc_probability 1 1 > session.hash_bits_per_character 5 5 > session.hash_function 0 0 > session.name PHPSESSID PHPSESSID > session.referer_check no value no value > session.save_handler files files > session.save_path /tmp /tmp > session.serialize_handler php php > session.use_cookies On On > session.use_only_cookies Off Off > session.use_trans_sid 0 0 > > I found it: > session.save_path = "/tmp" > > Do I need to physically create a tmp directory somewhere? > > Janine > > Janine Starykowicz wrote: > > I get not found when I do a find for session or session.save. > > > > Where should I put it and what is the syntax? > > > > Thanks! > > Janine > > > > Sara Trice wrote: > > > >> There should be a session.save_path setting in your php.ini that tells > you > >> where the session temp dir is. > >> > >> On Fri, Dec 19, 2008 at 11:02 PM, Janine Starykowicz < > jr...@ba... > >> > >> > >>> wrote: > >>> > >>> > >> > >> > >>> I'm trying to install ZenPhoto on my WinXP laptop to test it (running > >>> Apache1.3.41, PHP5.2.6, mySQL5.0.67). The admin screen runs but I get > >>> this error: > >>> > >>> Warning: session_start() [function.session-start]: > >>> open(/tmp\sess_8kr75fk5q9r4cs25sqnqf462h7, O_RDWR) failed: No such file > >>> or directory (2) in C:\Program Files\Apache > >>> Group\Apache\htdocs\xxx\zenphoto\zp-core\admin-functions.php on line 9 > >>> > >>> From reading the ZenPhoto help forums, it seems to be a problem with > >>> setting the path to sessions and the fix is contact your host. > >>> How/where do I set this path? I don't see anything in php.ini. > >>> > >>> Thanks! > >>> Janine > >>> > >>> > > > > > > > ------------------------------------------------------------------------------ > > _______________________________________________ > > chiPHPug-discuss mailing list > > chi...@li... > > https://lists.sourceforge.net/lists/listinfo/chiphpug-discuss > > > > > > > > > > ------------------------------------------------------------------------------ > _______________________________________________ > chiPHPug-discuss mailing list > chi...@li... > https://lists.sourceforge.net/lists/listinfo/chiphpug-discuss > > |
From: Janine S. <jr...@ba...> - 2008-12-20 07:28:24
|
Giving it a full address worked. Thanks! Janine Sara Trice wrote: > I believe that you make a /tmp directory off your document root...? I'm not > too familiar with running things on windows, but I know there has to be a > directory somewhere that has to be writeable by the apache user. I think in > the one system I worked on the sessions dir was in c:\windows\system\temp. > |
From: Janine S. <jr...@ba...> - 2008-12-20 05:56:03
|
It's in there somewhere, because this is what I get: http://localhost/phpinfo.php session Session Support enabled Registered save handlers files user Registered serializer handlers php php_binary wddx Directive Local Value Master Value session.auto_start Off Off session.bug_compat_42 Off Off session.bug_compat_warn On On session.cache_expire 180 180 session.cache_limiter nocache nocache session.cookie_domain no value no value session.cookie_httponly Off Off session.cookie_lifetime 0 0 session.cookie_path / / session.cookie_secure Off Off session.entropy_file no value no value session.entropy_length 0 0 session.gc_divisor 1000 1000 session.gc_maxlifetime 1440 1440 session.gc_probability 1 1 session.hash_bits_per_character 5 5 session.hash_function 0 0 session.name PHPSESSID PHPSESSID session.referer_check no value no value session.save_handler files files session.save_path /tmp /tmp session.serialize_handler php php session.use_cookies On On session.use_only_cookies Off Off session.use_trans_sid 0 0 I found it: session.save_path = "/tmp" Do I need to physically create a tmp directory somewhere? Janine Janine Starykowicz wrote: > I get not found when I do a find for session or session.save. > > Where should I put it and what is the syntax? > > Thanks! > Janine > > Sara Trice wrote: > >> There should be a session.save_path setting in your php.ini that tells you >> where the session temp dir is. >> >> On Fri, Dec 19, 2008 at 11:02 PM, Janine Starykowicz <jr...@ba... >> >> >>> wrote: >>> >>> >> >> >>> I'm trying to install ZenPhoto on my WinXP laptop to test it (running >>> Apache1.3.41, PHP5.2.6, mySQL5.0.67). The admin screen runs but I get >>> this error: >>> >>> Warning: session_start() [function.session-start]: >>> open(/tmp\sess_8kr75fk5q9r4cs25sqnqf462h7, O_RDWR) failed: No such file >>> or directory (2) in C:\Program Files\Apache >>> Group\Apache\htdocs\xxx\zenphoto\zp-core\admin-functions.php on line 9 >>> >>> From reading the ZenPhoto help forums, it seems to be a problem with >>> setting the path to sessions and the fix is contact your host. >>> How/where do I set this path? I don't see anything in php.ini. >>> >>> Thanks! >>> Janine >>> >>> > > > ------------------------------------------------------------------------------ > _______________________________________________ > chiPHPug-discuss mailing list > chi...@li... > https://lists.sourceforge.net/lists/listinfo/chiphpug-discuss > > > |