●架設主機作業系統:Windows Xp Pro
●快速架站程式:IIS 5
●您的上網方式:Hinet
●您安裝的程式:IIS + php + MySql
●您的 phpBB2 版本:phpBB 2.0.22
●您的 domain(網域名稱) :本機
●您的 phpBB2 連結網址: 本機
這個可以設定主題類型的外掛,我花很久時間裝好後,在後台點了主題類型的某個功能選項時,發生了以下訊息:
DEBUG MODE
SQL Error : 1146 Table 'phpbb_test.phpbb_types' doesn't exist
SELECT * FROM phpbb_types ORDER BY types_level DESC, types_id ASC
Line : 26
File : functions_topictypes.php
如圖
不知道哪裡沒設定好,或是要修改什麼,希望各位大大可以幫忙我~謝謝各位!!
這是我安裝的主題類型外掛:
請下載
[問題]發表類型的外掛出錯<已解決>
版主: 版主管理群
[問題]發表類型的外掛出錯<已解決>
最後由 sss912042 於 2007-11-17 10:35 編輯,總共編輯了 4 次。
大大有問題了><"sss912042 寫:我把檔案覆蓋過去後,有執行,可是好像沒有6個successful的東西出現內@@?~倉木麻衣~ 寫:安裝說明檔裡有提到你有確實執行過了嗎?STEP 2:
執行 tt_db_update.php
執行完應該會看到6個successful
執行完成後, 建議刪除此檔
不過沒有出錯的說~
這??
我直接在版面做管理刪除文章時,我有打勾,然後按刪除都會跳出"您選擇的版面不存在"的系統訊息~
還有,當我在第2張圖,選所有主題旁的[研究]或[園遊會]時,會跑出錯誤訊息,訊息如下:
Could not obtain topic information
DEBUG MODE
SQL Error : 1064 You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 't.types_id = 3 ORDER BY t.topic_type DESC, p.post_time DESC LIMIT 0, 50' at line 5
SELECT t.*, u.username, u.user_id, p.post_time FROM phpbb_topics t, phpbb_users u, phpbb_posts p WHERE t.forum_id = 1 AND t.topic_poster = u.user_id AND p.post_id = t.topic_last_post_idAND t.types_id = 3 ORDER BY t.topic_type DESC, p.post_time DESC LIMIT 0, 50
Line : 1330
File : modcp.php
請問哪裡需要改呢?
真是麻煩各位了><拜託大家!!謝謝!
如圖1:
圖2:
圖3:
請修正為SELECT t.*, u.username, u.user_id, p.post_time FROM phpbb_topics t, phpbb_users u, phpbb_posts p WHERE t.forum_id = 1 AND t.topic_poster = u.user_id AND p.post_id = t.topic_last_post_idAND t.types_id = 3 ORDER BY t.topic_type DESC, p.post_time DESC LIMIT 0, 50
SELECT t.*, u.username, u.user_id, p.post_time FROM phpbb_topics t, phpbb_users u, phpbb_posts p WHERE t.forum_id = 1 AND t.topic_poster = u.user_id AND p.post_id = t.topic_last_post_id AND t.types_id = 3 ORDER BY t.topic_type DESC, p.post_time DESC LIMIT 0, 50
以上問題已修正了^^"hentaibbc 寫:請修正為SELECT t.*, u.username, u.user_id, p.post_time FROM phpbb_topics t, phpbb_users u, phpbb_posts p WHERE t.forum_id = 1 AND t.topic_poster = u.user_id AND p.post_id = t.topic_last_post_idAND t.types_id = 3 ORDER BY t.topic_type DESC, p.post_time DESC LIMIT 0, 50SELECT t.*, u.username, u.user_id, p.post_time FROM phpbb_topics t, phpbb_users u, phpbb_posts p WHERE t.forum_id = 1 AND t.topic_poster = u.user_id AND p.post_id = t.topic_last_post_id AND t.types_id = 3 ORDER BY t.topic_type DESC, p.post_time DESC LIMIT 0, 50
但是另一個問題
在版面管理功能那邊不管我執行哪個功能都會說"你所選擇的版面不存在"
我確實有打勾說
不知道還要修改哪裡?