【问题标题】:Magento Newsletter queue not populating with recipientsMagento 通讯队列未填充收件人
【发布时间】:2014-05-31 01:28:29
【问题描述】:

我正在尝试通过我的 Magento 1.8 CE 商店发送时事通讯。我创建模板,然后将其排队并设置队列的日期/时间。当我单击“保存时事通讯”时,它会思考一会儿,然后屏幕变为空白(白色,没有消息等)。返回队列查看正在发生的事情时,除了处理的数量和接收者的数量为零外,它一切正常。我有 12000 个订阅者。

我已在我的测试站点中对此进行了测试,并且新闻通讯按预期发送,没有任何问题。

有什么建议吗?


按照建议,我查看了异常日志并找到了这个。

exception 'Mage_Core_Exception' with message 'Invalid block type: Magestore_Magenotification_Block_Adminhtml_Notification_Window' in /home/explimco/public_html/sub/on/store/app/Mage.php:594
Stack trace:
#0 /home/explimco/public_html/sub/on/store/includes/src/__default.php(27644): Mage::throwException('Invalid block t...')
#1 /home/explimco/public_html/sub/on/store/includes/src/__default.php(27586): Mage_Core_Model_Layout->_getBlockInstance('adminhtml/notif...', Array)
#2 /home/explimco/public_html/sub/on/store/includes/src/__default.php(27621): Mage_Core_Model_Layout->createBlock('adminhtml/notif...', 'notification_wi...')
#3 /home/explimco/public_html/sub/on/store/includes/src/__default.php(27388): Mage_Core_Model_Layout->addBlock('adminhtml/notif...', 'notification_wi...')
#4 /home/explimco/public_html/sub/on/store/includes/src/__default.php(27354): Mage_Core_Model_Layout->_generateBlock(Object(Mage_Core_Model_Layout_Element), Object(Mage_Core_Model_Layout_Element))
#5 /home/explimco/public_html/sub/on/store/includes/src/__default.php(27359): Mage_Core_Model_Layout->generateBlocks(Object(Mage_Core_Model_Layout_Element))
#6 /home/explimco/public_html/sub/on/store/includes/src/__default.php(13798): Mage_Core_Model_Layout->generateBlocks()
#7 /home/explimco/public_html/sub/on/store/includes/src/__default.php(13723): Mage_Core_Controller_Varien_Action->generateLayoutBlocks()
#8 /home/explimco/public_html/sub/on/store/includes/src/Mage_Adminhtml_Controller_Action.php(275): Mage_Core_Controller_Varien_Action->loadLayout(NULL, true, true)
#9 /home/explimco/public_html/sub/on/store/app/code/core/Mage/Adminhtml/controllers/CustomerController.php(88): Mage_Adminhtml_Controller_Action->loadLayout()
#10 /home/explimco/public_html/sub/on/store/includes/src/__default.php(13872): Mage_Adminhtml_CustomerController->gridAction()
#11 /home/explimco/public_html/sub/on/store/includes/src/__default.php(18234): Mage_Core_Controller_Varien_Action->dispatch('grid')
#12 /home/explimco/public_html/sub/on/store/includes/src/__default.php(17768): Mage_Core_Controller_Varien_Router_Standard->match(Object(Mage_Core_Controller_Request_Http))
#13 /home/explimco/public_html/sub/on/store/includes/src/__default.php(20368): Mage_Core_Controller_Varien_Front->dispatch()
#14 /home/explimco/public_html/sub/on/store/app/Mage.php(683): Mage_Core_Model_App->run(Array)
#15 /home/explimco/public_html/sub/on/store/index.php(87): Mage::run('', 'store')
#16 {main}

【问题讨论】:

    标签: magento message newsletter magento-1.8


    【解决方案1】:

    如果是“白屏死机”,则可能表示 PHP 错误。

    在您保存后,它将在队列日期发生后才会发送。那么,当你保存它时,问题真的存在吗?

    • 检查 var/log/exception.log - 查看其中是否有任何可能表明存在问题的消息。如果是这样,请编辑您的原始问题并将其粘贴,以便我们查看。

    这是在远程服务器还是本地服务器上?如果远程,您是否设置了 chron 文件(http://www.magentocommerce.com/boards/viewthread/58791/)?您是否能够在没有时事通讯的情况下发送电子邮件(换句话说,电子邮件是否正常工作)?

    【讨论】:

    • 感谢吉斯托。我已经按照建议发布了日志。它位于远程服务器上并使用 cron 作业运行。其他电子邮件工作正常。测试站点发送时事通讯没有问题,而实时站点过去也发送时事通讯没有问题。
    • 查看该日志文件,您的 Magestore Magenotification 模块似乎存在问题。你能禁用它,看看会发生什么?您还提到您曾经能够发送时事通讯 - 您是否安装了 Magestore 然后开始出现问题?您是否安装了另一个扩展程序,然后发现了问题?
    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2012-06-16
    • 1970-01-01
    相关资源
    最近更新 更多