Installation fails when moving config_inc.php
Posted: 17 Aug 2023, 14:38
I downloaded the latest version 2.25.7 and when I open the URL https://mantis.example.com then I see the below Pre-Installation Check, where all points are "GOOD" apart from this one:
When I move the file to the directory then mantis stops working with HTTP #500 and this error is in the log file:
I see clearly that the the core directory is added to the config directory which causes the problem.
Code: Select all
Checking there is no 'config_inc.php' file in 1.2.x location. BAD Move config_inc.php to config/config_inc.php.Hm, what am I doing wrong? PHP 8.2.8[php:warn] [pid 8148] PHP Warning: require_once(/application/mantis/config/core/php_api.php): Failed to open stream: No such file or directory in /application/mantis/core.php on line 247, referer: https://mantis.faf.software/admin/install.php
[php:error] [pid 8148] PHP Fatal error: Uncaught Error: Failed opening required '/application/mantis/config/core/php_api.php' (include_path='.:/usr/share/php7:/usr/share/php7/PEAR') in /application/mantis/core.php:247
Stack trace:
#0 /application/mantis/core.php(115): require_api('php_api.php')
#1 /application/mantis/admin/install.php(34): require_once('/application/ma...')
#2 {main}
thrown in /application/mantis/core.php on line 247, referer: https://mantis.faf.software/admin/install.php
I see clearly that the the core directory is added to the config directory which causes the problem.