Warning: mysql_query() [function.mysql-query]: Unable to save result set in /www/w/ww/www.chengduol.com/Libs/FLEA/FLEA/Db/Driver/Mysql.php on line 115

SQL 错误消息: "Table 'product' is marked as crashed and should be repaired" SQL 语句: "SELECT COUNT(`product`.`id`) FROM `product` WHERE catalogpath LIKE '0,7,%'" SQL 错误代码: "7335941".

错误原因:

您看到这个错误页面是因为应用程序抛出了没有捕获的异常。

异常的详细内容: exception 'FLEA_Db_Exception_SqlQuery' with message 'SQL 错误消息: "Table 'product' is marked as crashed and should be repaired"
SQL 语句: "SELECT COUNT(`product`.`id`) FROM `product` WHERE catalogpath LIKE '0,7,%'"
SQL 错误代码: "7335941".' in /www/w/ww/www.chengduol.com/Libs/FLEA/FLEA/Db/Driver/Mysql.php:126
Stack trace:
#0 /www/w/ww/www.chengduol.com/Libs/FLEA/FLEA/Db/Driver/Abstract.php(529): FLEA_Db_Driver_Mysql->execute('SELECT COUNT(`p...')
#1 /www/w/ww/www.chengduol.com/Libs/FLEA/FLEA/Db/TableDataGateway.php(729): FLEA_Db_Driver_Abstract->getOne('SELECT COUNT(`p...')
#2 /www/w/ww/www.chengduol.com/App/Controller/Default.php(293): FLEA_Db_TableDataGateway->findCount('catalogpath LIK...')
#3 /www/w/ww/www.chengduol.com/Libs/FLEA/FLEA/Dispatcher/Simple.php(120): Controller_Default->actionProductList()
#4 /www/w/ww/www.chengduol.com/Libs/FLEA/FLEA/Dispatcher/Simple.php(77): FLEA_Dispatcher_Simple->_executeAction('Default', 'ProductList', 'Controller_Defa...')
#5 /www/w/ww/www.chengduol.com/Libs/FLEA/FLEA.php(803): FLEA_Dispatcher_Simple->dispatching()
#6 /www/w/ww/www.chengduol.com/index.php(27): FLEA::runMVC()
#7 {main}

Exception: FLEA_Db_Exception_SqlQuery
Message: SQL 错误消息: "Table 'product' is marked as crashed and should be repaired" SQL 语句: "SELECT COUNT(`product`.`id`) FROM `product` WHERE catalogpath LIKE '0,7,%'" SQL 错误代码: "7335941".


Filename: /www/w/ww/www.chengduol.com/Libs/FLEA/FLEA/Db/Driver/Abstract.php [529]
#7 FLEA_Db_Driver_Mysql::execute('SELECT COUNT(`product`.`id` ...')

Filename: /www/w/ww/www.chengduol.com/Libs/FLEA/FLEA/Db/TableDataGateway.php [729]
#6 FLEA_Db_Driver_Abstract::getOne('SELECT COUNT(`product`.`id` ...')

Filename: /www/w/ww/www.chengduol.com/App/Controller/Default.php [293]
#5 FLEA_Db_TableDataGateway::findCount('catalogpath LIKE '0,7,%'')

Filename: /www/w/ww/www.chengduol.com/Libs/FLEA/FLEA/Dispatcher/Simple.php [120]
#4 Controller_Default::actionProductList()

Filename: /www/w/ww/www.chengduol.com/Libs/FLEA/FLEA/Dispatcher/Simple.php [77]
#3 FLEA_Dispatcher_Simple::_executeAction('Default', 'ProductList', 'Controller_Default')

Filename: /www/w/ww/www.chengduol.com/Libs/FLEA/FLEA.php [803]
#2 FLEA_Dispatcher_Simple::dispatching()

Filename: /www/w/ww/www.chengduol.com/index.php [27]
#1 FLEA::runMVC()