Page 1 of 1

mantis working at first instance only until restart apache

Posted: 18 Dec 2009, 08:22
by sameerj
I migrate a mantis database on another machine.
mantis version is same at both places - 1.1.8.
but for installing Mantis, i used xampp (bundled apache, php, perl and mysql)

Now when i starting mantis by giving username & password, this first session works fine.
But when i am getting logout or close the window, and thereafter start second session, it won't work. IE showing message "waiting for ----" and it's keep showing for long time. it never comes.

but if i restarted apache server, then it's works fine again for first time.

Another observation is -
1) start Apache server.
2) If user start mantis after 20-25 minutes, he will face same problem. (not getting login page)

Currently i am trying to access from that PC only -- "http://localhost/mantis".

What would be the problem?

Re: mantis working at first instance only until restart apache

Posted: 28 Jan 2010, 13:08
by Bithunter
Any fix or workaround for this issue? (I´m experimenting the same problem)

Re: mantis working at first instance only until restart apache

Posted: 28 Jan 2010, 13:14
by atrol
there is not enough information to give a real good advice,
my speculation: you are using PHP 5.3 , give a try to 5.2.x

Re: mantis working at first instance only until restart apache

Posted: 02 Feb 2010, 10:14
by Z.I.P.
Absolutely the same problem. (using php 5.3.1)

Is downgrading php really helps?

Re: mantis working at first instance only until restart apache

Posted: 02 Feb 2010, 11:50
by atrol
at least this
http://www.mantisbt.org/bugs/view.php?id=11255
should be warning enough to use 5.2

Re: mantis working at first instance only until restart apache

Posted: 03 Feb 2010, 13:20
by Z.I.P.
I've downladed the latest version (1.2 rc2) but still the same thing... is php version also actual for mantis 1.2?

Re: mantis working at first instance only until restart apache

Posted: 03 Feb 2010, 15:27
by atrol
Looking at the forum and the bugtracker, it seems that there are also problems with 1.2

Until now I am not able to reproduce any of these problems. Not with 1.1.8, not with 1.2 (but always fresh empty installations and not using any email stuff)
I tried with XAMPP 1.7.3 where PHP 5.3.1 is included to have a platform which can be easily setup by developers.

Some more of this PHP 5.3 stuff
http://www.mantisbt.org/bugs/view.php?id=11154

Every detail which is given by users could help to find the bug behind this problem.

Re: mantis working at first instance only until restart apache

Posted: 08 Feb 2010, 11:29
by Z.I.P.
I've installed Mantis 1.2 at two devices -
1) Mac OS X 10.5.8 - XAMPP 1.7.2a - works fine about a month
2) Win 2003 Server - XAMPP 1.7.3 - works fine about 5-20 min after apache restart

If adiitional details will be needed, I'm ready to send them.

Re: mantis working at first instance only until restart apac

Posted: 09 Mar 2010, 12:17
by sameerj
According to tips given in 0011535 by bmencke ,

Commenting following lines in core/authentication_api.php:

396: /*if( $p_method !== null ) {
397: $t_login_method = $p_method;
398: }*/

it seems to be working.

but what is side effect of this
or anybody have different solution other than this?