Checking if sessions are properly configured: Failed! Messag

Ask community to help.

Moderators: Amaradana, TurboPT, TL Developers

Post Reply
sachinn
TestLink user
Posts: 4
Joined: Fri Jan 25, 2008 9:16 am

Checking if sessions are properly configured: Failed! Messag

Post by sachinn »

Configuration : Windows XP/ IIS 5.1/ MySQL 5.0 / PHP5.2
Sequence: Install IIS, Install My SQL / Install PHP with mysql extension selected. Then Copied Test link folder to wwwroot and started
http://localhost/testlink/install/index.php. This opens a window asking for install options - when I select "first time install " it gives : Testlink Setup will carry out a number of checks to see if everything's ready to start the setup.


Checking if Register Globals = OFF: OK!
Checking if sessions are properly configured: Failed!
Checking if ../gui/templates_c directory exists: OK!
Checking if ../gui/templates_c directory is writable: OK!

Unfortunately, TestLink setup cannot continue at the moment, due to the above error .
Please correct the error, and try again. If you need help figuring out how to fix the problem, please visit

I am stuck here. I have gone through all install documents and tried various things but not working. Can some body guide with some specific setting for session in php.ini.
fman
Member of TestLink Community
Posts: 3123
Joined: Tue Nov 15, 2005 7:19 am

Post by fman »

1. verify on your php.ini or using google where PHP wants to write session info
2. then check if rigths at operation system levels, for user running the IIS process are ok for the directory

let me know
gaginator
TestLink user
Posts: 2
Joined: Fri Jan 18, 2008 12:22 am

I found the fix to this

Post by gaginator »

Go to /var/lib/php/session directory to make sure that TestLink can write to it. I have been working on this for quite some time and just found the fix.
sachinn
TestLink user
Posts: 4
Joined: Fri Jan 25, 2008 9:16 am

Re: I found the fix to this

Post by sachinn »

gaginator wrote:Go to /var/lib/php/session directory to make sure that TestLink can write to it. I have been working on this for quite some time and just found the fix.
Where is this Directory? is it under wwwroot/testlink? I do not have PHP/session folder under lib directory of wwwroot/testlink.
sachinn
TestLink user
Posts: 4
Joined: Fri Jan 25, 2008 9:16 am

Post by sachinn »

fman wrote:1. verify on your php.ini or using google where PHP wants to write session info
2. then check if rigths at operation system levels, for user running the IIS process are ok for the directory

let me know
there is no rights issue it seems. One more observation is - when I remove php.ini from system folder session issue just disappears but I am not able to load extensions. ( mysql).
Whenever I copy php.ini in system folder session extensions get loaded but session configuration problem starts again.
sachinn
TestLink user
Posts: 4
Joined: Fri Jan 25, 2008 9:16 am

Post by sachinn »

fman wrote:1. verify on your php.ini or using google where PHP wants to write session info
2. then check if rigths at operation system levels, for user running the IIS process are ok for the directory

let me know
Following solved my problem : thanks.
Open file php.ini from your PHP installation folder (C:\PHP in my case), search for session.save_path and check if this path exists.
I checked that the Php\session in the user temp folder didn't exist, so just create it, give write permissions on PHP folder to user IUSR_[MACHINE_NAME], restart IIS, clear browser cache and cookies and try again.
fman
Member of TestLink Community
Posts: 3123
Joined: Tue Nov 15, 2005 7:19 am

Post by fman »

good!
shanks
TestLink user
Posts: 3
Joined: Mon Feb 25, 2008 8:48 am

Checking if sessions are properly configured: Failed!

Post by shanks »

c. What solved my problem:
i. run “inetmgr”
ii. go to : Local Computer> Web Sites >Default Websites> testlink >
iii. right click the “testlink” folder & open “properties”
iv. Go to “Directory Security”
v. Inside “Anonymous access and authentication control”, click “edit” tab.
vi. Uncheck the “Anonymous access” and select the “Integrated Windows Authentication” in the bottom.
vii. Now restart your IIS service and refresh your http://localhost/testlink/install/index.php link
viii. You should have your Checking if sessions are properly configured: OK.
Post Reply