2012年-10-31T10:49:49+00:00调试(7):无法发送标头;头已在/home/happiniess/public_html/magento/includes/src/Varien_Image_Adapter_Gd2.php,第133行中发送
2012-10-31T10:49:49+00:00 DEBUG (7): HEADERS ALREADY SENT: <pre>[0] /home/happiniess/public_html/magento/includes/src/__default.php:17239
[1] /home/happiniess/public_html/magento/includes/src/__default.php:17123
[2] /home/happiniess/public_html/magento/includes/src/__default.php:17278
[3] /home/happiniess/public_html/magento/includes/src/__default.php:17490
[4] /home/happiniess/public_html/magento/includes/src/__default.php:20055
[5] /home/happiniess/public_html/magento/app/Mage.php:683
[6] /home/happiniess/public_html/magento/index.php:87
</pre>
2012-10-31T10:49:49+00:00 DEBUG (7): Array
(
[0] => Array
(
[name] => Content-Type
[value] => text/html; charset=UTF-8
[replace] =>
)
)当我检查magento/lib/Varien/Image/Adapter/Gd2.php代码时
public function display()
{
header(\"Content-type: \".$this->getMimeType());
call_user_func($this->_getCallback(\'output\'), $this->_imageHandler); // 133 line
}这不是个虫子吗?
谁能给出更多的提示,如何调试它?
我补充说: /app/code/core/Mage/Core/Controller/Response/Http.php
Mage::log('HEADERS ALREADY SENT: '.mageDebugBacktrace(true, true, true)); /lib/Zend/Controller/Response/Avact.php
Mage::Log('Cannot send headers; headers already sent in ' . $file . ', line ' . $line);然后得到错误信息: /home/happiniess/public_html/magento/includes/src/Varien_Image_Adapter_Gd2.php,第133行
现在我不知道怎么解决了!
救命!
发布于 2013-07-03 02:15:00
试一试这个错误
我认为新添加的文件不算复杂
https://stackoverflow.com/questions/13301917
复制相似问题