AL8 Forum
   登錄註冊幫助


標題: [D4.0] 急急~~我的論壇出現亂碼
 @輝@
 0047151
Rank: 1

頭銜: Newbie

帖子: 10

精華: 0

積分: 160 點

現金: 100 元

存款: 0 元

閱讀權限: 10

註冊: 2006-6-26

狀態: 離線
 
發表於 2007-6-2 15:06  資料  個人空間  短消息  加為好友 
急急~~我的論壇出現亂碼

我的論壇中文帖子和中文會員名字都出現亂碼

網頁係:
www.stephytang.com.hk

sql版本係
4.1.22

我入了去config.inc.php看都有亂碼

QUOTE:
<?php

/*
        [DISCUZ!] config.inc.php - basically configuration of Discuz! Board
        This is NOT a freeware, use is subject to license terms
*/

// [EN]        Set below parameters according to your account information provided by your hosting
// [CH] ¥H?UAU?q?DRU?UaA?!°O’£‥Nao?a﹐1°N?A-×§i,|p|3oA°Y,?DApA’aA°E?1’£‥N°O

        $dbhost = 'xxxxxx;                        // database server
                                                // ?A?URwaA°E?1

        $dbuser = 'xxxx';                        // database username
                                                // ?A?URw¥I?a|W

        $dbpw = 'xxx';                        // database password
                                                // ?A?URw±K?X

        $dbname = 'stephyta_discuz';                        // database name
                                                // ?A?URw|W

        $adminemail = 'admin@stephytang.com.hk';                // admin email
                                                // ?×?A‥t2I Email

        $dbreport = 0;                                // send db error report? 1=yes
                                                // ?O§_μo°e?A?URw?u?~3o§i? 0=§_, 1=?O


// [EN] If you have problems logging in Discuz!, then modify the following parameters, else please leave default
// [CH] |p±z1i cookie §@¥I?d3o|3‾SRi-n‥D,cI?×?Aμn?y?£¥?±`,?D-×§i?U-±AU?q,§_?h?D?O?uAq?{

        $cookiedomain = '';                         // cookie domain
                                                // cookie §@¥I°i

        $cookiepath = '/';                        // cookie path
                                                // cookie §@¥I﹐oR|


// [EN] Special parameters, DO NOT modify these unless you are an expert in Discuz!
// [CH] ¥H?UAU?q?°‾S§O?i?μ,?@‾e±!ap?U‥S|3¥2-n-×§i

        $headercharset = 1;                        // force outputing charset header
                                                // ±j‥i3]﹐m|r2A?°,¥u?A?XRE‥I¥I

        $errorreport = 1;                        // reporting php error, 0=only report to admins(safer), 1=report to all
                                                // ?O§_3o§i PHP ?u?~, 0=¥u3o§iμ1oT2z-ucMac¥D(§o|w¥t), 1=3o§iμ1¥o|o?H

        $forcesecques = 0;                        // require security question for administrators' control panel, 0=off, 1=on
                                                // oT2z?H-u¥2?·3]﹐m|w¥t’£°Y?~‾a?i?J‥t2I3]﹐m, 0=§_, 1=?O

        $onlinehold = 900;                        // time span of online recording
                                                // |b?u?O?uRE?!

        $pconnect = 0;                                // persistent database connection, 0=off, 1=on
                                                // ?A?URw?u?[3s±μ 0=Ao3?, 1=¥’?}


// [EN] !ATTENTION! Do NOT modify following after your board was settle down
// [CH] ?×?A§e?J‥I¥I?a?£‾a-×§iaoAU?q

        $tablepre = 'cdb_';                           // ai|W?eoo, |P?@?A?URw|w﹐E|h-O?×?A?D-×§i|13B
                                                // table prefix, modify this when you are installingmore than 1 Discuz! in the same database.

        $attachdir = './attachments';                // at¥o?O|s|i﹐m (aA°E?1﹐oR|, AYcE 777, ¥2?·?° web ¥i3X°Y‥iao¥O?y, ?£¥[ "/", ?U1i¥O?y°E¥2¥H "./" ?}AY)
                                                // attachments saving dir. (chmod to 777, visual web dir only, ending without slash

        $attachurl = 'attachments';                // at¥o﹐oR| URL |a§} (¥i?°·i?e URL ?Uao?U1i|a§}cI http:// ?}AYaoμ’1i|a§}, ?£¥[ "/")


// [EN] !ATTENTION! Preservation or debugging for developing
// [CH] ?A?A-×§i¥H?UAU?q,?E‥Nμ{§C?}μo?O﹐O¥I!

        $database = 'mysql';                        // 'mysql' for MySQL version and 'pgsql' for PostgreSQL version
                                                // MySQL ac¥??D3]﹐m 'mysql', PgSQL ac¥??D3]﹐m 'pgsql'

        $charset = 'big5';                      // default character set, 'gbk', 'big5', 'utf-8' are available  
                                                // ?×?AAq?{|r2A?°, ¥i?i 'gbk', 'big5', 'utf-8'

        $dbcharset = 'latin1';                        // default database character set, 'gbk', 'big5', 'utf8', 'latin1' and blank are available
                                                // MySQL |r2A?°, ¥i?i 'gbk', 'big5', 'utf8', 'latin1', ‾daA?°?o·O?×?A|r2A?°3]cw

        $attackevasive = 0;                        // protect against attacks via common request, 0=off, 1=cookie refresh limitation, 2=deny proxy request, 3=both
                                                // ‥?A@?j?q¥?±`?D‥D3y|‥aocUμ’aA°E§eA?, 0=Ao3?, 1=cookie ‥e·s--‥i, 2=--‥i¥N2z3X°Y, 3=cookie+¥N2z--‥i

        $tplrefresh = 1;                        // auto check validation of templates, 0=off, 1=on
                                                // ?OaO|U°E‥e·s?}Ao 0=Ao3?, 1=¥’?}

// ============================================================================


[ 本帖最後由 @輝@ 於 2007-6-2 15:36 編輯 ]




 AL8 Forum © All rights reserved.
頂部
 ntf
 0043014
Rank: 7Rank: 7Rank: 7Rank: 7Rank: 7Rank: 7Rank: 7

頭銜: Moderator

自述: ntf

帖子: 3708

精華: 0

積分: 6343 點

現金: 0 元

存款: 35577 元

閱讀權限: 100

註冊: 2006-4-7

狀態: 離線
 
發表於 2007-6-2 15:32  資料  個人空間  短消息  加為好友 
你在給密碼人嗎

  $dbhost = 'localhost';                        // database server
                                                // ?A?URwaA°E?1

        $dbuser = 'xx';                        // database username
                                                // ?A?URw¥I?a|W

        $dbpw = 'xxxx';                        // database password
                                                // ?A?URw±K?X

        $dbname = 'xx';                        // database name
                                                // ?A?URw|W




 AL8 Forum © All rights reserved.
頂部
 @輝@
 0047151
Rank: 1

頭銜: Newbie

帖子: 10

精華: 0

積分: 160 點

現金: 100 元

存款: 0 元

閱讀權限: 10

註冊: 2006-6-26

狀態: 離線
 
發表於 2007-6-2 15:35  資料  個人空間  短消息  加為好友 
thx~~~




 AL8 Forum © All rights reserved.
頂部
 teng
 0009876
 此發帖者已被禁止發言

頭銜: Banned to Post

帖子: 6707

精華: 0

積分: 58771 點

現金: 0 元

存款: 1551 元

閱讀權限: 0

註冊: 2004-10-16

狀態: 離線
 
發表於 2007-6-2 15:38  資料  個人空間  主頁 短消息  加為好友 
*** 作者被禁止或刪除 內容自動屏蔽 ***
 @輝@
 0047151
Rank: 1

頭銜: Newbie

帖子: 10

精華: 0

積分: 160 點

現金: 100 元

存款: 0 元

閱讀權限: 10

註冊: 2006-6-26

狀態: 離線
 
發表於 2007-6-2 15:39  資料  個人空間  短消息  加為好友 
QUOTE:
原帖由 teng 於 2007-6-2 15:38 發表
utf吧..?



是什麼意思




 AL8 Forum © All rights reserved.
頂部
 @輝@
 0047151
Rank: 1

頭銜: Newbie

帖子: 10

精華: 0

積分: 160 點

現金: 100 元

存款: 0 元

閱讀權限: 10

註冊: 2006-6-26

狀態: 離線
 
發表於 2007-6-2 15:47  資料  個人空間  短消息  加為好友 
又出新問題:

Discuz! info: Can not connect to MySQL server

Time: 2007-6-2 3:45pm
Script: /index.php

Error: Access denied for user 'stephyta'@'localhost' (using password: YES)
Errno.: 1045

Similar error report has beed dispatched to administrator before.




 AL8 Forum © All rights reserved.
頂部
 KeNNyMK
 0057754
Rank: 6Rank: 6Rank: 6Rank: 6Rank: 6Rank: 6

頭銜: Forum Legend

帖子: 1427

精華: 0

積分: 12387 點

現金: 0 元

存款: 199 元

閱讀權限: 70

註冊: 2006-11-12

狀態: 在線
 
發表於 2007-6-2 15:51  資料  個人空間  短消息  加為好友 
如果你剛剛修改了密碼 ,, 就要到config.inc.php把舊有的密碼修改




高登
 AL8 Forum © All rights reserved.
頂部
 @輝@
 0047151
Rank: 1

頭銜: Newbie

帖子: 10

精華: 0

積分: 160 點

現金: 100 元

存款: 0 元

閱讀權限: 10

註冊: 2006-6-26

狀態: 離線
 
發表於 2007-6-2 15:56  資料  個人空間  短消息  加為好友 
QUOTE:
原帖由 KeNNyMK 於 2007-6-2 15:51 發表
如果你剛剛修改了密碼 ,, 就要到config.inc.php把舊有的密碼修改


THX~~~

我個壇的亂碼如何解決




 AL8 Forum © All rights reserved.
頂部
 KeNNyMK
 0057754
Rank: 6Rank: 6Rank: 6Rank: 6Rank: 6Rank: 6

頭銜: Forum Legend

帖子: 1427

精華: 0

積分: 12387 點

現金: 0 元

存款: 199 元

閱讀權限: 70

註冊: 2006-11-12

狀態: 在線
 
發表於 2007-6-2 16:07  資料  個人空間  短消息  加為好友 
看看你的資料庫是否UTF8




高登
 AL8 Forum © All rights reserved.
頂部
 friri
 0026436
Rank: 7Rank: 7Rank: 7Rank: 7Rank: 7Rank: 7Rank: 7

頭銜: Moderator

暱稱: Secret

帖子: 3578

精華: 0

積分: 21287 點

現金: 96 元

存款: 3238 元

閱讀權限: 100

註冊: 2005-7-16

來自: 香港

狀態: 離線
 
發表於 2007-6-7 19:05  資料  個人空間  短消息  加為好友 
我認為新手唔好用UTF8…不過鐘意都無所謂
我同意應該是UTF8引致的
你打開config.inc.php出亂碼是因為你用錯軟件開
如沒有,就用記事本開,有支援UTF8的
但用記事本修改會有好大問題的!




論壇的一切暫時要停止了,但有我認識的問題,都會嘗試幫你解決!
 AL8 Forum © All rights reserved.
頂部

聯繫我們 - AL8 Forum - 網頁空間由 I-SERVICES 提供 - Archiver - WAP
清除 Cookies, 當前時區 GMT+8, 現在時間是 2008-11-23 18:12
Processed in 0.030362 second(s), 7 queries , Gzip enabled
Powered by Discuz! 5.5.0  © 2001-2007 Comsenz Inc.