MDB2、Pear、Mysql 错误
我安装了 PEAR、MDB2 和 Mysql 驱动程序,但我不断收到:
Fatal error: Call to undefined function:
MDB2_Driver_mysql::_isNewLinkSet().
in /home/********/PEAR/MDB2.php on line 1937.
服务器是 CentOS
我陷入困境,任何帮助都会得到帮助。
谢谢 :)
I have PEAR, MDB2 and Mysql Driver installed however I keep getting:
Fatal error: Call to undefined function:
MDB2_Driver_mysql::_isNewLinkSet().
in /home/********/PEAR/MDB2.php on line 1937.
The Server is CentOS
I am stuck, any help would be appriciated.
Thanks :)
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
遇到了同样的问题,
重新安装最后两个版本 Beta(目前)
一切都会好起来的。
Had the same problem,
Reinstall the two last version Beta (for now)
and it will be fine.
您是否有 http://pear.php.net/package/MDB2_Driver_mysql/ 或http://pear.php.net/package/MDB2_Driver_mysqli/ 安装了吗?目前还不清楚你是否这样做 - 尽管我怀疑你这样做(否则你会得到一个不同的错误)
你有哪个版本的MDB2_Driver_mysql?
Do you have either http://pear.php.net/package/MDB2_Driver_mysql/ or http://pear.php.net/package/MDB2_Driver_mysqli/ installed? It's not clear whether you do or not - though I suspect you do (otherwise you'd be getting a different error)
Which version of MDB2_Driver_mysql do you have?
我刚刚遇到过这种情况,请确保您的 MDB2 版本与 sql/sqli 驱动程序的版本匹配。我必须卸载并强制 PEAR 安装 beta 频道才能让它们匹配
Just had this happen to me, make sure your version of MDB2 matches the version of the sql/sqli drivers. I had to unsintall and force PEAR to install the beta channel inorder to get them to match