• 欢迎 游客 您的光临,下载之前请先阅读 积分规则 。任何技术问题请在论坛提问,本站定制插件、模板主题。售前、售后问题请联系QQ:5916171
    本站自由发布资源可赚取积分及人民币(可提现)(保证资源真实可用,如被举报封号处理。谨慎分布)。
  • 即日起发表主题、回帖、发布&更新资源、创建&回复私信、发布&回复个人动态均需要验证手机号码,其它不受影响。如不便可进群提问。点击链接加入群聊【XenForo讨论社区】:群号1:143277648

已解决 安装报错

UID
358
注册
2019/05/15
消息
39
解决方案
1
黄金
971G
代码如下:
代码:
扩展 折叠 复制
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
阿里云虚拟主机
 
用官方测试文件测试如下:
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
 
虚拟主机,我个人认为最好不要安装xf了
都不能解决中文搜索的
 
建议使用VPS云主机
 
install和installdate 目录权限设置777
感谢回复,是阿里的虚拟主机mysql版本过低,无法升级,php的几个函数被禁用,无法删除禁用,已改用ecs,OK了。

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