gpt4 book ai didi

php - modx evolution 中出现 mysqli 错误

转载 作者:行者123 更新时间:2023-11-29 11:41:56 24 4
gpt4 key购买 nike

我已将一个 modx 网站进化版本转移到另一个域,但在更改配置后在另一个域上,其管理器正在工作,但主网站意味着前 View 无法工作并给我错误。

《MODx 解析错误》MODx 在尝试解析请求的资源时遇到以下错误:« PHP 解析错误 »

PHP错误调试

  Error:    mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead  
Error type/ Nr.: - 8192
File: C:\xampp\htdocs\mpelimited\manager\includes\extenders\dbapi.mysql.class.inc.php
Line: 93
Line 93 source: else $this->conn = mysql_connect($host, $uid, $pwd, true);

Parser timing
MySQL: 0.0000 s (0 Requests)
PHP: 0.0250 s
Total: 0.0250 s

这是截图 http://prntscr.com/a7udni

如何在 MODx 版本 1.0.5 中解决此问题

请帮我解决这个问题。

最佳答案

请将 MODX Evolution 更新至 1.0.15 或即将推出的 1.1.0

关于php - modx evolution 中出现 mysqli 错误,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/35634614/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com