I have transferred the magento files from live server to localhost. Every thing is working fine but when I am clicking to any menu links,it gives an error saying "There has been an issue..."

I am using magento 1.8

Please look at this issue and provide me any hint.. Thanks in advance.

Below is the error log file

a:5:{i:0;s:163:"Cannot send headers; headers already sent in C:\xampp\htdocs\baby_demo\app\code\local\Magentothem\Layerednavigationajax\controllers\CategoryController.php, line 15";i:1;s:1013:"#0 C:\xampp\htdocs\baby_demo\lib\Zend\Controller\Response\Abstract.php(115): Zend_Controller_Response_Abstract->canSendHeaders(true)

**#1 C:\xampp\htdocs\baby_demo\app\code\core\Mage\Core\Model\App.php(1246): Zend_Controller_Response_Abstract->setHeader('Content-Type', 'text/html; char...')

**#2 C:\xampp\htdocs\baby_demo\app\code\core\Mage\Core\Controller\Varien\Front.php(80): Mage_Core_Model_App->getResponse()

**#3 C:\xampp\htdocs\baby_demo\app\code\core\Mage\Core\Controller\Varien\Router\Standard.php(202): Mage_Core_Controller_Varien_Front->getResponse()

**#4 C:\xampp\htdocs\baby_demo\app\code\core\Mage\Core\Controller\Varien\Front.php(172): Mage_Core_Controller_Varien_Router_Standard->match(Object(Mage_Core_Controller_Request_Http))

**#5 C:\xampp\htdocs\baby_demo\app\code\core\Mage\Core\Model\App.php(354): Mage_Core_Controller_Varien_Front->dispatch()

**#6 C:\xampp\htdocs\baby_demo\app\Mage.php(684): Mage_Core_Model_App->run(Array)

******#7 C:\xampp\htdocs\baby_demo\index.php(87): Mage::run('', 'store')
  • how can we look at the issue? – Marius Jul 29 '14 at 7:57
  • I have added the error..Please check this. – priti upadhyay Jul 29 '14 at 9:18
  • I've added an answer. See if it fits. – Marius Jul 29 '14 at 9:20
  • these did not solved my issue.. – priti upadhyay Jul 29 '14 at 9:27
  • I have marked..can u please tell me the next issue – priti upadhyay Jul 29 '14 at 9:49

Check the file Magentothem\Layerednavigationajax\controllers\CategoryController.php.
Most probably you have a space or an other character before the <?php opening tag or after the closing tag ?>. In fact remove completely the closing tag at the end of the file.


enter image description here Yes this issue is solved..

but now below the product name there is something wrritten as "getRatingSummary()): ?>"

What is the issue???

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.