請問一下喔~
我安裝board_msg_copy1這個mod後~
要執行board_msg_inst.php後出現以下訊息耶~~
目前再管理版面有公告欄了,但無法使用呢>"<
pls help me!!!
謝謝^^"
ps:我的系統是redhat8.0 + apache2.0.40 + mysql3.23.52 + php4 + phpBB2
訊息如下
"; } else { echo "Install complete, new row in the table added.
Please remember to delete this file ASAP.
"; } $sql1 = "INSERT INTO ". $table_prefix.$tablename ." (config_name, config_value) VALUES ('board_msg', '
This is an example message of the Board Message MOD.
Site of the Author
Sven Ansem
')"; $result = mysql_query($sql1); if(!$result) echo "Install failed
"; if (mysql_error()) { echo "Error Report: ".mysql_error()."
"; } else { echo "Install complete, new row in the table added.
Please remember to delete this file ASAP."; } exit; ?>
[問題]關於board_msg_copy1
版主: 版主管理群
不好意思,忘了用格式
快補上....
問題外掛:板面公告
參考連結:http://phpbb-tw.net/phpbb/viewtopic.php?t=9308&start=0
使用版本:phpBB 2.0.4 (如果沒記錯ㄉ話>"<)
網站位置:http://www.windtalk.idv.tw/phpBB2
問題外掛:板面公告
參考連結:http://phpbb-tw.net/phpbb/viewtopic.php?t=9308&start=0
使用版本:phpBB 2.0.4 (如果沒記錯ㄉ話>"<)
網站位置:http://www.windtalk.idv.tw/phpBB2
我的感覺是這個檔案出現問題耶\r
↓
board_msg_inst.php
↓
board_msg_inst.php
非官方外掛問題區公告: [必看]請配合發問格式及明確主題發問(2006 02/24更新)
七點要求:
1. 發問前先搜尋,確定沒有重複後再發表
2. 主題要明確
3. 依照發問格式
4. 禁連續推文
5. 請盡量減少使用地方性語言
6. 解決問題後請修改第一篇主題,並感謝曾經幫過你的前輩們 ^^
7. 請不要將檔案內容完整貼出喔! 只要提供問題行及上下各五行就可以了
七點要求:
1. 發問前先搜尋,確定沒有重複後再發表
2. 主題要明確
3. 依照發問格式
4. 禁連續推文
5. 請盡量減少使用地方性語言
6. 解決問題後請修改第一篇主題,並感謝曾經幫過你的前輩們 ^^
7. 請不要將檔案內容完整貼出喔! 只要提供問題行及上下各五行就可以了
河風 寫:我的感覺是這個檔案出現問題耶\r
↓
board_msg_inst.php
可是我的board_msg_inst.php這個檔案是從原始檔下載的耶~~@@"
須要修改嗎???
<?
// INSTALL Board Message MOD 1.0.0 mySQL table
// This script installs the rows necessary for Board Message MOD 1.0.0
// I modified this install script of the Calender of Websnail
$tablename = 'config';
// ******************* NO EDITING BELOW THIS LINE *******************
$lpetver = '1.0.0';
// connect to phpbb
include('./config.php');
$cnx = mysql_connect($dbhost, $dbuser, $dbpasswd)
or die("Unable to connect to database server.");
mysql_select_db($dbname, $cnx)
or die("Unable to select database.");
$sql1 = "INSERT INTO ". $table_prefix.$tablename ." (config_name, config_value) VALUES ('board_msg_enable', '0')";
$result = mysql_query($sql1);
if(!$result)
echo "Install failed<BR><BR>";
if (mysql_error()) { echo "Error Report: <B>".mysql_error()."</B><BR><BR>"; }
else {
echo "Install complete, new row in the table added.<BR><BR><BR>Please remember to delete this file ASAP.<BR><BR><BR>";
}
$sql1 = "INSERT INTO ". $table_prefix.$tablename ." (config_name, config_value) VALUES ('board_msg', '<center> This is an example message of the Board Message MOD.<br /><br /><a href=http://www.shannado.nl>Site of the Author</a><br /><a href=mailto:sven@shannado.nl>Sven Ansem</a></center>')";
$result = mysql_query($sql1);
if(!$result)
echo "Install failed<BR><BR>";
if (mysql_error()) { echo "Error Report: <B>".mysql_error()."</B><BR><BR>"; }
else {
echo "Install complete, new row in the table added.<BR><BR><BR>Please remember to delete this file ASAP.";
}
exit;
?>

