Internal server Error on opening view_all_bug_page.php

Get help from other users here.

Moderators: Developer, Contributor

Post Reply
asadrasheed
Posts: 7
Joined: 19 May 2014, 05:56

Internal server Error on opening view_all_bug_page.php

Post by asadrasheed »

Hi,
I am facing an issue in my local Mantis deployment and need your help.

Once Login, when "All Projects" selected in Project dropdown and I click "View Issues" link, error page displayed:

Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator, <adminemail>@avanzasolutions.com and inform them of the time the error occurred, and anything you might have done that may have caused the error.
More information about this error may be available in the server error log.


While same "View Issues" link is working fine when any single project is selected. I have checked apache Error logs and found following lines against the above action:

[Wed Sep 17 11:52:03 2014] [error] [client 172.16.1.70] malformed header from script. Bad header=C34%2C33%2C32%2C31%2C30%2C29%2: php-cgi.exe, referer: http://<Server IP>/mantisbt/my_view_page.php

While in Apache access log, following line is logged:

"GET /mantisbt/view_all_bug_page.php HTTP/1.1" 500 552

Kindly let me know how to ersolve this issue.

NOTE:
=====
I have deployed Mantis with following specifications:
Version: 1.2.17, php-5.5.12, Apache 2.2, MySQL 5.5.11

Thanks,
Asad Rasheed
atrol
Site Admin
Posts: 8366
Joined: 26 Mar 2008, 21:37
Location: Germany

Re: Internal server Error on opening view_all_bug_page.php

Post by atrol »

I am not able to reproduce the issue with the given information.
Maybe because I am using PHP 5.5.16
Please use Search before posting and read the Manual
asadrasheed
Posts: 7
Joined: 19 May 2014, 05:56

Re: Internal server Error on opening view_all_bug_page.php

Post by asadrasheed »

@atrol:
Kindly update number of records to 5000, click Apply filter button and check again.

I have around 1500 bugs in the repository and there are around 40-50 Projects.
Can it be the reason for the Interval server Error on view_all_bug_page.php?

Waiting for your earliest feedback.

Thanks.
Asad Rasheed
asadrasheed
Posts: 7
Joined: 19 May 2014, 05:56

Re: Internal server Error on opening view_all_bug_page.php

Post by asadrasheed »

Also, once this error occur, same error is logged in apache error logs for any page I try to browse in Mantis:

[Fri Sep 19 16:35:34 2014] [error] [client 172.16.1.70] malformed header from script. Bad header=C100%2C101%2C102%2C103%2C104%2: php-cgi.exe, referer: http://172.16.0.16:88/mantisbt/my_view_page.php
[Fri Sep 19 16:37:07 2014] [error] [client 172.16.1.70] malformed header from script. Bad header=C100%2C101%2C102%2C103%2C104%2: php-cgi.exe, referer: http://172.16.0.16:88/mantisbt/view_all_bug_page.php
[Fri Sep 19 16:37:24 2014] [error] [client 172.16.1.70] malformed header from script. Bad header=C100%2C101%2C102%2C103%2C104%2: php-cgi.exe, referer: http://172.16.0.16:88/mantisbt/bug_report_page.php
[Fri Sep 19 16:37:32 2014] [error] [client 172.16.1.70] malformed header from script. Bad header=C100%2C101%2C102%2C103%2C104%2: php-cgi.exe, referer: http://172.16.0.16:88/mantisbt/manage_overview_page.php
atrol
Site Admin
Posts: 8366
Joined: 26 Mar 2008, 21:37
Location: Germany

Re: Internal server Error on opening view_all_bug_page.php

Post by atrol »

asadrasheed wrote: I have around 1500 bugs in the repository and there are around 40-50 Projects.
Can it be the reason for the Interval server Error on view_all_bug_page.php?
You never know. It could be if there is a memory leak in your PHP version. 1500 bugs in 50 projects is not a number where I expect problems that are caused by MantisBT itself.
Please use Search before posting and read the Manual
asadrasheed
Posts: 7
Joined: 19 May 2014, 05:56

Re: Internal server Error on opening view_all_bug_page.php

Post by asadrasheed »

Hi,
Thanks atrol for the reply.
I removed filter record from DB having 1500 in Perpage value and the issue disappear.
Post Reply