[英]Error with cpanel migrated account (PEAR/MDB2)
I had a site in a cpanel server working well but when I have migrated it to a new one, I have a MDB2 error related.我在 cpanel 服务器中有一个站点运行良好,但是当我将它迁移到一个新站点时,我遇到了与 MDB2 相关的错误。
Fatal error: Call to a member function tableInfo() on a non-object in /home/lubrican/public_html/clientes/PEAR/MDB2.php on line 2547致命错误:在第 2547 行的 /home/lubrican/public_html/clientes/PEAR/MDB2.php 中的非对象上调用成员 function tableInfo()
( php code: http://pastebin.com/N7jf5Mkf ) (php 代码: http://pastebin.com/N7jf5Mkf )
I've migrated the site with the standard cpanel tools and all files looks complete.我已经使用标准的 cpanel 工具迁移了站点,所有文件看起来都很完整。
The MDB2 library seems work because I can do any search in the database. MDB2 库似乎可以工作,因为我可以在数据库中进行任何搜索。
The issue is when I add a record to the database.问题是当我向数据库添加记录时。
Any hint?有什么提示吗?
Thanks in advance提前致谢
It seems you do not have the latest version of MDB2.看来您没有最新版本的 MDB2。 Make sure to install version
2.5.0b3
.确保安装版本
2.5.0b3
。 It's marked beta, but very stable.它被标记为测试版,但非常稳定。 If the problem happens again, report back.
如果问题再次发生,请反馈。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.