I recently updated my mantis to version 1.2.1 and installed a new XAMPP package (1.7.3, with Apache 2.2.14 and PHP 5.3.1).
Everything's working fine, except for after a certain time (let's say a day) I cannot access mantis anymore (browser loads infinitely). When I restart apache it's working again. I checked the apache error.log and there are no relevant entries there.
Any help appreciated!
Mantis 1.2.1 hangs until apache restart
Moderators: Developer, Contributor
Re: Mantis 1.2.1 hangs until apache restart
There are known problems with MantisBT and PHP 5.3, but until now not clear and reproducible.
Please try adding the following line to your config_inc.php and give feedback whether this resolves your problem
$g_compress_html = OFF;
Please try adding the following line to your config_inc.php and give feedback whether this resolves your problem
$g_compress_html = OFF;
Re: Mantis 1.2.1 hangs until apache restart
Hi,
I tried $g_compress_html but it didn't help!
But actually now I could more or less reproduce the problem:
Seems to be related to logout/session.
I'm logged in as User A and can work without problems as long as I wish - and I can even logout and login again as I like!
But when now User B logs in (different browser or different machine) and then logs out - mantis hangs!
So if two users are logged in and one of them logs out - it crashes!
Concerning PHP 5.3 - I only installed it because the install check of mantis told me to do so
Some mor System infos:
Windows XP Pro
Apache/2.2.14 (Win32) DAV/2 mod_ssl/2.2.14 OpenSSL/0.9.8l mod_autoindex_color PHP/5.3.1 mod_apreq2-20090110/2.7.1 mod_perl/2.0.4 Perl/v5.10.1
MySQL-Client-Version: 5.1.41
PHP Erweiterung: mysqli
Thanks!
Raphael
I tried $g_compress_html but it didn't help!
But actually now I could more or less reproduce the problem:
Seems to be related to logout/session.
I'm logged in as User A and can work without problems as long as I wish - and I can even logout and login again as I like!
But when now User B logs in (different browser or different machine) and then logs out - mantis hangs!
So if two users are logged in and one of them logs out - it crashes!
Concerning PHP 5.3 - I only installed it because the install check of mantis told me to do so

Some mor System infos:
Windows XP Pro
Apache/2.2.14 (Win32) DAV/2 mod_ssl/2.2.14 OpenSSL/0.9.8l mod_autoindex_color PHP/5.3.1 mod_apreq2-20090110/2.7.1 mod_perl/2.0.4 Perl/v5.10.1
MySQL-Client-Version: 5.1.41
PHP Erweiterung: mysqli
Thanks!
Raphael
Re: Mantis 1.2.1 hangs until apache restart
Ok, I could patch it by uncommenting line 349 (CRYPT) in authentication_api.php. Works now.
When a new XAMPP with PHP > 5.3.1 will arrive you can probably use crypt again!
see: http://www.mantisbt.org/bugs/view.php?id=11535
When a new XAMPP with PHP > 5.3.1 will arrive you can probably use crypt again!
see: http://www.mantisbt.org/bugs/view.php?id=11535