1 頁 (共 1 頁)

[教學]Solution Of lycos

發表於 : 2002-06-08 13:57
2006
Could not query forums information
以上錯誤訊息是在加設區域後,不能讀取列表,解決方法是打開index.php,將
default:
$sql = "SELECT f.*, p.post_time, p.post_username, u.username, u.user_id
FROM (( " . FORUMS_TABLE . " f
LEFT JOIN " . POSTS_TABLE . " p ON p.post_id = f.forum_last_post_id )
LEFT JOIN " . USERS_TABLE . " u ON u.user_id = p.poster_id )
ORDER BY f.cat_id, f.forum_order";
break;

[CHANGE INTO]
default:
$sql = "SELECT f.*, p.post_time, p.post_username, u.username, u.user_id
FROM (( " . FORUMS_TABLE . " f
LEFT JOIN " . POSTS_TABLE . " p ON p.post_id = f.forum_last_post_id )
LEFT JOIN " . USERS_TABLE . " u ON u.user_id = p.poster_id )";
break
此方法可使論壇正常顯示,並未解決論壇權限問題.權限設置可在phpMyAdmin中進行.