Sware\Exceptions\AException

Message

Index for table './emit/ssl_myproduct_popularity.MYI' is corrupt; try to repair it (126)

INSERT INTO ssl_myproduct_popularity (`product_id`, `viewed`, `total`) VALUES (52307, 1, 3) ON DUPLICATE KEY UPDATE viewed = viewed + 1, total = total + 3

Error at

app/Sware/Database/Connection.php, line: 1133

Backtrace

File:app/Sware/Database/Connection.php
Line:499
Function:throwError
File:app/functions/fn.database.php
Line:143
Function:query
File:app/controllers/frontend/products.php
Line:285
Function:db_query
File:app/controllers/frontend/products.php
Line:182
Function:fn_set_product_popularity
File:app/functions/fn.control.php
Line:712
Function:include
File:app/functions/fn.control.php
Line:470
Function:fn_run_controller
File:index.php
Line:35
Function:fn_dispatch