問題說明 :

View 的標題含中文字按 Save 時出現錯誤訊息 :

Warning:htmlspecialchars() [function.htmlspecialchars]: Invalid multibyte sequence in argument in check_plain() (/data/htdocs/community/parismonet/includes/bootstrap.inc中的第1476行)。


drupal7_error2

解決方法 :

修改<drupal_home>/includes/bootstrap.inc中的第1476行

將 1476 換成 :

function check_plain($text) { return drupal_validate_utf8($text) ? htmlspecialchars($text, ENT_QUOTES) : '';

}

arrow
arrow
    全站熱搜

    Jump 發表在 痞客邦 留言(0) 人氣()