我正在为我的Magento网站使用CentOs服务器。不知怎的,我的magento cron作业没有运行,所以我检查了使用“crontab -l”命令来验证是否有cron配置,但我什么也没找到,然后我使用“crontab -e”命令配置了crontab并输入crontab中的magento cron.php路径。
**
Error message
E_ERROR: Allowed memory size of 134217728 bytes exhausted (tried to allocate 32 bytes)
Stack trace
…ement::fetchAll called at /var/www/vhosts/syspro/lib/Zend/Db/Statement/
Pdo.php (290)
…do::fetchAll called at /var/www/vhosts/syspro/lib/Zend/Db/Adapter/
Abstract.php (735)
…/www/vhosts/syspro/app/code/core/Mage/Eav/Model/Entity/Collection/
Abstract.php (1111)
…vhosts/syspro/app/code/core/Mage/Catalog/Model/Resource/Product/
Collection.php (480)
…/www/vhosts/syspro/app/code/core/Mage/Eav/Model/Entity/Collection/
Abstract.php (874)
…Abstract::load called at /var/www/vhosts/syspro/lib/Varien/Data/
Collection.php (741)
…vhosts/syspro/app/code/core/Mage/Catalog/Model/Resource/Product/
Collection.php (1493)
…hosts/syspro/app/code/core/Mage/Sales/Model/Resource/Quote/Item/
Collection.php (182)
…hosts/syspro/app/code/core/Mage/Sales/Model/Resource/Quote/Item/
Collection.php (139)
…:_afterLoad called at /var/www/vhosts/syspro/lib/Varien/Data/Collection/
Db.php (587)
…ction_Db::load called at /var/www/vhosts/syspro/lib/Varien/Data/
Collection.php (741)
…ator called at /var/www/vhosts/syspro/app/code/core/Mage/Sales/Model/
Quote.php (774)
…ar/www/vhosts/syspro/app/code/community/Ebizmarts/AbandonedCart/Model/
Cron.php (273)
…ar/www/vhosts/syspro/app/code/community/Ebizmarts/AbandonedCart/Model/
Cron.php (154)
…ar/www/vhosts/syspro/app/code/community/Ebizmarts/AbandonedCart/Model/
Cron.php (95)
…ar/www/vhosts/syspro/app/code/community/Ebizmarts/AbandonedCart/Model/
Cron.php (36)
in Ebizmarts_AbandonedCart_Model_Cron::abandoned called at ? (?)
…ay called at /var/www/vhosts/syspro/app/code/core/Mage/Cron/Model/
Observer.php (325)
…ob called at /var/www/vhosts/syspro/app/code/core/Mage/Cron/Model/
Observer.php (72)
…ispatch called at /var/www/vhosts/syspro/app/code/core/Mage/Core/Model/
App.php (1338)
…rMethod called at /var/www/vhosts/syspro/app/code/core/Mage/Core/Model/
App.php (1317)
…ge_Core_Model_App::dispatchEvent called at /var/www/vhosts/syspro/app/
Mage.php (448)
in Mage::dispatchEvent called at /var/www/vhosts/magento/cron.php (77)
**
不知道发生了什么,我对CentOs不是很友好。
请帮我解决这个问题。
答案 0 :(得分:0)
你的php.ini memory_limit设置为134M。 Magento至少需要256个,如果可能,至少需要512个。在php.ini文件中,找到memory_limit =行并进行更改。如果您是共享托管服务提供商,则可能需要与他们联系以便为您增加。