1 頁 (共 1 頁)

[求助]attachment mod 2.40a的管理問題~

發表於 : 2005-12-07 00:43
PandaTwo
問題外掛:Attachment Mod
使用版本:phpBB 2.0.18
網站位置:http://mascoteventclub.hn.org/~fursuit/phpbb2/
狀況描述:

我安裝了attachment mod 2.40a
安裝完成了~
也試驗過能上傳檔案,也能下載~
MP3等等的都OK~

也就是說,以使用者的部分來說,一切都是OK的~

可是,在後台管理的部分~
在按下了 副檔名控制 的選單後~
會出現\r
Warning: mysql_free_result(): 49 is not a valid MySQL result resource in /home/fursuit/public_html/phpbb2/db/mysql4.php on line 318

Warning: mysql_free_result(): 51 is not a valid MySQL result resource in /home/fursuit/public_html/phpbb2/db/mysql4.php on line 318

Warning: mysql_free_result(): 52 is not a valid MySQL result resource in /home/fursuit/public_html/phpbb2/db/mysql4.php on line 318

...一直持續到\r

Warning: mysql_free_result(): 77 is not a valid MySQL result resource in /home/fursuit/public_html/phpbb2/db/mysql4.php on line 318

Warning: mysql_free_result(): 78 is not a valid MySQL result resource in /home/fursuit/public_html/phpbb2/db/mysql4.php on line 318

Warning: mysql_free_result(): 79 is not a valid MySQL result resource in /home/fursuit/public_html/phpbb2/db/mysql4.php on line 318

下面還是會有管理附檔名的功能,也能新增新的附檔名~
但在修改已經存在的附檔名的群組時,則會出現~

一般錯誤
Couldn't update Extension Informations

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 'UPDATE WHERE ext_id = 28' at line 1

UPDATE phpbb_extensions SET UPDATE WHERE ext_id = 28

Line : 133
File : admin_extensions.php

而欲修改的會無法修改~
(但可以移除,重新設定就OK)

另外一點就是~
不確定是不是相關~
但在裝完attachment mod 2.40a後~
我的備份資料庫的地方~
變成這樣了~
圖檔
按下確定的按鈕不見了!
這樣就沒辦法執行資料庫備份了!><

請諸位大大協助一下了~
謝謝~

補充:
已安裝的mod
快速回覆
回覆文章時可看到文章標題
會員名單顯示簽名檔
公告、置頂、文章分區
顯示最後發文的標題
重新寄發認證信\r
Admin User List
Attachment mod 2.40a

發表於 : 2005-12-07 02:12
appleboy
UPDATE phpbb_extensions SET UPDATE WHERE ext_id = 28
你改檔案的時候

sql語法可能有改錯 請檢查

發表於 : 2005-12-07 02:28
PandaTwo
appleboy 寫:
UPDATE phpbb_extensions SET UPDATE WHERE ext_id = 28
你改檔案的時候

sql語法可能有改錯 請檢查
可是在修改檔案時並沒有修改到SQL語法啊~
在安裝的說明裡,並沒有看到SQL的部分~
以這個attachment 2.40a的安裝來說~
有關新增SQL的部分~
全都由install.php(2.39以前的好像是叫mod_install.php的樣子)這個檔案在安裝初期時就新增進去了~
這樣,該怎麼檢查是那個SQL的語法錯誤呢?

而在修改的部分,我有檢查了兩次了~
確定並沒有改錯~
也沒有刮號的問題~

最後,後面那個備份資料庫的地方已經解決了~
把之前的db_utils_backup_body.tpl舊檔覆蓋回去~
再重新修改(還是那個完整備份資料庫的外掛)
就恢復了!
(但奇怪的是,我有檢查了造成出問題的db_utils_backup_body.tpl,和原始的db_utils_backup_body.tpl在修改後的,兩個內容是一樣的啊~但用之前的重新上傳,還是一樣掛點,用新修改上傳就OK~ :-?

Re: [求助]attachment mod 2.40a的管理問題~

發表於 : 2005-12-08 00:26
stone4c
PandaTwo 寫:問題外掛:Attachment Mod
使用版本:phpBB 2.0.18
網站位置:http://mascoteventclub.hn.org/~fursuit/phpbb2/
狀況描述:

我安裝了attachment mod 2.40a
安裝完成了~
也試驗過能上傳檔案,也能下載~
MP3等等的都OK~

也就是說,以使用者的部分來說,一切都是OK的~

可是,在後台管理的部分~
在按下了 副檔名控制 的選單後~
會出現\r
Warning: mysql_free_result(): 49 is not a valid MySQL result resource in /home/fursuit/public_html/phpbb2/db/mysql4.php on line 318

Warning: mysql_free_result(): 51 is not a valid MySQL result resource in /home/fursuit/public_html/phpbb2/db/mysql4.php on line 318

Warning: mysql_free_result(): 52 is not a valid MySQL result resource in /home/fursuit/public_html/phpbb2/db/mysql4.php on line 318

...一直持續到\r

Warning: mysql_free_result(): 77 is not a valid MySQL result resource in /home/fursuit/public_html/phpbb2/db/mysql4.php on line 318

Warning: mysql_free_result(): 78 is not a valid MySQL result resource in /home/fursuit/public_html/phpbb2/db/mysql4.php on line 318

Warning: mysql_free_result(): 79 is not a valid MySQL result resource in /home/fursuit/public_html/phpbb2/db/mysql4.php on line 318

下面還是會有管理附檔名的功能,也能新增新的附檔名~
但在修改已經存在的附檔名的群組時,則會出現~

一般錯誤
Couldn't update Extension Informations

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 'UPDATE WHERE ext_id = 28' at line 1

UPDATE phpbb_extensions SET UPDATE WHERE ext_id = 28

Line : 133
File : admin_extensions.php

而欲修改的會無法修改~
(但可以移除,重新設定就OK)

另外一點就是~
不確定是不是相關~
但在裝完attachment mod 2.40a後~
我的備份資料庫的地方~
變成這樣了~
圖檔
按下確定的按鈕不見了!
這樣就沒辦法執行資料庫備份了!><

請諸位大大協助一下了~
謝謝~

補充:
已安裝的mod
快速回覆
回覆文章時可看到文章標題
會員名單顯示簽名檔
公告、置頂、文章分區
顯示最後發文的標題
重新寄發認證信\r
Admin User List
Attachment mod 2.40a
小弟也有最上面的問題
不過更產的是可以上傳\r
但在版面上看不到\r
回到控制台\r
確定有上傳成功
有沒有那位大大可以指點一下可能的方向呢\r

http://www.nissan01.com
phpbb 2.0.17
easymod 0.3
attach mod 2.40a
跑馬燈
hinet 代管

發表於 : 2005-12-08 21:51
vaio
小弟都有這個問題發生,請問有大大能幫幫手怎樣可以解呢?

發表於 : 2005-12-18 07:10
chishenyu
在318行 mysql_free_result(): 的前面加上@,即可解決。這在其他文章裡有寫到喔,請多爬文。

發表於 : 2005-12-18 22:09
stone4c
chishenyu 寫:在318行 mysql_free_result(): 的前面加上@,即可解決。這在其他文章裡有寫到喔,請多爬文。
哈哈
解決了
感恩啊
:lol: