doudou_3636 2014-08-23 16:39
浏览 31
已采纳

添加优惠券代码时出现Magento错误

I created a new coupon code, and it worked great the day before. Today, I get this error: There has been an error processing your request Exception printing is disabled by default for security reasons.

And this is the code I get when viewing the error:

a:5:{i:0;s:138:"Cannot send headers; headers already sent in app/code/community/Gala/Bigshopsettings/Helper/Data.php, line 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): Mage::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:"default";}

Any suggestions? Thanks

  • 写回答

1条回答 默认 最新

  • douhutongvm382381 2014-08-24 20:02
    关注

    8:"Cannot send headers; headers already sent in app/code/community/Gala/Bigshopsettings/Helper/Data.php

    As it says line 1 you need to check some white spaces or special characters before php starat tag.

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论

报告相同问题?

悬赏问题

  • ¥30 matlab ode45 未发现警告,但是运行出错
  • ¥15 vscode platformio
  • ¥15 代写uni代码,app唤醒
  • ¥15 全志t113i启动qt应用程序提示internal error
  • ¥15 ensp可以看看嘛.
  • ¥80 51单片机C语言代码解决单片机为AT89C52是清翔单片机
  • ¥60 优博讯DT50高通安卓11系统刷完机自动进去fastboot模式
  • ¥15 minist数字识别
  • ¥15 在安装gym库的pygame时遇到问题,不知道如何解决
  • ¥20 uniapp中的webview 使用的是本地的vue页面,在模拟器上显示无法打开