当我在 Magento 1.6 中编辑某些字段时,在保存某些类别中的某些字段时遇到问题。例如,我无法编辑这些类别中的以下字段:
- 美国/迷你套餐 - 说明
- 美国/航类 - 元描述
- america/cruises - 页面标题
- 澳大利亚/旅游/独立旅游 - 页面标题
- 澳大利亚/房车 - 元描述
有时,您可以进行更改并保存,但当您尝试再次保存时,它不会保存更改。这似乎没有任何模式,否则我可以尝试更好地追踪问题。当我保存类别时,似乎没有任何 JavaScript 错误。
我确实需要解决这个问题,但我在任何地方都找不到该问题的解决方案。
预先感谢您的帮助。
这些是 system.log 中的最后几行
2012-03-15T12:52:36+00:00 DEBUG (7): HEADERS ALREADY SENT: <pre>[0] /home/strailco /1stclassholidays.com/html/app/code/core/Mage/Core/Controller/Response/Http.php:51
[1] /home/strailco/1stclassholidays.com/html/lib/Zend/Controller/Response/Abstract.php:766
[2] /home/strailco/1stclassholidays.com/html/app/code/core/Mage/Core/Controller/Response/Http.php:82
[3] /home/strailco/1stclassholidays.com/html/app/code/core/Mage/Core/Controller/Varien/Front.php:188
[4] /home/strailco/1stclassholidays.com/html/app/code/core/Mage/Core/Model/App.php:349
[5] /home/strailco/1stclassholidays.com/html/app/Mage.php:640
[6] /home/strailco/1stclassholidays.com/html/index.php:80
</pre>
2012-03-15T12:52:36+00:00 DEBUG (7): HEADERS ALREADY SENT: <pre>[0] /home/strailco/1stclassholidays.com/html/app/code/core/Mage/Core/Controller/Response/Http.php:51
[1] /home/strailco/1stclassholidays.com/html/lib/Zend/Controller/Response/Abstract.php:766
[2] /home/strailco/1stclassholidays.com/html/app/code/core/Mage/Core/Controller/Response/Http.php:82
[3] /home/strailco/1stclassholidays.com/html/app/code/core/Mage/Core/Controller/Varien/Front.php:188
[4] /home/strailco/1stclassholidays.com/html/app/code/core/Mage/Core/Model/App.php:349
[5] /home/strailco/1stclassholidays.com/html/app/Mage.php:640
[6] /home/strailco/1stclassholidays.com/html/index.php:80
</pre>
最佳答案
很可能是您安装的插件出现问题。有一些很好的资源可用于追踪特定问题。艾伦·斯托姆(Alan Storm)对这个问题有两个很好的答案:Magento Debug HEADERS ALREADY SENT error
关于php - 无法在 magento 1.6 中编辑某些类别字段,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/9722660/