參考連結: 推薦與嘔氣
安裝狀況:
SQL 執行順利
所有檔案修改須利
但衹有 viewtopic.php 出了問題, 參詳不透, 特來請教.
一旦把修改後的 viewtopic.php 上傳.
在主題點擊進入文章時, 便出現錯誤頁面如下:
代碼: 選擇全部
Could not obtain topic information
DEBUG MODE
SQL Error : 1054 Unknown column 't.topic_bumps' in 'field list'
SELECT t.topic_id, t.topic_title, t.topic_status, t.topic_replies, t.topic_time, t.topic_type, t.topic_vote, t.topic_last_post_id, t.topic_bumps, f.forum_name, f.forum_status, f.forum_id, f.auth_view, f.auth_read, f.auth_post, f.auth_reply, f.auth_edit, f.auth_delete, f.auth_sticky, f.auth_announce, f.auth_pollcreate, f.auth_vote, f.auth_attachments, COUNT(p2.post_id) AS prev_posts FROM kktfriend_topics t, kktfriend_forums f, kktfriend_posts p, kktfriend_posts p2 WHERE p.post_id = 93956 AND t.topic_id = p.topic_id AND p2.topic_id = p.topic_id AND p2.post_id <= 93956 AND f.forum_id = t.forum_id GROUP BY p.post_id, t.topic_id, t.topic_title, t.topic_status, t.topic_replies, t.topic_time, t.topic_type, t.topic_vote, t.topic_last_post_id, f.forum_name, f.forum_status, f.forum_id, f.auth_view, f.auth_read, f.auth_post, f.auth_reply, f.auth_edit, f.auth_delete, f.auth_sticky, f.auth_announce, f.auth_pollcreate, f.auth_vote, f.auth_attachments ORDER BY p.post_id ASC
Line : 176
File : viewtopic.php
這是 viewtopic.php 修收前, 及修改後, 及外掛原文壓縮路徑:
http://www.kktfriend.com/phpBB2/templat ... /vtphp.rar
請師長或大大指導一下.
ps. 本外掛爬文(相關搜尋)暫未有此問題.
.




