SELECT is_del FROM site1_article2comment WHERE comments_id = 0Table './webdevin_db/site1_article2comment' is marked as crashed and last (automatic?) repair failed "SELECT is_del FROM site1_article2comment WHERE comments_id = 0;" User Error:Table './webdevin_db/site1_article2comment' is marked as crashed and last (automatic?) repair failed "SELECT is_del FROM site1_article2comment WHERE comments_id = 0;". 1 IN FILE "/home/webdevinfo/public_html/include/DataBase.class.php" ON LINE 68 2 IN FILE "/home/webdevinfo/public_html/include/DataBase.class.php" ON LINE 196 3 IN FILE "/home/webdevinfo/public_html/include/DataBase.class.php" ON LINE 226 4 IN FILE "/home/webdevinfo/public_html/include/Article.class.php" ON LINE 3418 5 IN FILE "/home/webdevinfo/public_html/article_comment.php" ON LINE 39
SELECT COUNT(comments_id) as num FROM site1_article2comment WHERE article_id = 41Table './webdevin_db/site1_article2comment' is marked as crashed and last (automatic?) repair failed "SELECT COUNT(comments_id) as num FROM site1_article2comment WHERE article_id = 41;" User Error:Table './webdevin_db/site1_article2comment' is marked as crashed and last (automatic?) repair failed "SELECT COUNT(comments_id) as num FROM site1_article2comment WHERE article_id = 41;". 1 IN FILE "/home/webdevinfo/public_html/include/DataBase.class.php" ON LINE 68 2 IN FILE "/home/webdevinfo/public_html/include/DataBase.class.php" ON LINE 196 3 IN FILE "/home/webdevinfo/public_html/include/Article.class.php" ON LINE 630 4 IN FILE "/home/webdevinfo/public_html/article_comment.php" ON LINE 45
Notice:Undefined index: num. 1 IN FILE "/home/webdevinfo/public_html/article_comment.php" ON LINE 45
SELECT COUNT(comments_id) FROM site1_article2comment WHERE article_id = '41' AND parent_id = '0' and is_del = 0Table './webdevin_db/site1_article2comment' is marked as crashed and last (automatic?) repair failed "SELECT COUNT(comments_id) FROM site1_article2comment WHERE article_id = '41' AND parent_id = '0' and is_del = 0;" User Error:Table './webdevin_db/site1_article2comment' is marked as crashed and last (automatic?) repair failed "SELECT COUNT(comments_id) FROM site1_article2comment WHERE article_id = '41' AND parent_id = '0' and is_del = 0;". 1 IN FILE "/home/webdevinfo/public_html/include/DataBase.class.php" ON LINE 68 2 IN FILE "/home/webdevinfo/public_html/include/DataBase.class.php" ON LINE 196 3 IN FILE "/home/webdevinfo/public_html/include/DataBase.class.php" ON LINE 226 4 IN FILE "/home/webdevinfo/public_html/include/Article.class.php" ON LINE 1825 5 IN FILE "/home/webdevinfo/public_html/article_comment.php" ON LINE 93
SELECT c.comments_id AS id, c.parent_id AS parent_id, a.parent_id AS parent_parent_id, c.name, c.email, c.subject, c.message, UNIX_TIMESTAMP(c.cdate) AS date FROM site1_article2comment c LEFT JOIN site1_article2comment a ON c.parent_id = a.comments_id WHERE c.article_id = '41' AND c.parent_id = '0' and c.is_del = 0 ORDER BY c.comments_id DESC LIMIT 0 , 0Table './webdevin_db/site1_article2comment' is marked as crashed and last (automatic?) repair failed "SELECT c.comments_id AS id, c.parent_id AS parent_id, a.parent_id AS parent_parent_id, c.name, c.email, c.subject, c.message, UNIX_TIMESTAMP(c.cdate) AS date FROM site1_article2comment c LEFT JOIN site1_article2comment a ON c.parent_id = a.comments_id WHERE c.article_id = '41' AND c.parent_id = '0' and c.is_del = 0 ORDER BY c.comments_id DESC LIMIT 0 , 0;" User Error:Table './webdevin_db/site1_article2comment' is marked as crashed and last (automatic?) repair failed "SELECT c.comments_id AS id, c.parent_id AS parent_id, a.parent_id AS parent_parent_id, c.name, c.email, c.subject, c.message, UNIX_TIMESTAMP(c.cdate) AS date FROM site1_article2comment c LEFT JOIN site1_article2comment a ON c.parent_id = a.comments_id WHERE c.article_id = '41' AND c.parent_id = '0' and c.is_del = 0 ORDER BY c.comments_id DESC LIMIT 0 , 0;". 1 IN FILE "/home/webdevinfo/public_html/include/DataBase.class.php" ON LINE 68 2 IN FILE "/home/webdevinfo/public_html/include/Article.class.php" ON LINE 1789 3 IN FILE "/home/webdevinfo/public_html/article_comment.php" ON LINE 95
Warning:mysql_fetch_array() expects parameter 1 to be resource, boolean given. 1 IN FILE "/home/webdevinfo/public_html/include/DataBase.class.php" ON LINE 109 2 IN FILE "/home/webdevinfo/public_html/include/Article.class.php" ON LINE 1790 3 IN FILE "/home/webdevinfo/public_html/article_comment.php" ON LINE 95