Posting in the Magento forums has been disabled pending the implementation of a new and improved forum solution which should better serve the community.

For new questions please post at magento.stackexchange.com, the community-run support site for the Magento community. We will be providing updates on the new forum solution soon. For questions or concerns please email community@magento.com.

Magento Forum

Error installing FB like code
 
titan514a
Jr. Member
 
Total Posts:  21
Joined:  2011-02-01
 

Hi Guys,

Site was working great and then I pasted the FB like button code into the footer just to see what it looked like, from the configuration panel on the backend.

I refreshed the page and this error came up...does anyone know what went wrong and how to fix?

Cannot send headers; headers already sent in /home/betaclo/public_html/store/index.php(1) : eval()’d code, line 37

Trace:
#0 /home/betaclo/public_html/store/includes/src/__default.php(15025): Zend_Controller_Response_Abstract->canSendHeaders(true)
#1 /home/betaclo/public_html/store/includes/src/__default.php(19172): Zend_Controller_Response_Abstract->setHeader(’Content-Type’, ‘text/html; char...’)
#2 /home/betaclo/public_html/store/includes/src/__default.php(15896): Mage_Core_Model_App->getResponse()
#3 /home/betaclo/public_html/store/includes/src/__default.php(34528): Mage_Core_Controller_Varien_Front->getResponse()
#4 /home/betaclo/public_html/store/includes/src/__default.php(15982): Mage_Core_Model_Url_Rewrite->rewrite()
#5 /home/betaclo/public_html/store/includes/src/__default.php(18324): Mage_Core_Controller_Varien_Front->dispatch()
#6 /home/betaclo/public_html/store/app/Mage.php(627): Mage_Core_Model_App->run(Array)
#7 /home/betaclo/public_html/store/index.php(80): Mage::run(’’, ‘store’)
#8 {main}

I have a full back up of the site, if it is one file that needs to be restored let me know where to find it.
Thanks so much for your help.

 
Magento Community Magento Community
Magento Community
Magento Community
Magento Community
Magento Community
Back to top