Hi there,
We just have moved our installation to a new server. The move was so far OK. All the needed steps are done. The shop runs so far good, but the index management doesn't work.
When I try to reindex an error occurs:
Indexer model should extend Mage_Index_Model_Indexer_Abstract.
#0/app/code/core/Mage/Index/Model/Process.php(317): Mage::throwException('Indexer model s...') #1app/code/core/Mage/Index/Block/Adminhtml/Process/Grid.php(78): Mage_Index_Model_Process->getIndexer() #2/app/code/core/Mage/Adminhtml/Block/Widget/Grid.php(534): Mage_Index_Block_Adminhtml_Process_Grid->_afterLoadCollection() #3/app/code/core/Mage/Index/Block/Adminhtml/Process/Grid.php(64): Mage_Adminhtml_Block_Widget_Grid->_prepareCollection() #4/app/code/core/Mage/Adminhtml/Block/Widget/Grid.php(626): Mage_Index_Block_Adminhtml_Process_Grid->_prepareCollection() #5/app/code/core/Mage/Adminhtml/Block/Widget/Grid.php(632): Mage_Adminhtml_Block_Widget_Grid->_prepareGrid() #6/app/code/core/Mage/Core/Block/Abstract.php(918): Mage_Adminhtml_Block_Widget_Grid->_beforeToHtml() #7/app/code/core/Mage/Core/Block/Abstract.php(637): Mage_Core_Block_Abstract->toHtml() #8/app/code/core/Mage/Core/Block/Abstract.php(581): Mage_Core_Block_Abstract->_getChildHtml('grid', true) #9/app/code/core/Mage/Adminhtml/Block/Widget/Grid/Container.php(77): Mage_Core_Block_Abstract->getChildHtml('grid') #10/app/design/adminhtml/default/default/template/widget/grid/container.phtml(36): Mage_Adminhtml_Block_Widget_Grid_Container->getGridHtml() #11/app/code/core/Mage/Core/Block/Template.php(241): include('/home/httpd/vho...') #12/app/code/core/Mage/Core/Block/Template.php(272): Mage_Core_Block_Template->fetchView('adminhtml/defau...') #13/app/code/core/Mage/Core/Block/Template.php(286): Mage_Core_Block_Template->renderView() #14/app/code/core/Mage/Adminhtml/Block/Template.php(81): Mage_Core_Block_Template->_toHtml() #15/app/code/core/Mage/Adminhtml/Block/Widget/Container.php(308): Mage_Adminhtml_Block_Template->_toHtml() #16/app/code/core/Mage/Core/Block/Abstract.php(919): Mage_Adminhtml_Block_Widget_Container->_toHtml() #17/app/code/core/Mage/Core/Block/Text/List.php(43): Mage_Core_Block_Abstract->toHtml() #18/app/code/core/Mage/Core/Block/Abstract.php(919): Mage_Core_Block_Text_List->_toHtml() #19/app/code/core/Mage/Core/Block/Abstract.php(637): Mage_Core_Block_Abstract->toHtml() #20/app/code/core/Mage/Core/Block/Abstract.php(581): Mage_Core_Block_Abstract->_getChildHtml('content', true) #21/app/design/adminhtml/default/default/template/page.phtml(74): Mage_Core_Block_Abstract->getChildHtml('content') #22/app/code/core/Mage/Core/Block/Template.php(241): include('/home/httpd/vho...') #23/app/code/core/Mage/Core/Block/Template.php(272): Mage_Core_Block_Template->fetchView('adminhtml/defau...') #24/app/code/core/Mage/Core/Block/Template.php(286): Mage_Core_Block_Template->renderView() #25/app/code/core/Mage/Adminhtml/Block/Template.php(81): Mage_Core_Block_Template->_toHtml() #26/app/code/core/Mage/Core/Block/Abstract.php(919): Mage_Adminhtml_Block_Template->_toHtml() #27/app/code/core/Mage/Core/Model/Layout.php(555): Mage_Core_Block_Abstract->toHtml() #28/app/code/core/Mage/Core/Controller/Varien/Action.php(390): Mage_Core_Model_Layout->getOutput() #29/code/core/Mage/Index/controllers/Adminhtml/ProcessController.php(55): Mage_Core_Controller_Varien_Action->renderLayout() #30/app/code/core/Mage/Core/Controller/Varien/Action.php(418): Mage_Index_Adminhtml_ProcessController->listAction() #31/app/code/core/Mage/Core/Controller/Varien/Router/Standard.php(250): Mage_Core_Controller_Varien_Action->dispatch('list') #32/app/code/core/Mage/Core/Controller/Varien/Front.php(172): Mage_Core_Controller_Varien_Router_Standard->match(Object(Mage_Core_Controller_Request_Http)) #33/app/code/core/Mage/Core/Model/App.php(354): Mage_Core_Controller_Varien_Front->dispatch() #34/app/Mage.php(684): Mage_Core_Model_App->run(Array) #35/index.php(87): Mage::run('', 'store'
I've tries everything, clearing the cache, checking the rights > comparing with the origin installation and... and .... and...
Now I'm in the end and don't know anymore what to try.
Does anyone have experience with this kind of error messages?
Installed software: Magento 1.9.1
PHP 5.4.36
Ext. Mango themes
Thanks for any hints
Solved! Go to Solution.
The problem is solved. We just tried to recopy the whole app directory to the new server. Now the indexer is working again.
Thanks for your attention
Merry Christmas!
For anyone else struggling with this:
It's your gitignore! If you have these lines in your .gitignore
index.php
then ANY file named index will be removed from the git repo. You must change it too
/index.php
to indicate that you only want to ignore the index.php file at the magento root dir.
Thank you, this solved the issue.
We are having a similar issue. Everything is working great for Magento and then 3 or 4 times a day (randomly its not attributed to any action or Chron) it crashes and gives us the report below. It usually stays down for 15 to 30 minutes and then comes back up.
There has been an error processing your request
Indexer model is not defined.
Trace: #0 /chroot/home/(our website url)/html/app/code/core/Mage/Index/Model/Process.php(313): Mage::throwException('Indexer model i...') #1 /chroot/home/(our website url)/html/app/code/core/Mage/Index/Block/Adminhtml/Notifications.php(41): Mage_Index_Model_Process->getIndexer() #2 /chroot/home/(our website url)/html/app/design/adminhtml/default/default/template/index/notifications.phtml(27): Mage_Index_Block_Adminhtml_Notifications->getProcessesForReindex() #3 /chroot/home/(our website url)/html/app/code/core/Mage/Core/Block/Template.php(241): include('/chroot/home/ne...') #4 /chroot/home/(our website url)/html/app/code/core/Mage/Core/Block/Template.php(272): Mage_Core_Block_Template->fetchView('adminhtml/defau...') #5 /chroot/home/(our website url)/html/app/code/core/Mage/Core/Block/Template.php(286): Mage_Core_Block_Template->renderView() #6 /chroot/home/(our website url)/html/app/code/core/Mage/Adminhtml/Block/Template.php(81): Mage_Core_Block_Template->_toHtml() #7 /chroot/home/(our website url)/html/app/code/core/Mage/Index/Block/Adminhtml/Notifications.php(67): Mage_Adminhtml_Block_Template->_toHtml() #8 /chroot/home/(our website url)/html/app/code/core/Mage/Core/Block/Abstract.php(923): Mage_Index_Block_Adminhtml_Notifications->_toHtml() #9 /chroot/home/(our website url)/html/app/code/core/Mage/Core/Block/Text/List.php(43): Mage_Core_Block_Abstract->toHtml() #10 /chroot/home/(our website url)/html/app/code/core/Mage/Core/Block/Abstract.php(923): Mage_Core_Block_Text_List->_toHtml() #11 /chroot/home/(our website url)/html/app/code/core/Mage/Core/Block/Abstract.php(641): Mage_Core_Block_Abstract->toHtml() #12 /chroot/home/(our website url)/html/app/code/core/Mage/Core/Block/Abstract.php(585): Mage_Core_Block_Abstract->_getChildHtml('notifications', true) #13 /chroot/home/(our website url)/html/app/design/adminhtml/default/default/template/page.phtml(55): Mage_Core_Block_Abstract->getChildHtml('notifications') #14 /chroot/home/(our website url)/html/app/code/core/Mage/Core/Block/Template.php(241): include('/chroot/home/ne...') #15 /chroot/home/(our website url)/html/app/code/core/Mage/Core/Block/Template.php(272): Mage_Core_Block_Template->fetchView('adminhtml/defau...') #16 /chroot/home/(our website url)/html/app/code/core/Mage/Core/Block/Template.php(286): Mage_Core_Block_Template->renderView() #17 /chroot/home/(our website url)/html/app/code/core/Mage/Adminhtml/Block/Template.php(81): Mage_Core_Block_Template->_toHtml() #18 /chroot/home/(our website url)/html/app/code/core/Mage/Core/Block/Abstract.php(923): Mage_Adminhtml_Block_Template->_toHtml() #19 /chroot/home/(our website url)/html/app/code/core/Mage/Core/Model/Layout.php(555): Mage_Core_Block_Abstract->toHtml() #20 /chroot/home/(our website url)/html/app/code/core/Mage/Core/Controller/Varien/Action.php(390): Mage_Core_Model_Layout->getOutput() #21 /chroot/home/(our website url)/html/app/code/core/Mage/Adminhtml/controllers/DashboardController.php(43): Mage_Core_Controller_Varien_Action->renderLayout() #22 /chroot/home/(our website url)/html/app/code/core/Mage/Core/Controller/Varien/Action.php(418): Mage_Adminhtml_DashboardController->indexAction() #23 /chroot/home/(our website url)/html/app/code/core/Mage/Core/Controller/Varien/Router/Standard.php(254): Mage_Core_Controller_Varien_Action->dispatch('index') #24 /chroot/home/(our website url)/html/app/code/core/Mage/Core/Controller/Varien/Front.php(172): Mage_Core_Controller_Varien_Router_Standard->match(Object(Mage_Core_Controller_Request_Http)) #25 /chroot/home/(our website url)/html/app/code/core/Mage/Core/Model/App.php(354): Mage_Core_Controller_Varien_Front->dispatch() #26 /chroot/home/(our website url)/html/app/Mage.php(684): Mage_Core_Model_App->run(Array) #27 /chroot/home/(our website url)/html/index.php(87): Mage::run('', 'store') #28 {main}
Error log record number: 1076854439961
Magento is a trademark of Magento Inc. Copyright © 2014 Magento Inc.