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

Need to empty every 5 minutes table report_viewed_product_index—SQLSTATE[HY000]: General error: 1034 Incorrect key file for table
 
Erix
Sr. Member
 
Avatar
Total Posts:  113
Joined:  2008-03-02
 

Hi,

Since we update our magento from 1.5 to 1.7.0.2 we have regulary this error (SQLSTATE[HY000]: General error: 1034 Incorrect key file for table ‘report_viewed_product_index’; try to repair it). To solve this problèm i need to flush table report_viewed_product_index regulary.

If not, every time i click on a product, i see white screen :( And customer can’t order....

Have you any idea to solve this?

There has been an error processing your request

SQLSTATE[HY000]
General error1034 Incorrect key file for table 'report_viewed_product_index'; try to repair it

Trace
:
#0 /home/chocolatfr/public_html/includes/src/Varien_Db_Statement_Pdo_Mysql.php(110): Zend_Db_Statement_Pdo->_execute(Array)
#1 /home/chocolatfr/public_html/includes/src/__default.php(63012): Varien_Db_Statement_Pdo_Mysql->_execute(Array)
#2 /home/chocolatfr/public_html/includes/src/__default.php(52694): Zend_Db_Statement->execute(Array)
#3 /home/chocolatfr/public_html/includes/src/__default.php(53730): Zend_Db_Adapter_Abstract->query('SELECT COUNT(DI...', Array)
#4 /home/chocolatfr/public_html/includes/src/__default.php(54566): Zend_Db_Adapter_Pdo_Abstract->query('SELECT COUNT(DI...', Array)
#5 /home/chocolatfr/public_html/includes/src/__default.php(53040): Varien_Db_Adapter_Pdo_Mysql->query(Object(Varien_Db_Select), Array)
#6 /home/chocolatfr/public_html/includes/src/__default.php(30584): Zend_Db_Adapter_Abstract->fetchOne(Object(Varien_Db_Select), Array)
#7 /home/chocolatfr/public_html/includes/src/Mage_Reports_Model_Product_Index_Abstract.php(170): Varien_Data_Collection_Db->getSize()
#8 /home/chocolatfr/public_html/includes/src/Mage_Reports_Model_Product_Index_Abstract.php(197): Mage_Reports_Model_Product_Index_Abstract->calculate()
#9 /home/chocolatfr/public_html/includes/src/__default.php(48834): Mage_Reports_Model_Product_Index_Abstract->getCount()
#10 /home/chocolatfr/public_html/includes/src/__default.php(48989): Mage_Reports_Block_Product_Abstract->getCount()
#11 /home/chocolatfr/public_html/includes/src/__default.php(49000): Mage_Reports_Block_Product_Viewed->getCount()
#12 /home/chocolatfr/public_html/includes/src/__default.php(2518): Mage_Reports_Block_Product_Viewed->_toHtml()
#13 /home/chocolatfr/public_html/includes/src/__default.php(13160): Mage_Core_Block_Abstract->toHtml()
#14 /home/chocolatfr/public_html/includes/src/__default.php(2518): Mage_Core_Block_Text_List->_toHtml()
#15 /home/chocolatfr/public_html/includes/src/__default.php(2237): Mage_Core_Block_Abstract->toHtml()
#16 /home/chocolatfr/public_html/includes/src/__default.php(2181): Mage_Core_Block_Abstract->_getChildHtml('right', true)
#17 /home/chocolatfr/public_html/app/design/frontend/default/chocolatnew/template/page/2columns-right.phtml(52): Mage_Core_Block_Abstract->getChildHtml('right')
#18 /home/chocolatfr/public_html/includes/src/__default.php(3223): include('/home/chocolatfr...')
#19 /home/chocolatfr/public_html/includes/src/__default.php(3254): Mage_Core_Block_Template->fetchView('frontend/defaul...')
#20 /home/chocolatfr/public_html/includes/src/__default.php(3268): Mage_Core_Block_Template->renderView()
#21 /home/chocolatfr/public_html/includes/src/__default.php(2518): Mage_Core_Block_Template->_toHtml()
#22 /home/chocolatfr/public_html/includes/src/__default.php(27393): Mage_Core_Block_Abstract->toHtml()
#23 /home/chocolatfr/public_html/includes/src/__default.php(13553): Mage_Core_Model_Layout->getOutput()
#24 /home/chocolatfr/public_html/includes/src/__default.php(10913): Mage_Core_Controller_Varien_Action->renderLayout()
#25 /home/chocolatfr/public_html/includes/src/__default.php(10828): Mage_Cms_Helper_Page->_renderPage(Object(Mage_Cms_IndexController), 'no-route')
#26 /home/chocolatfr/public_html/app/code/core/Mage/Cms/controllers/IndexController.php(75): Mage_Cms_Helper_Page->renderPage(Object(Mage_Cms_IndexController), 'no-route')
#27 /home/chocolatfr/public_html/includes/src/__default.php(13582): Mage_Cms_IndexController->noRouteAction()
#28 /home/chocolatfr/public_html/includes/src/__default.php(17927): Mage_Core_Controller_Varien_Action->dispatch('noRoute')
#29 /home/chocolatfr/public_html/includes/src/__default.php(17484): Mage_Core_Controller_Varien_Router_Standard->match(Object(Mage_Core_Controller_Request_Http))
#30 /home/chocolatfr/public_html/includes/src/__default.php(20061): Mage_Core_Controller_Varien_Front->dispatch()
#31 /home/chocolatfr/public_html/app/Mage.php(683): Mage_Core_Model_App->run(Array)
#32 /home/chocolatfr/public_html/index.php(90): Mage::run('chocolatfr_fr', 'store')
 
Magento Community Magento Community
Magento Community
Magento Community
Magento Community
Magento Community
Back to top