我的後台有一個問題遲遲未得到解決,不知道錯誤在哪裡?但其他又可以正常運作,亦試過從新安裝後沒有問題,不過當upload 舊的備份後,錯誤就會再出現:
代碼: 選擇全部
一般錯誤
Failed to update general configuration for # If you don't know how to execute sql queries, then copy
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 know how to execute sql queries, then copy'' at line 3
UPDATE phpbb_config SET config_value = '' WHERE config_name = '# If you don't know how to execute sql queries, then copy'
Line : 62
File : admin_board.php
代碼: 選擇全部
$cookie_name = str_replace('.', '_', $new['cookie_name']);
}
if( isset($HTTP_POST_VARS['submit']) )
{
$sql = "UPDATE " . CONFIG_TABLE . " SET
config_value = '" . str_replace("\'", "''", $new[$config_name]) . "'
WHERE config_name = '$config_name'";
if( !$db->sql_query($sql) )
{
message_die(GENERAL_ERROR, "Failed to update general configuration for $config_name", "", __LINE__, __FILE__, $sql);
}
}
}
if( isset($HTTP_POST_VARS['submit']) )
{
$message = $lang['Config_updated'] . "<br /><br />" . sprintf($lang['Click_return_config'], "<a href=\"" . append_sid("admin_board.$phpEx") . "\">", "</a>") . "<br /><br />" . sprintf($lang['Click_return_admin_index'], "<a href=\"" . append_sid("index.$phpEx?pane=right") . "\">", "</a>");
message_die(GENERAL_MESSAGE, $message);
}