|
Could not query recent pics information
DEBUG MODE
SQL Error : 1030 Got error 28 from storage engine
SELECT p.pic_id, p.pic_title, p.pic_desc, p.pic_user_id, p.pic_user_ip, p.pic_username, p.pic_time, p.pic_cat_id, p.pic_view_count, u.user_id, u.username, r.rate_pic_id, AVG(r.rate_point) AS rating, COUNT(DISTINCT c.comment_id) AS comments
FROM phpbb_album AS p
LEFT JOIN phpbb_users AS u ON p.pic_user_id = u.user_id
LEFT JOIN phpbb_album_cat AS ct ON p.pic_cat_id = ct.cat_id
LEFT JOIN phpbb_album_rate AS r ON p.pic_id = r.rate_pic_id
LEFT JOIN phpbb_album_comment AS c ON p.pic_id = c.comment_pic_id
WHERE p.pic_cat_id IN (4) AND ( p.pic_approval = 1 OR ct.cat_approval = 0 )
GROUP BY p.pic_id
ORDER BY p.pic_time DESC
LIMIT 3
Line : 259 File : album.php |
|
|