400 Bad Request

Get help from other users here.

Moderators: Developer, Contributor

Post Reply
jasond
Posts: 3
Joined: Apr 16, 2019 4:21 pm

400 Bad Request

Post by jasond » Apr 16, 2019 4:23 pm

We're getting 400 Bad request on file_download.php after upgrade to Mantis 2.20.0.

None of the previews are working.


Things I have tried/confirmed so far:
- GD Library is installed.
- Increased PHP's memory limit to 512mb
- $g_use_dynamic_filters = OFF;

Mantis Version: 2.20.0
PHP Version: 7.1.27
Last edited by jasond on Apr 16, 2019 9:36 pm, edited 1 time in total.

atrol
Site Admin
Posts: 7627
Joined: Mar 26, 2008 4:37 pm
Location: Germany

Re: 400 Bad Request

Post by atrol » Apr 16, 2019 4:46 pm

jasond wrote:
Apr 16, 2019 4:23 pm
after upgrade to Mantis 2.20.0.
Which version did you run before?
Please use Search before posting and read the Manual

jasond
Posts: 3
Joined: Apr 16, 2019 4:21 pm

Re: 400 Bad Request

Post by jasond » Apr 16, 2019 9:34 pm

atrol wrote:
Apr 16, 2019 4:46 pm
jasond wrote:
Apr 16, 2019 4:23 pm
after upgrade to Mantis 2.20.0.
Which version did you run before?
2.1.0

atrol
Site Admin
Posts: 7627
Joined: Mar 26, 2008 4:37 pm
Location: Germany

Re: 400 Bad Request

Post by atrol » Apr 17, 2019 1:07 am

Did you run admin/check/index.php after upgrade?
I assume you will get some errors / warnings.
Please use Search before posting and read the Manual

jasond
Posts: 3
Joined: Apr 16, 2019 4:21 pm

Re: 400 Bad Request

Post by jasond » Apr 17, 2019 11:24 am

It turned out to be related to MariaDB 5.X. Upgrading to 10.0 took care of the issue. I also moved the files to DISK. There is no reason why they should be in the database.

Post Reply