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.

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

报告相同问题?

悬赏问题

  • ¥15 乌班图ip地址配置及远程SSH
  • ¥15 怎么让点阵屏显示静态爱心,用keiluVision5写出让点阵屏显示静态爱心的代码,越快越好
  • ¥15 PSPICE制作一个加法器
  • ¥15 javaweb项目无法正常跳转
  • ¥15 VMBox虚拟机无法访问
  • ¥15 skd显示找不到头文件
  • ¥15 机器视觉中图片中长度与真实长度的关系
  • ¥15 fastreport table 怎么只让每页的最下面和最顶部有横线
  • ¥15 java 的protected权限 ,问题在注释里
  • ¥15 这个是哪里有问题啊?