Cron作业错误输出失败的ioncube装载器加载

时间:2015-02-16 04:09:50

标签: magento pdo cron

我最近从php 4迁移到5.我让我的服务器人看起来并且正确安装了ioncube loader。我不知道这是什么以及实际做什么。我有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 />

1 个答案:

答案 0 :(得分:0)

您安装了适用于PHP 5.4的ionCube Loaders(由文件名表示),但您安装了PHP 5.5(X-Powered-By: PHP/5.5.21)。

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