【问题标题】:Magento error after moving site to another hosting将站点移动到另一个主机后的 Magento 错误
【发布时间】:2014-10-17 13:14:44
【问题描述】:

我已将我的网站(CMS Magento)转移到另一个主机上,但我有最新版本(Apache 版本 2.2.29 | PHP 版本 5.5.16 | MySQL 版本 5.6.16-cll-lve)不像旧的主机(关于 v5.1)。 我在前端收到此错误“致命错误:在第 610 行的 /home/xxxxxx/public_html/app/code/core/Mage/Eav/Model/Config.php 中的非对象上调用成员函数 useLoadDataFields()”但标题仍在工作。我打开日志并显示此错误 "a:5:{i:0;s:63:"SQLSTATE[HY000]: General error: 2006 MySQL server has gone away";i:1;s:1580:"# 0 /home/xxxxxx/public_html/lib/Varien/Db/Statement/Pdo/Mysql.php(110): Zend_Db_Statement_Pdo->_execute(Array)...."。 在管理员登录时,我收到此错误“致命错误:在 /home/sexup/public_html/app/code/core/Mage/Adminhtml/Block/Widget/Grid/Column/Renderer/Text 中找不到类 'Mage_Adminhtml_Block_Widget_Grid_Column_Renderer_Abstract'。 php 在第 37 行"

请帮我解决这个问题。

【问题讨论】:

    标签: mysql magento transfer


    【解决方案1】:

    “SQLSTATE[HY000]: 一般错误: 2006 MySQL server has gone away”

    您是否在 app/etc/config 中设置了数据库连接?

    如果答案是肯定的,可能是您的新主机资源有问题(某些共享主机不适合 magento)?

    在这个链接下面是db error http://dev.mysql.com/doc/refman/5.0/en/gone-away.html的解释

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2020-12-29
      • 2015-04-09
      • 2014-04-27
      • 1970-01-01
      • 2012-04-23
      • 1970-01-01
      • 1970-01-01
      • 2013-12-02
      相关资源
      最近更新 更多