2017-02-04 4 views
1

ここは新しいです。 私のサイトは昨年完璧に働いていましたが、今回は2つの変更を加えました: 1.新しいショップビューを作成します 2.ホストを更新します その後、すべてのmagentoメールの送信が停止します。私は、エントリが適切に そして後に作成されるDB内のテーブル「core_email_queue」をチェックすると AOE Scheduler : メールアカウントはよく テンプレートは、右のフォルダ取引の電子メールが停止 - Magento

私はAOEスケジューラをインストールしているし、すべてがうまくように思わ定義されています5分には、「処理」されている After cron execution

私はまた、次のコードで直接電子メールを送信しようとしてい

<?php 
    ini_set('display_errors', 1); 
    error_reporting(E_ALL); 
    $from = "[email protected]"; 
    $to = "[email protected]"; 
    $subject = "PHP Mail Test script"; 
    $message = "This is a test to check the PHP Mail functionality"; 
    $headers = "From:" . $from; 
    mail($to,$subject,$message, $headers); 
    echo "Test email sent"; 
?> 

と動作します。 私は他に何を試みるべきかわかりません。 ご協力いただきありがとうございます。

exception.log

2017-02-05T09:59:14+00:00 DEBUG (7): Exception message: This email address is already assigned to another user. 
Trace: #0 /home/oo1lu856/public_html/app/code/core/Mage/Newsletter/controllers/SubscriberController.php(61): Mage::throwException('This email addr...') 
#1 /home/oo1lu856/public_html/app/code/core/Mage/Core/Controller/Varien/Action.php(418): Mage_Newsletter_SubscriberController->newAction() 
#2 /home/oo1lu856/public_html/app/code/core/Mage/Core/Controller/Varien/Router/Standard.php(254): Mage_Core_Controller_Varien_Action->dispatch('new') 
#3 /home/oo1lu856/public_html/app/code/core/Mage/Core/Controller/Varien/Front.php(172): Mage_Core_Controller_Varien_Router_Standard->match(Object(Mage_Core_Controller_Request_Http)) 
#4 /home/oo1lu856/public_html/app/code/core/Mage/Core/Model/App.php(365): Mage_Core_Controller_Varien_Front->dispatch() 
#5 /home/oo1lu856/public_html/app/Mage.php(684): Mage_Core_Model_App->run(Array) 
#6 /home/oo1lu856/public_html/index.php(83): Mage::run('', 'store') 
#7 {main} 
2017-02-05T09:59:29+00:00 DEBUG (7): Exception message: This email address is already assigned to another user. 
Trace: #0 /home/oo1lu856/public_html/app/code/core/Mage/Newsletter/controllers/SubscriberController.php(61): Mage::throwException('This email addr...') 
#1 /home/oo1lu856/public_html/app/code/core/Mage/Core/Controller/Varien/Action.php(418): Mage_Newsletter_SubscriberController->newAction() 
#2 /home/oo1lu856/public_html/app/code/core/Mage/Core/Controller/Varien/Router/Standard.php(254): Mage_Core_Controller_Varien_Action->dispatch('new') 
#3 /home/oo1lu856/public_html/app/code/core/Mage/Core/Controller/Varien/Front.php(172): Mage_Core_Controller_Varien_Router_Standard->match(Object(Mage_Core_Controller_Request_Http)) 
#4 /home/oo1lu856/public_html/app/code/core/Mage/Core/Model/App.php(365): Mage_Core_Controller_Varien_Front->dispatch() 
#5 /home/oo1lu856/public_html/app/Mage.php(684): Mage_Core_Model_App->run(Array) 
#6 /home/oo1lu856/public_html/index.php(83): Mage::run('', 'store') 
#7 {main} 

system.logにはcronを避けることによって解決

2017-01-31T21:59:49+00:00 ERR (3): Warning: simplexml_load_string(): (null)Entity: line 2: parser error : out of memory error in /home/oo1lu856/public_html/lib/Varien/Simplexml/Config.php on line 383 
2017-01-31T21:59:49+00:00 ERR (3): Warning: simplexml_load_string(): tem&gt;*&lt;/to_order_item&gt;&lt;/weee_tax_applied&gt;&lt;weee_tax_applied_amount&gt;&lt;to_order_item&gt; in /home/oo1lu856/public_html/lib/Varien/Simplexml/Config.php on line 383 
2017-01-31T21:59:49+00:00 ERR (3): Warning: simplexml_load_string():                    ^in /home/oo1lu856/public_html/lib/Varien/Simplexml/Config.php on line 383 
2017-01-31T21:59:49+00:00 ERR (3): Warning: simplexml_load_string(): Entity: line 2: parser error : xmlSAX2Characters in /home/oo1lu856/public_html/lib/Varien/Simplexml/Config.php on line 383 
2017-01-31T21:59:49+00:00 ERR (3): Warning: simplexml_load_string(): tem&gt;*&lt;/to_order_item&gt;&lt;/weee_tax_applied&gt;&lt;weee_tax_applied_amount&gt;&lt;to_order_item&gt; in /home/oo1lu856/public_html/lib/Varien/Simplexml/Config.php on line 383 
2017-01-31T21:59:49+00:00 ERR (3): Warning: simplexml_load_string(): 
+0

編集したtemplate.phpをコピーしないでくださいあなたはマゼンタのログをチェックしていますか? – Pablote

+0

@pablote:これらは最後のトランザクションメールの後の関連するログです: –

答えて

1

。 更新するとサーバーの更新が変更され、cron.shを実行できないようです 私のマゼンタショップのボリュームが小さいため、ホスティングプロバイダのみが専用サーバーに変更することを提案しました。だから私は編集により、注文のメールをキューイング避ける:

/app/code/core/Mage/Core/Model/Email/Template.php Line:407(approximate) 

/*if (!($this->hasQueue() && $this->getQueue() instanceof Mage_Core_Model_Email_Queue)) { 
    ## @var $emailQueue Mage_Core_Model_Email_Queue 
    $emailQueue = $this->getQueue(); 
    $emailQueue->setMessageBody($text); 
    $emailQueue->setMessageParameters(array(
    'subject'   => $subject, 
    'return_path_email' => $returnPathEmail, 
    'is_plain'   => $this->isPlain(), 
    'from_email'  => $this->getSenderEmail(), 
    'from_name'   => $this->getSenderName(), 
    'reply_to'   => $this->getMail()->getReplyTo(), 
    'return_to'   => $this->getMail()->getReturnPath(), 
    )) 
    ->addRecipients($emails, $names, Mage_Core_Model_Email_Queue::EMAIL_TYPE_TO) 
    ->addRecipients($this->_bccEmails, array(), Mage_Core_Model_Email_Queue::EMAIL_TYPE_BCC); 
    $emailQueue->addMessageToQueue(); 

    return true; 
}*/ 

は、コアファイルを編集し、次のパス

/app/code/local/Mage/Core/Model/Email 

に新しいフォルダを作成し、

関連する問題