[問題]虛擬貨幣實裝後台問題!!(已解決)
發表於 : 2004-09-28 14:36
Appserv+MySQL+Apache+
PHPBB2版本:2.0.10
安裝貨幣之前使用過的外掛
‧新增當日TOP5文章標示
‧發表文章中發表人名稱閃光化
‧加入快速回覆
‧回覆文章時的color bar(選顏色那條)
‧發表文章時可選擇主題類型
安裝虛擬貨幣:參考連結
抱歉我是新手並不確定這外掛是否官方!!
後台->會員管理->管理選項->輸入任何一個會員->
出現錯誤訊息\r
Warning: opendir(../../language): failed to open dir: Invalid argument in c:\appserv\www\phpbb2\includes\functions_selects.php on line 31
Warning: readdir(): supplied argument is not a valid Directory resource in c:\appserv\www\phpbb2\includes\functions_selects.php on line 34
Warning: closedir(): supplied argument is not a valid Directory resource in c:\appserv\www\phpbb2\includes\functions_selects.php on line 45
功能大致上都正常\r
以下是funtions_selects.php Line31~45
$dir = opendir($phpbb_root_path . $dirname);
$lang = array();
while ( $file = readdir($dir) )
{
if (preg_match('#^lang_#i', $file) && !is_file(@phpbb_realpath($phpbb_root_path . $dirname . '/' . $file)) && !is_link(@phpbb_realpath($phpbb_root_path . $dirname . '/' . $file)))
{
$filename = trim(str_replace("lang_", "", $file));
$displayname = preg_replace("/^(.*?)_(.*)$/", "\\\1 [ \\\2 ]", $filename);
$displayname = preg_replace("/\[(.*?)_(.*)\]/", "[ \\\1 - \\\2 ]", $displayname);
$lang[$displayname] = $filename;
}
}
closedir($dir);
PHPBB2版本:2.0.10
安裝貨幣之前使用過的外掛
‧新增當日TOP5文章標示
‧發表文章中發表人名稱閃光化
‧加入快速回覆
‧回覆文章時的color bar(選顏色那條)
‧發表文章時可選擇主題類型
安裝虛擬貨幣:參考連結
抱歉我是新手並不確定這外掛是否官方!!
後台->會員管理->管理選項->輸入任何一個會員->
出現錯誤訊息\r
Warning: opendir(../../language): failed to open dir: Invalid argument in c:\appserv\www\phpbb2\includes\functions_selects.php on line 31
Warning: readdir(): supplied argument is not a valid Directory resource in c:\appserv\www\phpbb2\includes\functions_selects.php on line 34
Warning: closedir(): supplied argument is not a valid Directory resource in c:\appserv\www\phpbb2\includes\functions_selects.php on line 45
功能大致上都正常\r
以下是funtions_selects.php Line31~45
$dir = opendir($phpbb_root_path . $dirname);
$lang = array();
while ( $file = readdir($dir) )
{
if (preg_match('#^lang_#i', $file) && !is_file(@phpbb_realpath($phpbb_root_path . $dirname . '/' . $file)) && !is_link(@phpbb_realpath($phpbb_root_path . $dirname . '/' . $file)))
{
$filename = trim(str_replace("lang_", "", $file));
$displayname = preg_replace("/^(.*?)_(.*)$/", "\\\1 [ \\\2 ]", $filename);
$displayname = preg_replace("/\[(.*?)_(.*)\]/", "[ \\\1 - \\\2 ]", $displayname);
$lang[$displayname] = $filename;
}
}
closedir($dir);