session expired inmediatelly on TestLink 1.8

1.8 related questions and discussions.
Please upgrade to LATEST 1.9.x.
No more fixes for 1.8.

Moderators: Amaradana, TurboPT, TL Developers

Locked
buttonpol
TestLink user
Posts: 6
Joined: Wed Jun 10, 2009 5:24 pm

session expired inmediatelly on TestLink 1.8

Post by buttonpol »

Hi, we were using TestLink 1.8 till today morning, but suddenly we all can't login. We are receiving "Your session has expired! Please login again". We have tried in IE & Firefox and in several pc's. We can see into logs the username and password was validated, but we cannot login.

All posts I've found are not applying to this behavior.
We don't have knowledge about any change in our servers configuration, but maybe there is somethig we can check.

TestLink is working on Fedora and was working well till today.
Any idea?

Thanks a lot.

Pol
buttonpol
TestLink user
Posts: 6
Joined: Wed Jun 10, 2009 5:24 pm

the solution

Post by buttonpol »

Hi, we could solve this problem.

One of our file system was full, so it seems TL couldn't continue with something.

It was a simple thing we had hadn't in mind.

I hope it help others in a similar situation.
Regards
Christophe
TestLink user
Posts: 12
Joined: Wed Sep 16, 2009 4:52 pm

Post by Christophe »

I have updated from 1.7.5 to 1.8.5 and I have a strange behaviour:

With Firefox I am able to login without problems and with IE I get the same error message "Your session has expired! Please login again".

How did you managed to solve your problem?
Thanks for your reply
Last edited by Christophe on Tue Mar 23, 2010 11:58 am, edited 1 time in total.
buttonpol
TestLink user
Posts: 6
Joined: Wed Jun 10, 2009 5:24 pm

suggestion

Post by buttonpol »

I think you must check your IE configuration (maybe cookies policy) and also try in other computer, because if you can login in Firefox it seems to be a config problem.

hope this help.
Christophe
TestLink user
Posts: 12
Joined: Wed Sep 16, 2009 4:52 pm

Post by Christophe »

Thank you very much for your quick reply.

I have just tried to change cookies configuration and I still have the same problem.

And from an other PC it is still the same.

With the previous version 1.7.5 I had it was working fine with both browsers.

If you have any other idea, I wil try as well.
Thank you very much
buttonpol
TestLink user
Posts: 6
Joined: Wed Jun 10, 2009 5:24 pm

Post by buttonpol »

well, no more ideas. see in your apache logs for any error message, maybe there's something.

good luck
Christophe
TestLink user
Posts: 12
Joined: Wed Sep 16, 2009 4:52 pm

Post by Christophe »

In fact when I am logged in with Firefox, I can see in the Testlink logs that I was successfully logged in when I tried to access through IE.

Thanks a lot
Christophe
TestLink user
Posts: 12
Joined: Wed Sep 16, 2009 4:52 pm

Post by Christophe »

In Internet explorer, sessions do not work if the name of the server contains an underscore. For example...if your server is called web_server, if you call a page which uses sessions like http://web_server/example.php your sessions won't work but sessions will work if you call the script like this [IP NUMBER]/example.php
skliarie
TestLink user
Posts: 5
Joined: Mon Sep 20, 2010 12:10 pm

Re: session expired inmediatelly on TestLink 1.8

Post by skliarie »

I see some weird behavior in testlink_1_9_beta6:
on my firefox 3.6.10 on Linux the sessions management works properly. On the same version of firefox on windows I always see the "Your session has expired! Please login again." and I can't login even with proper credentials.
Both Linux and Windows have proper timezone set.
skliarie
TestLink user
Posts: 5
Joined: Mon Sep 20, 2010 12:10 pm

Re: session expired inmediatelly on TestLink 1.8

Post by skliarie »

Found the problem - I had accidentally put additional ENTER at the end of custom_config.inc.php file. I discovered the problem only when I saw this

session_start() [<a href='function.session-start'>function.session-start</a>]: Cannot send session cookie - headers already sent by (output started at /var/www/atp.mycompany.com/testlink/testlink_1_9_beta6/custom_config.inc.php:7) - in /var/www/atp.mycompany.com/testlink/testlink_1_9_beta6/login.php - Line 166

made me wonder why didn't testlink warned me about the problem...
Locked