【问题标题】:Cron job error outputting failed loading of ioncube loaderCron 作业错误输出 ioncube 加载程序加载失败
【发布时间】:2015-02-16 17:22:12
【问题描述】:

我最近从 php 4 转到 5。我让我的服务器人员查看并正确安装了 ioncube 加载程序。我不知道这是什么以及实际要做什么。我有 magento 1.9,所以我每分钟都设置 cron 作业来输出销售电子邮件(就像我在其他地方读到的那样)

感谢您的帮助。

Failed loading /usr/local/IonCube/ioncube_loader_lin_5.4.so: /usr/local/IonCube/ioncube_loader_lin_5.4.so: undefined symbol: execute
Zend Guard Loader requires Zend Engine API version 220100525.
The Zend Engine API version 220121212 which is installed, is newer.
Contact Zend Technologies at http://www.zend.com/ for a later version of Zend Guard Loader.

X-Powered-By: PHP/5.5.21
Content-type: text/html


<b>Fatal error</b>: Uncaught exception 'Zend_Db_Adapter_Exception' with message 'The PDO extension is required for this adapter but the extension is not loaded' in /home/xxx/public_html/lib/Zend/Db/Adapter/Pdo/Abstract.php:342
Stack trace:
#0 /home/xxx/public_html/lib/Zend/Db/Adapter/Abstract.php(248): Zend_Db_Adapter_Pdo_Abstract-&gt;setFetchMode(2)
#1 /home/xxx/public_html/app/code/core/Mage/Core/Model/Resource.php(175): Zend_Db_Adapter_Abstract-&gt;__construct(Array)
#2 /home/xxx/public_html/app/code/core/Mage/Core/Model/Resource.php(110): Mage_Core_Model_Resource-&gt;_newConnection('pdo_mysql', Object(Mage_Core_Model_Config_Element))
#3 /home/xxx/public_html/app/code/core/Mage/Core/Model/Resource/Db/Abstract.php(320): Mage_Core_Model_Resource-&gt;getConnection('core_write')
#4 /home/xxxy/public_html/app/code/core/Mage/Core/Model/Resource/Db/Abstract.php(350): Mage_Core_Model_Resource_Db_Abstract-&gt;_getConnection('write')
#5 /home/xxx/public_html/app/code/core/Mage/Core/ in <b>/home/xxx/public_html/lib/Zend/Db/Adapter/Pdo/Abstract.php</b> on line <b>342</b><br />

【问题讨论】:

    标签: magento pdo cron


    【解决方案1】:

    您安装了 PHP 5.4 的 ionCube Loaders(如文件名所示),但您已安装 PHP 5.5 (X-Powered-By: PHP/5.5.21)。

    您可以从here 下载合适的 ionCube 加载器,或使用此处提供的加载器向导(ziptgz)来帮助安装;在任何情况下,您都必须从 php.ini 中删除 zend_extension = &lt;path to the outdated loaders/&gt; 行并重新启动 PHP/Apache 进程以删除过时的 Loader 扩展。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 2012-04-13
      • 2011-12-19
      • 2019-10-01
      • 2012-11-07
      • 1970-01-01
      • 2017-10-18
      • 2016-06-04
      相关资源
      最近更新 更多