1 頁 (共 1 頁)

[問題]安裝完管理動作紀錄的問題(已解決!!感謝麻衣姐)

發表於 : 2005-04-30 21:25
阿貝
問題外掛:Log Actions MOD 1.1.6
參考連結:http://phpbb-tw.net/phpbb/viewtopic.php ... C%F6%BF%FD
使用版本:phpBB 2.0.10
狀況描述:
我在安裝完後!管理員做任何事情都有紀錄!(移動文章、刪除文章等)
而且也能正常執行~
但是 卻在編輯文章上發生錯誤!
只要是編輯文章~
按送出後 都會出現↓這些代碼

代碼: 選擇全部

Warning: Missing argument 21 for submit_post() in /home/gamanias/public_html/lineage/includes/functions_post.php on line 216

Warning: Cannot modify header information - headers already sent by (output started at /home/gamanias/public_html/lineage/includes/functions_post.php:216) in /home/gamanias/public_html/lineage/includes/page_header.php on line 477

Warning: Cannot modify header information - headers already sent by (output started at /home/gamanias/public_html/lineage/includes/functions_post.php:216) in /home/gamanias/public_html/lineage/includes/page_header.php on line 479

Warning: Cannot modify header information - headers already sent by (output started at /home/gamanias/public_html/lineage/includes/functions_post.php:216) in /home/gamanias/public_html/lineage/includes/page_header.php on line 480
但是我明明就沒改道 這兩個檔案阿= ="(functions_post.php、page_header.php)
為啥會這樣捏.....
麻煩各位了...

補充:裝過的外掛
PM彈出視窗強化版、快速上傳圖片至ImageMac 、bbcode iframe、bbcode stream 、bbcode Flash 、bbcode hide 、bbcode Updown 、bbcode Strike 、bbcode Center 、版面規則 、公告置頂分區 、修正快速砍人時間問題 、快速砍人 1.4.3 、垃圾筒外掛 、禁言水桶 、顯示已付費名單 、付費瀏覽 、加入ImageShack免費貼圖的聯結、注音魔人退散 (快速回覆) 、注音魔人退散 、修正最後發表顯示 、顯示最後發表於首頁 、銀行 、虛擬貨幣 、主題類型 、快速回覆 、TOP5 、彩色群組、

發表於 : 2005-04-30 23:03
Mac

發表於 : 2005-05-01 01:22
阿貝
Mac 寫:請使用發問格式
http://www.phpbb-tw.net/phpbb/viewtopic.php?t=11226

~Mac
很抱歉!我已經從新排版了...這樣應該有符合發問格式了吧@@

發表於 : 2005-05-01 07:54
~倉木麻衣~
嗯~有提供這些資訊後就能確定是付費瀏覽的關係了

裝過付費瀏覽後~submit_post()會多傳一個pay_money參數進去\r
而在log_action安裝文件裡的posting.php有一段用到了submit_post()
所以會產生此狀況
將pay_money的值加上去即可\r
試看看這樣子改\r

代碼: 選擇全部

#
#--------[ OPEN ]----------------
#
posting.php

#
#--------[ FIND ]----------------
#
	submit_post($mode, $post_data, $return_message, $return_meta, $forum_id, $topic_id, $post_id, $poll_id, $topic_type, $bbcode_on, $html_on, $smilies_on, $attach_sig, $bbcode_uid, str_replace("\'", "''", $username), str_replace("\'", "''", $subject), str_replace("\'", "''", $message), str_replace("\'", "''", $poll_title), $poll_options, $poll_length);

#
#--------[ IN-LINE FIND ]----------------
#
$poll_length

#
#--------[ IN-LINE AFTER ADD ]----------------
#
, $HTTP_POST_VARS['pay_money']

#
#--------[ SAVE/CLOSE ALL FILES ]----------------
#
# EoM

發表於 : 2005-05-01 18:59
阿貝
~倉木麻衣~ 寫:嗯~有提供這些資訊後就能確定是付費瀏覽的關係了

裝過付費瀏覽後~submit_post()會多傳一個pay_money參數進去\r
而在log_action安裝文件裡的posting.php有一段用到了submit_post()\r
所以會產生此狀況
將pay_money的值加上去即可\r
試看看這樣子改\r

代碼: 選擇全部

#
#--------[ OPEN ]----------------
#
posting.php

#
#--------[ FIND ]----------------
#
	submit_post($mode, $post_data, $return_message, $return_meta, $forum_id, $topic_id, $post_id, $poll_id, $topic_type, $bbcode_on, $html_on, $smilies_on, $attach_sig, $bbcode_uid, str_replace("\'", "''", $username), str_replace("\'", "''", $subject), str_replace("\'", "''", $message), str_replace("\'", "''", $poll_title), $poll_options, $poll_length);

#
#--------[ IN-LINE FIND ]----------------
#
$poll_length

#
#--------[ IN-LINE AFTER ADD ]----------------
#
, $HTTP_POST_VARS['pay_money']

#
#--------[ SAVE/CLOSE ALL FILES ]----------------
#
# EoM

ok了 已經完全解決了!!
感謝倉木麻衣姐的幫忙!!
小弟十二萬分的感謝~~

發表於 : 2005-05-01 19:29
Kill
沒記錯的話..
~倉木麻衣~好像是男的捏

發表於 : 2005-05-01 19:43
天霜
k122417901 寫:沒記錯的話..
~倉木麻衣~好像是男的捏
反正在竹貓這個地方男的叫成女的已經見怪不怪了(火暴) :mrgreen: