Problem at install step 2

xmennick
xmennick's picture

Joined: 2006-03-23
Posts: 3
Posted: Thu, 2006-03-23 11:23

Please help! I checked FAQ and forum for a few days but still have no idea on what's wrong. I just cannot get through step 2 (authenticate) since it always said the login.txt is not correct, I use remote desktop to login my server and create the login.txt file directly inside the gallery2 folder, but still have error. Even I click to try download 'correct version of login.txt' it still have error:

Warning: session_start(): open(/tmp\sess_c8195a60b0196f982f683c5a6c96932b, O_RDWR) failed: No such file or directory (2) in C:\Web\Users\Nicholas\Photos\gallery2\install\index.php on line 110

Warning: session_start(): Cannot send session cookie - headers already sent by (output started at C:\Web\Users\Nicholas\Photos\gallery2\install\index.php:110) in C:\Web\Users\Nicholas\Photos\gallery2\install\index.php on line 110

Warning: session_start(): Cannot send session cache limiter - headers already sent (output started at C:\Web\Users\Nicholas\Photos\gallery2\install\index.php:110) in C:\Web\Users\Nicholas\Photos\gallery2\install\index.php on line 110

Warning: session_destroy(): Session object destruction failed in C:\Web\Users\Nicholas\Photos\gallery2\install\index.php on line 356

Warning: session_start(): open(/tmp\sess_ed412fa23d369a2791f05636b022aef7, O_RDWR) failed: No such file or directory (2) in C:\Web\Users\Nicholas\Photos\gallery2\install\index.php on line 364

Warning: session_start(): Cannot send session cookie - headers already sent by (output started at C:\Web\Users\Nicholas\Photos\gallery2\install\index.php:110) in C:\Web\Users\Nicholas\Photos\gallery2\install\index.php on line 364

Warning: session_start(): Cannot send session cache limiter - headers already sent (output started at C:\Web\Users\Nicholas\Photos\gallery2\install\index.php:110) in C:\Web\Users\Nicholas\Photos\gallery2\install\index.php on line 364

Warning: Cannot modify header information - headers already sent by (output started at C:\Web\Users\Nicholas\Photos\gallery2\install\index.php:110) in C:\Web\Users\Nicholas\Photos\gallery2\install\steps\AuthenticateStep.class on line 43

Warning: Cannot modify header information - headers already sent by (output started at C:\Web\Users\Nicholas\Photos\gallery2\install\index.php:110) in C:\Web\Users\Nicholas\Photos\gallery2\install\steps\AuthenticateStep.class on line 44

Warning: Cannot modify header information - headers already sent by (output started at C:\Web\Users\Nicholas\Photos\gallery2\install\index.php:110) in C:\Web\Users\Nicholas\Photos\gallery2\install\steps\AuthenticateStep.class on line 45

Warning: Cannot modify header information - headers already sent by (output started at C:\Web\Users\Nicholas\Photos\gallery2\install\index.php:110) in C:\Web\Users\Nicholas\Photos\gallery2\install\steps\AuthenticateStep.class on line 46
b3b35b2d343f958efc11d2a25f557872
Warning: Unknown(): open(/tmp\sess_ed412fa23d369a2791f05636b022aef7, O_RDWR) failed: No such file or directory (2) 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

Even before coming to step 2, there are error message at the top of step 1's page:

Warning: session_start(): open(/tmp\sess_9741c1752d9d2bb9da7de80b5e98fcf1, O_RDWR) failed: No such file or directory (2) in C:\Web\Users\Nicholas\Photos\gallery2\install\index.php on line 110

Warning: session_start(): Cannot send session cookie - headers already sent by (output started at C:\Web\Users\Nicholas\Photos\gallery2\install\index.php:110) in C:\Web\Users\Nicholas\Photos\gallery2\install\index.php on line 110

Warning: session_start(): Cannot send session cache limiter - headers already sent (output started at C:\Web\Users\Nicholas\Photos\gallery2\install\index.php:110) in C:\Web\Users\Nicholas\Photos\gallery2\install\index.php on line 110

Warning: session_destroy(): Session object destruction failed in C:\Web\Users\Nicholas\Photos\gallery2\install\index.php on line 356

Warning: session_start(): open(/tmp\sess_40ea57ce439255da09384f32b3f845a4, O_RDWR) failed: No such file or directory (2) in C:\Web\Users\Nicholas\Photos\gallery2\install\index.php on line 364

Warning: session_start(): Cannot send session cookie - headers already sent by (output started at C:\Web\Users\Nicholas\Photos\gallery2\install\index.php:110) in C:\Web\Users\Nicholas\Photos\gallery2\install\index.php on line 364

Warning: session_start(): Cannot send session cache limiter - headers already sent (output started at C:\Web\Users\Nicholas\Photos\gallery2\install\index.php:110) in C:\Web\Users\Nicholas\Photos\gallery2\install\index.php on line 364

Does it caused by wrong setting in IIS? My friend try to install gallery in his server and have similar error as mine! Anyone know the solution? Please kindly advise and thanks!


Gallery version (2.1-rc-2a):
PHP version (4.4.2):
PHPInfo Link (\gallery2):
Webserver (IIS 5):
Database (MySql 5.0):
Activated toolkits (N/A):
Operating system (e.g. Win2000):
Browser (I.E.6.0.2800.1106):

Nicholas

 
lai

Joined: 2006-02-25
Posts: 19
Posted: Sun, 2006-03-26 04:23

up...

 
WillieO

Joined: 2006-03-21
Posts: 36
Posted: Sun, 2006-03-26 05:46

I have the same problem even with thre randomly generated authentication code I get an error message

 
joe7rocks
joe7rocks's picture

Joined: 2004-10-07
Posts: 560
Posted: Sun, 2006-03-26 16:37

hi
it seems the installer can't write the session info into the serverwide tmpdir.
it causes the fact, that result of checking login.txt can't get stored.

 
joe7rocks
joe7rocks's picture

Joined: 2004-10-07
Posts: 560
Posted: Sun, 2006-03-26 16:48

it is generally caused by wrong settings of the webserver(php), so the installer (the webserver/php itself) can't write into the specified (in the config of webserver) temporary directory.

 
joe7rocks
joe7rocks's picture

Joined: 2004-10-07
Posts: 560
Posted: Sun, 2006-03-26 16:58

do you all has windows as the operation system?

 
joe7rocks
joe7rocks's picture

Joined: 2004-10-07
Posts: 560
Posted: Sun, 2006-03-26 17:05

Aha, must be the following (default behaviour of php.ini)
Change the config of the webserver/php:
It could be done easily, as editing php.ini and changing the following line: session.save_path=C:\PHP\Sessions .
Adjust it to something what you have, or create this directory! -if u changed it, be sure to restart webserver )

 
lai

Joined: 2006-02-25
Posts: 19
Posted: Mon, 2006-03-27 01:34

ye.
windows 2003 server
haha,i see
thanks joe7rocks
sorry,im chinese....
so......my bad english

 
lai

Joined: 2006-02-25
Posts: 19
Posted: Mon, 2006-03-27 01:36
joe7rocks wrote:
Aha, must be the following (default behaviour of php.ini)
Change the config of the webserver/php:
It could be done easily, as editing php.ini and changing the following line: session.save_path=C:\PHP\Sessions .
Adjust it to something what you have, or create this directory! -if u changed it, be sure to restart webserver )

感谢您的指点,服务器使用的正是windows 2003 server.我这就去找服务器管理员设置一下。。。。

 
lai

Joined: 2006-02-25
Posts: 19
Posted: Mon, 2006-03-27 01:38

Certainly must restart the server???

 
lai

Joined: 2006-02-25
Posts: 19
Posted: Mon, 2006-03-27 01:48

my Problem
Warning: session_destroy(): Session object destruction failed in d:\www\fy007_lai\wwwroot\photo\gallery2\2.1_full\upgrade\index.php on line 311

Warning: session_start(): Cannot send session cookie - headers already sent by (output started at d:\www\fy007_lai\wwwroot\photo\gallery2\2.1_full\upgrade\index.php:311) in d:\www\fy007_lai\wwwroot\photo\gallery2\2.1_full\upgrade\index.php on line 319

Warning: session_start(): Cannot send session cache limiter - headers already sent (output started at d:\www\fy007_lai\wwwroot\photo\gallery2\2.1_full\upgrade\index.php:311) in d:\www\fy007_lai\wwwroot\photo\gallery2\2.1_full\upgrade\index.php on line 319

 
lai

Joined: 2006-02-25
Posts: 19
Posted: Mon, 2006-03-27 10:21

up

 
joe7rocks
joe7rocks's picture

Joined: 2004-10-07
Posts: 560
Posted: Mon, 2006-03-27 11:08

1. it might be enough to reload the conf of the webserver... (-force-reload)
2. is this the full eror what you get now? (and where do you get it now?)

 
lai

Joined: 2006-02-25
Posts: 19
Posted: Tue, 2006-03-28 02:08
joe7rocks wrote:
2. is this the full eror what you get now? (and where do you get it now?)

Problem at install step 2
Authenticate
Authentication successful! but System Checks dont work....
dont Continue to next step

Gallery version ( "2"): 2.1 rc1->2.1 full
PHP version (e.g. 4.3.11): 4.3.11
PHPInfo Link (see FAQ): http://www.fy007.org/photo/gallery2/1.php
Webserver (e.g. Apache 1.3.33): Microsoft-IIS/6.0
Database (e.g. MySql 4.0.11): MySQL 4.0.21-nt
Activated toolkits (e.g. NetPbm, GD):GD
Operating system (e.g. Linux): Windows 2003
Browser (e.g. Firefox 1.0): IE 6.0

 
xmennick
xmennick's picture

Joined: 2006-03-23
Posts: 3
Posted: Thu, 2006-03-30 13:49

Thanks for the suggestion, just too busy to test it yet, will tell you how's the result later this week, thanks!

Nicholas