Warning: mysqli::query(): (HY000/126): Index for table '.\open10\oc_category_description.MYI' is corrupt; try to repair it in C:\xampp\htdocs\open10\upload\system\library\db\mysqli.php on line 25
Fatal error: Uncaught Exception: Error: Index for table '.\open10\oc_category_description.MYI' is corrupt; try to repair it<br />Error No: 126<br />
SELECT
MAX(c.category_id) id,
MAX(cd.name) value,
MAX(c.image) image,
COUNT(*) total
FROM `oc_category` c
LEFT JOIN `oc_category_description` cd ON (c.category_id = cd.category_id)
LEFT JOIN `oc_category_to_store` c2s ON (c.category_id = c2s.category_id)
LEFT JOIN `oc_product_to_category`p2c ON (c.category_id = p2c.category_id)
LEFT JOIN `oc_product` p ON (p.product_id = p2c.product_id)
LEFT JOIN `oc_product_description` pd ON (p.product_id = pd.product_id)
LEFT JOIN `oc_product_to_store` p2s ON (p.product_id = p2s.product_id)
WHERE
p.status = '1'
AND p.date_available <= NOW()
AND p2s.store_id = '0'
AND pd.language_id = '1'
AND cd.language_id = '1'
AND c2s.store_id = '0'
AND c.status = '1'
AND c.parent_id = '0'
GROUP BY c.category_id
HAVING COUNT(*) > 0
ORDER BY c.sort_order, LCASE(cd.name) ASC
in C:\xampp\htdocs\open10\upload\system\library\db\mysqli.php:49
Stack trace:
#0 C:\xampp\htdocs\open10\upload\system\storage\modification\system\library\db.php(55): DB\MySQLi->query('\n\t\t\tSELECT\n\t\t\t\t...')
#1 C:\xampp\htdocs\open10\upload\catalog\model\journal3\filter.php(344): DB->query('\n\t\t\tSELECT\n\t\t\t\t...')
#2 C:\xampp\htdocs\open10\upload\system\storage\modification\system\engine\loader.php(248): ModelJournal3Filter->getCategories(Array)
#3 C:\xampp\htdocs\open10\upload\system\engine\proxy.php(47): Loader->{closure}(Array, Array)
#4 C:\xampp\htdocs\open10\upload\catalog\controller\journal3\filter.php(253): Proxy->__call('getCategories', Array)
#5 C:\xampp\htdocs\open10\upload\catalog\controller\journal3\filter.php(151): ControllerJournal3Filter->beforeRender()
#6 C:\xampp\htdocs\open10\upload\system\storage\modification\system\engine\action.php(79): ControllerJournal3Filter->index(Array)
#7 C:\xampp\htdocs\open10\upload\system\storage\modification\system\engine\loader.php(48): Action->execute(Object(Registry), Array)
#8 C:\xampp\htdocs\open10\upload\catalog\controller\journal3\grid.php(263): Loader->controller('journal3/filter', Array)
#9 C:\xampp\htdocs\open10\upload\system\storage\modification\system\engine\action.php(79): ControllerJournal3Grid->grid(Array)
#10 C:\xampp\htdocs\open10\upload\system\storage\modification\system\engine\loader.php(48): Action->execute(Object(Registry), Array)
#11 C:\xampp\htdocs\open10\upload\catalog\controller\journal3\event\layout.php(318): Loader->controller('journal3/grid/g...', Array)
#12 C:\xampp\htdocs\open10\upload\system\storage\modification\system\engine\action.php(79): ControllerJournal3EventLayout->controller_common_position_before('common/column_l...', Array)
#13 C:\xampp\htdocs\open10\upload\system\engine\event.php(62): Action->execute(Object(Registry), Array)
#14 C:\xampp\htdocs\open10\upload\system\storage\modification\system\engine\loader.php(41): Event->trigger('controller/comm...', Array)
#15 C:\xampp\htdocs\open10\upload\catalog\controller\product\catalog.php(316): Loader->controller('common/column_l...')
#16 C:\xampp\htdocs\open10\upload\system\storage\modification\system\engine\action.php(79): ControllerProductCatalog->index()
#17 C:\xampp\htdocs\open10\upload\catalog\controller\startup\router.php(27): Action->execute(Object(Registry))
#18 C:\xampp\htdocs\open10\upload\system\storage\modification\system\engine\action.php(79): ControllerStartupRouter->index()
#19 C:\xampp\htdocs\open10\upload\system\storage\modification\system\engine\router.php(77): Action->execute(Object(Registry))
#20 C:\xampp\htdocs\open10\upload\system\storage\modification\system\engine\router.php(66): Router->execute(Object(Action))
#21 C:\xampp\htdocs\open10\upload\system\framework.php(179): Router->dispatch(Object(Action), Object(Action))
#22 C:\xampp\htdocs\open10\upload\system\startup.php(104): require_once('C:\\xampp\\htdocs...')
#23 C:\xampp\htdocs\open10\upload\index.php(19): start('catalog')
#24 {main}
thrown in C:\xampp\htdocs\open10\upload\system\library\db\mysqli.php on line 49