cancel
Showing results for 
Search instead for 
Did you mean: 

Exception printing is disabled by default for security reasons er

SOLVED

Exception printing is disabled by default for security reasons er

Hi experts,

 

 

               while my site running slowly, I have done compilation.  After that my site getting the following error.  Also /index.php/admin is not opening.  Can anyone please help me to resolve this. its urgent. 

a:5:{i:0;s:98:"Missing locale file '/home/ninthrupee/public_html/includes/src/Data/en_US.xml' for 'en_US' locale.";i:1;s:6323:"#0 /home/ninthrupee/public_html/app/Mage.php(463): Mage_Core_Model_Config->getModelInstance('eav/entity_attr...', 'Missing locale ...')
#1 /home/ninthrupee/public_html/includes/src/Mage_Eav_Model_Entity_Abstract.php(661): Mage::getModel('eav/entity_attr...', 'Missing locale ...')
#2 /home/ninthrupee/public_html/includes/src/Mage_Eav_Model_Entity_Abstract.php(1636): Mage_Eav_Model_Entity_Abstract->walkAttributes('backend/afterLo...', Array)
#3 /home/ninthrupee/public_html/includes/src/Mage_Eav_Model_Entity_Abstract.php(964): Mage_Eav_Model_Entity_Abstract->_afterLoad(Object(Mage_Catalog_Model_Category))
#4 /home/ninthrupee/public_html/includes/src/Mage_Catalog_Model_Resource_Abstract.php(698): Mage_Eav_Model_Entity_Abstract->load(Object(Mage_Catalog_Model_Category), '2', NULL)
#5 /home/ninthrupee/public_html/includes/src/Mage_Core_Model_Abstract.php(225): Mage_Catalog_Model_Resource_Abstract->load(Object(Mage_Catalog_Model_Category), '2', NULL)
#6 /home/ninthrupee/public_html/includes/src/Mage_Catalog_Model_Layer.php(167): Mage_Core_Model_Abstract->load('2')
#7 /home/ninthrupee/public_html/includes/src/Mage_Catalog_Model_Observer.php(278): Mage_Catalog_Model_Layer->getCurrentCategory()
#8 /home/ninthrupee/public_html/includes/src/Mage_Catalog_Model_Observer.php(249): Mage_Catalog_Model_Observer->_isActiveMenuCategory(Object(Varien_Data_Tree_Node))
#9 /home/ninthrupee/public_html/includes/src/Mage_Catalog_Model_Observer.php(218): Mage_Catalog_Model_Observer->_addCategoriesToMenu(Object(Varien_Data_Tree_Node_Collection), Object(Varien_Data_Tree_Node), Object(Mage_Page_Block_Html_Topmenu))
#10 /home/ninthrupee/public_html/includes/src/Mage_Core_Model_App.php(1357): Mage_Catalog_Model_Observer->addCatalogToTopmenuItems(Object(Varien_Event_Observer))
#11 /home/ninthrupee/public_html/includes/src/Mage_Core_Model_App.php(1336): Mage_Core_Model_App->_callObserverMethod(Object(Mage_Catalog_Model_Observer), 'addCatalogToTop...', Object(Varien_Event_Observer))
#12 /home/ninthrupee/public_html/app/Mage.php(448): Mage_Core_Model_App->dispatchEvent('page_block_html...', Array)
#13 /home/ninthrupee/public_html/includes/src/Mage_Page_Block_Html_Topmenu.php(75): Mage::dispatchEvent('page_block_html...', Array)
#14 /home/ninthrupee/public_html/app/design/frontend/ma2/juno/template/page/html/topMenu.phtml(34): Mage_Page_Block_Html_Topmenu->getHtml('level-top')
#15 /home/ninthrupee/public_html/includes/src/Mage_Core_Block_Template.php(241): include('/home/ninthrupe...')
#16 /home/ninthrupee/public_html/includes/src/Mage_Core_Block_Template.php(272): Mage_Core_Block_Template->fetchView('frontend/ma2/ju...')
#17 /home/ninthrupee/public_html/includes/src/Mage_Core_Block_Template.php(286): Mage_Core_Block_Template->renderView()
#18 /home/ninthrupee/public_html/includes/src/Mage_Core_Block_Abstract.php(919): Mage_Core_Block_Template->_toHtml()
#19 /home/ninthrupee/public_html/includes/src/Mage_Core_Block_Text_List.php(43): Mage_Core_Block_Abstract->toHtml()
#20 /home/ninthrupee/public_html/includes/src/Mage_Core_Block_Abstract.php(919): Mage_Core_Block_Text_List->_toHtml()
#21 /home/ninthrupee/public_html/includes/src/Mage_Core_Block_Abstract.php(637): Mage_Core_Block_Abstract->toHtml()
#22 /home/ninthrupee/public_html/includes/src/Mage_Core_Block_Abstract.php(581): Mage_Core_Block_Abstract->_getChildHtml('topMenu', true)
#23 /home/ninthrupee/public_html/app/design/frontend/ma2/juno/template/page/html/header.phtml(68): Mage_Core_Block_Abstract->getChildHtml('topMenu')
#24 /home/ninthrupee/public_html/includes/src/Mage_Core_Block_Template.php(241): include('/home/ninthrupe...')
#25 /home/ninthrupee/public_html/includes/src/Mage_Core_Block_Template.php(272): Mage_Core_Block_Template->fetchView('frontend/ma2/ju...')
#26 /home/ninthrupee/public_html/includes/src/Mage_Core_Block_Template.php(286): Mage_Core_Block_Template->renderView()
#27 /home/ninthrupee/public_html/includes/src/Mage_Core_Block_Abstract.php(919): Mage_Core_Block_Template->_toHtml()
#28 /home/ninthrupee/public_html/includes/src/Mage_Core_Block_Abstract.php(637): Mage_Core_Block_Abstract->toHtml()
#29 /home/ninthrupee/public_html/includes/src/Mage_Core_Block_Abstract.php(581): Mage_Core_Block_Abstract->_getChildHtml('header', true)
#30 /home/ninthrupee/public_html/app/design/frontend/ma2/juno/template/page/1column.phtml(42): Mage_Core_Block_Abstract->getChildHtml('header')
#31 /home/ninthrupee/public_html/includes/src/Mage_Core_Block_Template.php(241): include('/home/ninthrupe...')
#32 /home/ninthrupee/public_html/includes/src/Mage_Core_Block_Template.php(272): Mage_Core_Block_Template->fetchView('frontend/ma2/ju...')
#33 /home/ninthrupee/public_html/includes/src/Mage_Core_Block_Template.php(286): Mage_Core_Block_Template->renderView()
#34 /home/ninthrupee/public_html/includes/src/Mage_Core_Block_Abstract.php(919): Mage_Core_Block_Template->_toHtml()
#35 /home/ninthrupee/public_html/includes/src/Mage_Core_Model_Layout.php(555): Mage_Core_Block_Abstract->toHtml()
#36 /home/ninthrupee/public_html/includes/src/Mage_Core_Controller_Varien_Action.php(390): Mage_Core_Model_Layout->getOutput()
#37 /home/ninthrupee/public_html/includes/src/Mage_Cms_Helper_Page.php(137): Mage_Core_Controller_Varien_Action->renderLayout()
#38 /home/ninthrupee/public_html/includes/src/Mage_Cms_Helper_Page.php(52): Mage_Cms_Helper_Page->_renderPage(Object(Mage_Cms_IndexController), 'home')
#39 /home/ninthrupee/public_html/app/code/core/Mage/Cms/controllers/IndexController.php(45): Mage_Cms_Helper_Page->renderPage(Object(Mage_Cms_IndexController), 'home')
#40 /home/ninthrupee/public_html/includes/src/Mage_Core_Controller_Varien_Action.php(418): Mage_Cms_IndexController->indexAction()
#41 /home/ninthrupee/public_html/includes/src/Mage_Core_Controller_Varien_Router_Standard.php(254): Mage_Core_Controller_Varien_Action->dispatch('index')
#42 /home/ninthrupee/public_html/includes/src/Mage_Core_Controller_Varien_Front.php(172): Mage_Core_Controller_Varien_Router_Standard->match(Object(Mage_Core_Controller_Request_Http))
#43 /home/ninthrupee/public_html/includes/src/Mage_Core_Model_App.php(365): Mage_Core_Controller_Varien_Front->dispatch()
#44 /home/ninthrupee/public_html/app/Mage.php(684): Mage_Core_Model_App->run(Array)
#45 /home/ninthrupee/public_html/index.php(83): Mage::run('', 'store')
#46 {main}";s:3:"url";s:1:"/";s:11:"script_name";s:10:"/index.php";s:4:"skin";s:7:"default";}

1 ACCEPTED SOLUTION

Accepted Solutions

Re: Exception printing is disabled by default for security reasons er

Hi @ShoppingMart

 

Go to includes folder in the Magento root directory then open config.php file and comment out following two lines

 

#define('COMPILER_INCLUDE_PATH', dirname(__FILE__).DIRECTORY_SEPARATOR.'src');
#define('COMPILER_COLLECT_PATH', dirname(__FILE__).DIRECTORY_SEPARATOR.'stat');

Then clear caches and try to reload your site. It should be working for you.

---
Problem Solved Click Accept as Solution!:Magento Community India Forum

View solution in original post

3 REPLIES 3

Re: Exception printing is disabled by default for security reasons er

Hi @ShoppingMart

 

Go to includes folder in the Magento root directory then open config.php file and comment out following two lines

 

#define('COMPILER_INCLUDE_PATH', dirname(__FILE__).DIRECTORY_SEPARATOR.'src');
#define('COMPILER_COLLECT_PATH', dirname(__FILE__).DIRECTORY_SEPARATOR.'stat');

Then clear caches and try to reload your site. It should be working for you.

---
Problem Solved Click Accept as Solution!:Magento Community India Forum

Re: Exception printing is disabled by default for security reasons er

Hi,

 

 

          Thank you very much muk_t.  Now its working fine.  I am new to Magento.  Actually it happened after when I was compiled it and enabled. I have one doubt, is compilation really needed or not.  Reply is always appreciated.

 

 

        Thanks....

 

 

Re: Exception printing is disabled by default for security reasons er

Pre 1.6, compilation was a possible speed increaser. From 1.6 forward, code optimization has made it's benefit shrink quite a bit.

 

You are better off to increase realpath_cache_size = 128k and realpath_cache_ttl = 3600 along with setting up opcache or redis

 

From 1.6, forward, you can run the website just fine without compilation, you will find that it does not play well with 3rd party modules.