400 Bad Request

Get help from other users here.

Moderators: Developer, Contributor

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

400 Bad Request

Post by jasond »

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 17 Apr 2019, 02:36, edited 1 time in total.
atrol
Site Admin
Posts: 8366
Joined: 26 Mar 2008, 21:37
Location: Germany

Re: 400 Bad Request

Post by atrol »

jasond wrote: 16 Apr 2019, 21:23after 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: 16 Apr 2019, 21:21

Re: 400 Bad Request

Post by jasond »

atrol wrote: 16 Apr 2019, 21:46
jasond wrote: 16 Apr 2019, 21:23after upgrade to Mantis 2.20.0.
Which version did you run before?
2.1.0
atrol
Site Admin
Posts: 8366
Joined: 26 Mar 2008, 21:37
Location: Germany

Re: 400 Bad Request

Post by atrol »

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: 16 Apr 2019, 21:21

Re: 400 Bad Request

Post by jasond »

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