Uncaught mysqli_sql_exception: Table 'lg_goods' is marked as crashed and should be repaired in D:\xampp\htdocs\lg_shop-static\admin\include\comm.php:17 Stack trace: #0 D:\xampp\htdocs\lg_shop-static\admin\include\comm.php(17): mysqli_query(Object(mysqli), 'select * from l...') #1 D:\xampp\htdocs\lg_shop-static\admin\include\lg_goods.php(7): execQuery('select * from l...') #2 D:\xampp\htdocs\lg_shop-static\admin\showGoods.php(25): findAllGoods() #3 {main} thrown in D:\xampp\htdocs\lg_shop-static\admin\include\comm.php on line 17是什么错误,用中文回答
时间: 2023-08-23 17:05:24 浏览: 170
这是一个数据库错误,提示了 lg_goods 表已经崩溃了,需要修复。在 D:\xampp\htdocs\lg_shop-static\admin\include\comm.php 的第17行出现了异常,导致在 D:\xampp\htdocs\lg_shop-static\admin\include\lg_goods.php 的第7行和 D:\xampp\htdocs\lg_shop-static\admin\showGoods.php 的第25行出现了错误。
阅读全文