gpt4 book ai didi

Magento Cron 作业 fatal error

转载 作者:行者123 更新时间:2023-12-04 19:44:50 24 4
gpt4 key购买 nike

我正在为我的 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)

**

不知道怎么回事,我对 CentO 不是很友好。

请帮我解决这个问题。

最佳答案

您将 php.ini memory_limit 设置为 134M。 Magento 至少喜欢至少 256,如果可能的话,至少喜欢 512。在您的 php.ini 文件中,找到 memory_limit = 行并进行更改。如果您使用的是共享托管服务提供商,您可能需要联系他们为您增加它。

关于Magento Cron 作业 fatal error ,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/34827705/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com