I installed latest testlink 1.9beta5 to our linux server. Unfortunately login doesn't work. After login on apache logs I see index.php request, and immediately end back to login, saying 'Your session has expired! Please login again.'
Same symptoms were reported on this thread: http://www.teamst.org/forum/viewtopic.php?f=9&t=1910
Any ideas?
Session expired immediately on testlink 1.9beta5
Moderators: Amaradana, TurboPT, TL Developers
Re: Session expired immediately on testlink 1.9beta5
the same happens 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.
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.
Re: Session expired immediately on testlink 1.9beta5
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...
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...
Re: Session expired immediately on testlink 1.9beta5
How do you think system is able to understand there is an addition CR on file ?
If you have the answer please contribute with solution instead on complain.
If you have the answer please contribute with solution instead on complain.
Re: Session expired immediately on testlink 1.9beta5
It should be pretty trivial to check whether there are excessive <CR>s after final "?>" in the custom_config.inc.php file as this is the only file users might modify.
Other (IMHO dirtier) option is to unmask the errors to go to browser.
Other (IMHO dirtier) option is to unmask the errors to go to browser.