Page 1 of 1

Internal error - mantis 2.18 on debian 9

Posted: Nov 05, 2018 3:07 pm
by cheat
Hi, wanted to install Mantis 2.18 on Debian 9, get the following error message internal error during install and I know where the problem is? Could you please help me further, thank you in advance

Re: Internal error - mantis 2.18 on debian 9

Posted: Nov 05, 2018 3:43 pm
by atrol
cheat wrote:
Nov 05, 2018 3:07 pm
get the following error message internal error during install
What does "during install" mean? Do you get the error before the first page of the install script is displayed or after starting the installer?

Re: Internal error - mantis 2.18 on debian 9

Posted: Nov 05, 2018 4:26 pm
by cheat
Debian 9
Server version: Apache/2.4.25 (Debian)
PHP 7.0.30-0+deb9u1 (cli) (built: Jun 14 2018 13:50:25) ( NTS )
Server version: 10.1.26-MariaDB-0+deb9u1 Debian 9.1

----------------------
mysql -u root -p

MariaDB [(none)]> CREATE DATABASE exampledb;

MariaDB [(none)]> CREATE USER 'mantisuser'@'localhost' IDENTIFIED BY 'PASSWORD';

MariaDB [(none)]> GRANT ALL PRIVILEGES ON exampledb.* TO 'mantisuser'@'localhost' IDENTIFIED BY 'PASSWORD' WITH GRANT OPTION;

MariaDB [(none)]> FLUSH PRIVILEGES;

-------------------------
New Installation:


From web browser - FIRST PAGE

http://mysite/mantisbt/admin/install.php

Checking Installation all - GOOD
####################

Installation Options:
################
i enter database name, database user, database password and then click on - Attempt Installation - Installation / Upgrade Database

=> INTERNAL APPLICATION ERROR

Re: Internal error - mantis 2.18 on debian 9

Posted: Nov 06, 2018 3:19 am
by cheat
http://MY IP ADDRESS/mantis/admin/check/index.php

Database type is supported by the version of PHP installed on this server
The current database type is set to mysqli. The version of PHP installed on this server does not have support for this database type.

FAIL !!!!

what do I have to do to make it work? thank you in advance

Re: Internal error - mantis 2.18 on debian 9

Posted: Nov 06, 2018 4:22 am
by atrol
Didn't try, maybe this fixes the issue

Code: Select all

apt install php7.0-mysql
service apache2 restart

Re: Internal error - mantis 2.18 on debian 9

Posted: Nov 06, 2018 5:40 am
by cheat
thank you! the installation script runs it.