Post-install check shows problem - how do I fix it?

Get help from other users here.

Moderators: Developer, Contributor

Post Reply
MightyMouse58
Posts: 9
Joined: 05 Nov 2012, 13:35

Post-install check shows problem - how do I fix it?

Post by MightyMouse58 »

Hi guys,

I have just installed the latest version of MantisBT onto my Win7 Pro laptop. When I ran the 'check' routine, it returned the error shown in the attached graphic - 'Checking MantisBT upload file size is less than php'. I've checked the config_inc.php but couldn't find anything there about max_file_size - how and where do I go to fix this problem? (Sorry my knowledge of PHP is not the best).

Advice appreciated.

Cheers
Mantis Config Error message
Mantis Config Error message
MantisConfigError.png (195.88 KiB) Viewed 3475 times
The only easy day was yesterday
Carl
Melbourne, Australia

Mantis: 2.7.0
PHP: 7.1.9
SQL: MySQL 5.0.12
XAMPP: 7.1.9
Apache: 2.4.27
OS: Win10 Pro 64-bit
atrol
Site Admin
Posts: 8549
Joined: 26 Mar 2008, 21:37
Location: Germany

Re: Post-install check shows problem - how do I fix it?

Post by atrol »

add the following line to file config_inc.php

Code: Select all

$g_max_file_size		= 2097152;
Please use Search before posting and read the Manual
MightyMouse58
Posts: 9
Joined: 05 Nov 2012, 13:35

Re: Post-install check shows problem - how do I fix it?

Post by MightyMouse58 »

Thanks Atrol, appreciated.

Cheers
The only easy day was yesterday
Carl
Melbourne, Australia

Mantis: 2.7.0
PHP: 7.1.9
SQL: MySQL 5.0.12
XAMPP: 7.1.9
Apache: 2.4.27
OS: Win10 Pro 64-bit
Post Reply