[英]Magento error when adding coupon code
我创建了一个新的优惠券代码,前一天效果很好。 今天,我收到此错误:处理您的请求时出错,出于安全原因,默认情况下禁用了异常打印。
这是查看错误时得到的代码:
a:5:{i:0; s:138:“无法发送标头;标头已在app / code / community / Gala / Bigshopsettings / Helper / Data.php中发送,第1行”; i:1; s:1718: “#0> lib / Zend / Controller / Response / Abstract.php(148):Zend_Controller_Response_Abstract-> canSendHeaders(true)
1个app / code / core / Mage / Core / Controller / Response / Http.php(107):Zend_Controller_Response_Abstract-> setRedirect(' http://www.capi ...',302)
2 app / code / core / Mage / Core / Controller / Varien / Action.php(711):Mage_Core_Controller_Response_Http-> setRedirect(' http://www.capi ...')
3 app / code / core / Mage / Core / Controller / Varien / Action.php(689):Mage_Core_Controller_Varien_Action-> setRedirectWithCookieCheck('checkout / cart',Array)
4 app / code / core / Mage / Checkout / controllers / CartController.php(95):Mage_Core_Controller_Varien_Action-> _ redirect('checkout / cart')
5 app / code / core / Mage / Checkout / controllers / CartController.php(595):Mage_Checkout_CartController-> _ goBack()
6 app / code / core / Mage / Core / Controller / Varien / Action.php(418):Mage_Checkout_CartController-> couponPostAction()
7 app / code / core / Mage / Core / Controller / Varien / Router / Standard.php(250):Mage_Core_Controller_Varien_Action-> dispatch('couponPost')
8 app / code / core / Mage / Core / Controller / Varien / Front.php(172):Mage_Core_Controller_Varien_Router_Standard-> match(Object(Mage_Core_Controller_Request_Http))
9 app / code / core / Mage / Core / Model / App.php(354):Mage_Core_Controller_Varien_Front-> dispatch()
10 app / Mage.php(684):Mage_Core_Model_App-> run(Array)
11 index.php(87):法师:: run('','store')
12 {main}“; s:3:” url“; s:26:” / checkout / cart / couponPost /“; s:11:” script_name“; s:10:” / index.php“; s:4 :“ skin”; s:7:“默认”;}
有什么建议么? 谢谢
8:“无法发送标头;标头已在app / code / community / Gala / Bigshopsettings / Helper / Data.php中发送
正如第1行所述,您需要在php starat标记之前检查一些空格或特殊字符。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.