最新消息
  • 您好下载中心的主题现已开启全免费下载!
  • 欢迎 游客 您的光临,下载之前请先阅读 积分规则(暂行) 。任何技术问题请在论坛提问,本站定制插件售前、售后问题请联系QQ:5916171

已解决 安装报错

UID
358
注册
2019/05/15
消息
25
黄金
183.95G
    Windows 10 Chrome 70.0.3538.25
  • #1
代码如下:
代码:
ErrorException: [E_WARNING] mysqli::set_charset(): Error executing query in src/XF/Db/Mysqli/Adapter.php at line 176
XF::handlePhpError()
mysqli->set_charset() in src/XF/Db/Mysqli/Adapter.php at line 176
XF\Db\Mysqli\Adapter->makeConnection() in src/XF/Db/Mysqli/Adapter.php at line 28
XF\Db\Mysqli\Adapter->getConnection() in src/XF/Db/AbstractAdapter.php at line 60
XF\Db\AbstractAdapter->connect() in src/XF/Install/Controller/AbstractController.php at line 60
XF\Install\Controller\AbstractController->testConfig() in src/XF/Install/Controller/Install.php at line 69
XF\Install\Controller\Install->actionBuildConfig() in src/XF/Mvc/Dispatcher.php at line 321
XF\Mvc\Dispatcher->dispatchClass() in src/XF/Mvc/Dispatcher.php at line 248
XF\Mvc\Dispatcher->dispatchFromMatch() in src/XF/Mvc/Dispatcher.php at line 100
XF\Mvc\Dispatcher->dispatchLoop() in src/XF/Mvc/Dispatcher.php at line 50
XF\Mvc\Dispatcher->run() in src/XF/App.php at line 2177
XF\App->run() in src/XF.php at line 390
XF::runApp() in install/index.php at line 14
阿里云虚拟主机
 
UID
358
注册
2019/05/15
消息
25
黄金
183.95G
    Windows 10 Chrome 70.0.3538.25
  • #2
用官方测试文件测试如下:
XenForo 2 system requirements test
Requirements met
Your server meets all of XenForo's PHP requirements.
However, the following warnings should be noted - you may need to ask your host to address these:
  1. Your server has disabled a core PHP function exec via the disable_functions directive in php.ini. This may cause unexpected problems in XenForo.
  2. Your server has disabled a core PHP function escapeshellarg via the disable_functions directive in php.ini. This may cause unexpected problems in XenForo.
  3. Your server has disabled a core PHP function proc_open via the disable_functions directive in php.ini. This may cause unexpected problems in XenForo.
  4. Your server has disabled a core PHP function popen via the disable_functions directive in php.ini. This may cause unexpected problems in XenForo.
XenForo also requires MySQL 5.5 or newer. Please manually check that you meet this requirement.

php.ini 所有项都开启了,难道阿里云虚拟主机不支持这个程序,怎么办啊
1291
 
管理成员
UID
1
注册
2017/07/28
消息
1,011
黄金
16,533.93G
虚拟主机,我个人认为最好不要安装xf了
都不能解决中文搜索的
 
UID
358
注册
2019/05/15
消息
25
黄金
183.95G
    Windows 10 Chrome 70.0.3538.25
  • #6
install和installdate 目录权限设置777
感谢回复,是阿里的虚拟主机mysql版本过低,无法升级,php的几个函数被禁用,无法删除禁用,已改用ecs,OK了。

xf的确比一般程序配置要求多一些:ecms14:
 
顶部 底部