rhel6.5搭建mantis时报错“INTERNAL APPLICATION ERROR”
Posted
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了rhel6.5搭建mantis时报错“INTERNAL APPLICATION ERROR”相关的知识,希望对你有一定的参考价值。
参考之前成功搭建mantis时整理的文档,再次在rhel6.5上搭建mantis时遇到个之前没遇到过的问题,在搜寻过网上一些文档后依旧没能解决,因此在这整理出来,希望有路过的大佬能顺便帮忙指点一二。
图中信息理论上来讲是没有问题的,但是点击之后开始报错,如下图:
操作系统:Redhat 6.5
php版本:7.0
mysql版本:5.6.22 (编译安装)
mysql数据库root密码为root
mysql -uroot -proot
mantis版本:mantisbt-2.17.1.tar.gz
mantisbt-2.16.0-dev-master-1e14941.tar.gz ---> 这个版本也试过,也是一样的报错,但是上一次成功搭建用的就是这个版本
mantis库:
create database mantis default character set utf8 collate utf8_general_ci;
grant all privileges on mantis. to ‘mantis‘@‘%‘ identified by ‘mantis‘;
grant all privileges on mantis. to ‘mantis‘@‘localhost‘ identified by ‘mantis‘;
grant all privileges on mantis. to ‘root‘@‘%‘ identified by ‘root‘;
grant all privileges on mantis. to ‘root‘@‘localhost‘ identified by ‘root‘;
flush privileges;
http日志中报错:
/var/log/httpd/error_log
26 [Tue Oct 23 09:30:41 2018] [error] [client 20.20.20.1] File does not exist: /var/www/html/mantisbt/css/admin, referer: http://20.20.20.42/mantisbt/admin/install.php
27 [Tue Oct 23 09:31:27 2018] [error] [client 20.20.20.1] Call to undefined function mysqli_connect_error()
/var/www/html/mantisbt/core/database_api.php: 588: ADODB_mysqli - - > - ErrorMsg()
/var/www/html/mantisbt/admin/install.php: 431: - - - - db_error_msg()
, referer: http://20.20.20.42/mantisbt/admin/install.php
28 [Tue Oct 23 09:31:27 2018] [error] [client 20.20.20.1] File does not exist: /var/www/html/mantisbt/css/admin, referer: http://20.20.20.42/mantisbt/admin/install.php
29 [Tue Oct 23 09:38:54 2018] [error] [client 20.20.20.1] Call to undefined function mysqli_connect_error()
/var/www/html/mantisbt/core/database_api.php: 588: ADODB_mysqli - - > - ErrorMsg()
/var/www/html/mantisbt/admin/install.php: 431: - - - - db_error_msg()
, referer: http://20.20.20.42/mantisbt/admin/install.php
30 [Tue Oct 23 09:38:55 2018] [error] [client 20.20.20.1] File does not exist: /var/www/html/mantisbt/css/admin, referer: http://20.20.20.42/mantisbt/admin/install.php
31 [Tue Oct 23 09:38:58 2018] [error] [client 20.20.20.1] File does not exist: /var/www/html/mantisbt/css/admin, referer: http://20.20.20.42/mantisbt/admin/install.php
32 [Tue Oct 23 09:39:00 2018] [error] [client 20.20.20.1] File does not exist: /var/www/html/mantisbt/css/admin, referer: http://20.20.20.42/mantisbt/admin/install.php
33 [Tue Oct 23 09:39:01 2018] [error] [client 20.20.20.1] File does not exist: /var/www/html/mantisbt/css/admin, referer: http://20.20.20.42/mantisbt/admin/install.php
34 [Tue Oct 23 09:39:25 2018] [error] [client 20.20.20.1] Call to undefined function mysqli_connect_error()
/var/www/html/mantisbt/core/database_api.php: 588: ADODB_mysqli - - > - ErrorMsg()
/var/www/html/mantisbt/admin/install.php: 431: - - - - db_error_msg()
, referer: http://20.20.20.42/mantisbt/admin/install.php
35 [Tue Oct 23 09:39:25 2018] [error] [client 20.20.20.1] File does not exist: /var/www/html/mantisbt/css/admin, referer: http://20.20.20.42/mantisbt/admin/install.php
36 [Tue Oct 23 09:58:15 2018] [error] [client 20.20.20.1] File does not exist: /var/www/html/mantisbt/css/admin, referer: http://20.20.20.42/mantisbt/admin/install.php
37 [Tue Oct 23 09:59:11 2018] [error] [client 20.20.20.1] Call to undefined function mysqli_connect_error()
/var/www/html/mantisbt/core/database_api.php: 588: ADODB_mysqli - - > - ErrorMsg()
/var/www/html/mantisbt/admin/install.php: 431: - - - - db_error_msg()
, referer: http://20.20.20.42/mantisbt/admin/install.php
38 [Tue Oct 23 09:59:11 2018] [error] [client 20.20.20.1] File does not exist: /var/www/html/mantisbt/css/admin, referer: http://20.20.20.42/mantisbt/admin/install.php
39 [Tue Oct 23 10:11:28 2018] [error] [client 20.20.20.1] Call to undefined function mysqli_connect_error()
/var/www/html/mantisbt/core/database_api.php: 588: ADODB_mysqli - - > - ErrorMsg()
/var/www/html/mantisbt/admin/install.php: 431: - - - - db_error_msg()
, referer: http://20.20.20.42/mantisbt/admin/install.php
40 [Tue Oct 23 10:11:29 2018] [error] [client 20.20.20.1] File does not exist: /var/www/html/mantisbt/css/admin, referer: http://20.20.20.42/mantisbt/admin/install.php
/var/www/html/mantisbt/admin/install.php
431 ‘Does administrative user have access to the database? ( ‘ . string_attribute( db_error_msg() ) . ‘ )‘
以上是关于rhel6.5搭建mantis时报错“INTERNAL APPLICATION ERROR”的主要内容,如果未能解决你的问题,请参考以下文章