PDA

View Full Version : language support problem



sunhi
03-31-2008, 04:17 PM
I can not install the chinese GB2132 backage with phpbb version 3. each time show me this:

一般错误(general error)
SQL ERROR [ mysql4 ]

Incorrect string value: '\xE2\x80\x8E' for column 'lang_english_name' at row 1 [1366]

SQL

INSERT INTO phpbb_lang (lang_iso, lang_dir, lang_english_name, lang_local_name, lang_author) VALUES ('zh_cmn_hans', 'zh_cmn_hans', 'Mandarin Chinese (Simplified script)‎', '简体中文', 'MikovChain')

BACKTRACE


FILE: includes/db/mysql.php
LINE: 158
CALL: dbal->sql_error()

FILE: includes/acp/acp_language.php
LINE: 838
CALL: dbal_mysql->sql_query()

FILE: includes/functions_module.php
LINE: 471
CALL: acp_language->main()

FILE: adm/index.php
LINE: 74
CALL: p_master->load_active()

sunhi
03-31-2008, 04:27 PM
when I try to post in Chinese, it shows me this:
一般错误
SQL ERROR [ mysql4 ]

Incorrect string value: '\xE7\xA6\x81\xE6\xAD\xA2...' for column 'post_text' at row 1 [1366]

SQL

INSERT INTO phpbb_posts (forum_id, poster_id, icon_id, poster_ip, post_time, post_approved, enable_bbcode, enable_smilies, enable_magic_url, enable_sig, post_username, post_subject, post_text, post_checksum, post_attachment, bbcode_bitfield, bbcode_uid, post_postcount, post_edit_locked, topic_id) VALUES (2, 2, 0, '99.234.165.227', 1206998669, 1, 1, 1, 1, 1, '', '禁止解析BBCode', '禁止解析BBCode', '8eb47a7e0158d2cde8a39bee09e415ed', 0, '', '2e60cia1', 1, 0, 4)

BACKTRACE


FILE: includes/db/mysql.php
LINE: 158
CALL: dbal->sql_error()

FILE: includes/functions_posting.php
LINE: 1830
CALL: dbal_mysql->sql_query()

FILE: posting.php
LINE: 1002
CALL: submit_post()

charlesgan
04-02-2008, 04:53 PM
are you installing or importing the existing database to hostmonster??
if its importing, make sure your sql script is the same version (compatible) with hostmonster sql version. then try again.