Advertisement
Guest User

Untitled

a guest
Jan 23rd, 2017
111
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.04 KB | None | 0 0
  1. This is happning because of there is problem with mail configuration in your magento store,
  2. so I have 2 suggestions
  3.  
  4. 1. navigate to /home/easter13/public_html/app/code/core/Mage/Adminhtml/Block/Sales/Order/View.php page
  5. at line number 92 replace your code with below code.
  6.  
  7. if ($this->_isAllowedAction('emails') && !$order->isCanceled()) {
  8. $confirmationMessage = $coreHelper->jsQuoteEscape(
  9. Mage::helper('sales')->__('Are you sure you want to send order email to customer?')
  10. );
  11. $this->addButton('send_notification', array(
  12. 'label' => Mage::helper('sales')->__('Send Email'),
  13. 'onclick' => "confirmSetLocation('{$confirmationMessage}', '{$this->getEmailUrl()}')",
  14. ));
  15. }
  16. Then clear cache, refresh the page and check your error will gone.
  17.  
  18. 2. navigate to /home/easter13/public_html/app/code/core/Mage/Adminhtml/Block/Sales/Order/View.php page
  19. at line number 92 uncomment this code and Then clear cache,
  20. refresh the page and check your error will gone.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement