0

we are facing " No data recieved error in our site "

here they gave solution as :

1)disable compilation : php -f shel/compiler.php -- disable
2)set the configcacheoptions to 0 all columns

I want to know what is mean by

set the configcacheoptions to 0 all columns

system.log :

XML declaration allowed only at the start of the document  in /var/www/html/site/lib/Varien/Simplexml/Config.php on line 510

exception.log :

exception 'Mage_Core_Exception' with message 'Invalid block type: ' in /var/www/html/site/app/Mage.php:595
Stack trace:
#0 /var/www/html/site/app/code/core/Mage/Core/Model/Layout.php(495): Mage::throwException('Invalid block t...')
#1 /var/www/html/site/app/code/core/Mage/Core/Model/Layout.php(437): Mage_Core_Model_Layout->_getBlockInstance('', Array)
#2 /var/www/html/site/app/code/core/Mage/Core/Model/Layout.php(472): Mage_Core_Model_Layout->createBlock('', '')
#3 /var/www/html/site/app/code/core/Mage/Core/Model/Layout.php(239): Mage_Core_Model_Layout->addBlock('', '')
#4 /var/www/html/site/app/code/core/Mage/Core/Model/Layout.php(205): Mage_Core_Model_Layout->_generateBlock(Object(Mage_Core_Model_Layout_Element), Object(Mage_Core_Model_Layout_Element))
#5 /var/www/html/site/app/code/core/Mage/Core/Model/Layout.php(210): Mage_Core_Model_Layout->generateBlocks(Object(Mage_Core_Model_Layout_Element))
#6 /var/www/html/site/app/code/core/Mage/Core/Controller/Varien/Action.php(344): Mage_Core_Model_Layout->generateBlocks()
#7 /var/www/html/site/app/code/core/Mage/Core/Controller/Varien/Action.php(269): Mage_Core_Controller_Varien_Action->generateLayoutBlocks()
#8 /var/www/html/site/app/code/core/Mage/CatalogSearch/controllers/ResultController.php(77): Mage_Core_Controller_Varien_Action->loadLayout()
#9 /var/www/html/site/app/code/core/Mage/Core/Controller/Varien/Action.php(418): Mage_CatalogSearch_ResultController->indexAction()
#10 /var/www/html/site/app/code/local/Mage/Core/Controller/Varien/Router/Standard.php(250): Mage_Core_Controller_Varien_Action->dispatch('index')
#11 /var/www/html/site/app/code/core/Mage/Core/Controller/Varien/Front.php(172): Mage_Core_Controller_Varien_Router_Standard->match(Object(Mage_Core_Controller_Request_Http))
#12 /var/www/html/site/app/code/core/Mage/Core/Model/App.php(354): Mage_Core_Controller_Varien_Front->dispatch()
#13 /var/www/html/site/app/Mage.php(684): Mage_Core_Model_App->run(Array)
#14 /var/www/html/site/index.php(89): Mage::run('', 'store')
#15 {main}

enter image description here

17
  • Can you tell more information when your issue appeared?
    – zhartaunik
    Feb 18, 2016 at 12:53
  • it will appear when we browsing site, it may on product page, checkout or cart page. we are using https for our site, please look at this : magento.stackexchange.com/questions/88243/… Feb 18, 2016 at 12:55
  • In other words page can be loaded successfully and next time it cannot be loaded?
    – zhartaunik
    Feb 18, 2016 at 13:04
  • you are exactly right, after deleting cookies than only it will work. Feb 18, 2016 at 13:07
  • most probably it's the issue of your virtual server configuration. Please let us know which virtual server do you use? Or if you know how to read error.log - read it and post here last values
    – zhartaunik
    Feb 18, 2016 at 13:08

1 Answer 1

1

I'd prefer to use n98-magerun https://github.com/netz98/n98-magerun

By one simple command you can disable/enable/clean cache via console and much much more.

3
  • can you please explain this : set the config cache options to 0 all columns if we use that github plugin , what i need to do for above line. Feb 18, 2016 at 12:36
  • Sorry maybe I didn't understand your question initially. They mean disable cache any way you like. It can be via admin area or via database or somehow you like
    – zhartaunik
    Feb 18, 2016 at 12:49
  • nice, only experts like you can understand those words.... Feb 18, 2016 at 12:51

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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