Upgrade from 1.0.7 to 1.1.7: Ajax broken

Get help from other users here.

Moderators: Developer, Contributor

Post Reply
SeanBDurkin
Posts: 4
Joined: 24 Jul 2007, 07:21

Upgrade from 1.0.7 to 1.1.7: Ajax broken

Post by SeanBDurkin »

Hello.

I have upgraded an installatio of mantis from version 1.0.7 to 1.1.7
My PHP version is 5.2.3

When I go to the View Issues page (view_all_bug_page.php), the listing of issues is at first empty.
Then after about 5 seconds, the page bombs out with the browser returning a Page Load Error ("Connection Interrupted. The document contains no data.")

The problem does not occur on empty or small projects; only projects with more than a few issues are affected.

The view_all_bug_page.php page uses Ajax to load the data rows (issues) and this is where the problem lies. The Ajax load just seems to time-out.

Can any one please advise?

Faithfully,
Sean B. Durkin
SeanBDurkin
Posts: 4
Joined: 24 Jul 2007, 07:21

Re: Upgrade from 1.0.7 to 1.1.7: Ajax broken

Post by SeanBDurkin »

I have some further information.

Whenever the view issues page is invoked the NT Event log records the following pair of errors.

Faulting application apache.exe, version 2.2.4.0, faulting module ntdll.dll, version 5.2.3790.4455, fault address 0x000417df.
Faulting application apache.exe, version 2.2.4.0, faulting module ZendOptimizer.dll, version 0.0.0.0, fault address 0x0004dc22.

If I roll back Mantis to 1.0.7 this problem goes away. But if I upgrade to 1.1.7, I get the time-outs.

Can anybody advise?

Semper fidelis,
Sean.
SeanBDurkin
Posts: 4
Joined: 24 Jul 2007, 07:21

Re: Upgrade from 1.0.7 to 1.1.7: Ajax broken

Post by SeanBDurkin »

Ok, I've got the solution now - Disable Zend Optimiser.


I use the XAMPP for windows (http://www.apachefriends.org/en/xampp.html) as my AMP stack, which automatically includes Zend Optimiser. Somewhere between version 1.0.7 and 1.1.7, Mantis became incompatible with Zend Optimiser. Probably it was the Ajax element of Mantis that Zend did not like.

:idea: Could I turn this into a feature request? I suggest that a future version of Mantis have included in its list of pre-installation tests, a test for the presence of ZendOptimiser. If the Optimiser is present the test should fail.


Faithfully,
Sean B. Durkin
Post Reply