Home arrow Forum
MamboSMFForum language problem
  Welcome, Guest. Please login or register.
January 07, 2009, 10:29:47 PM
Home New Posts Search Calendar


Login with username, password and session length
Forum  |  MamboHacks.com  |  Mambo-SMF Forum 1.3.0 Support  |  Topic: MamboSMFForum language problem « previous next »
Pages: [1] Go Down Print
Author Topic: MamboSMFForum language problem  (Read 2376 times)
chardi
Newbie
*

Karma: +0/-0
Offline Offline

Posts: 1


View Profile
MamboSMFForum language problem
« on: June 30, 2005, 01:36:57 PM »

I am using Mambo 4.5.2.2 + SMF 1.0.5 + MamboSMFForum_1[1].3.1.3.
Everything works perfect when I use English version.

After I install Chinese language for SMF, I got the problem:

Warning: Cannot modify header information - headers already sent by (output started  .../cn/forum/Sources/Load.php(1040) : eval()'d code:612) in .../cn/index.php on line 214

Warning: Cannot modify header information - headers already sent by (output started  .../cn/forum/Sources/Load.php(1040) : eval()'d code:612) in .../cn/index.php on line 215

.......

If I switch back to English version, everything is fine again.

I don't know if MamboSMFForum_1[1].3.1.3 supports Chinese version.

Anyone has any idea about this problem ?

(The weird thing is: when I test my website at my computer, it works fine, once it was moved to the web hosting, the problem appeared.)
« Last Edit: June 30, 2005, 01:49:27 PM by chardi » Logged
cowboy
Administrator
Hero Member
*****

Karma: +30/-0
Offline Offline

Posts: 663



View Profile WWW
Re: MamboSMFForum language problem
« Reply #1 on: June 30, 2005, 01:54:18 PM »

can you try this...

edit mambo's index.php...

look for...
Code:
header( 'Expires: Mon, 26 Jul 1997 05:00:00 GMT' );
header( 'Last-Modified: ' . gmdate( 'D, d M Y H:i:s' ) . ' GMT' );
header( 'Cache-Control: no-store, no-cache, must-revalidate' );
header( 'Cache-Control: post-check=0, pre-check=0', false );
header( 'Pragma: no-cache' );

enclose it with the condition,...
Code:
if (!headers_sent()) {
header( 'Expires: Mon, 26 Jul 1997 05:00:00 GMT' );
header( 'Last-Modified: ' . gmdate( 'D, d M Y H:i:s' ) . ' GMT' );
header( 'Cache-Control: no-store, no-cache, must-revalidate' );
header( 'Cache-Control: post-check=0, pre-check=0', false );
header( 'Pragma: no-cache' );
}
Logged
lzhdm
Newbie
*

Karma: +0/-0
Offline Offline

Posts: 1


View Profile
Re: MamboSMFForum language problem
« Reply #2 on: July 01, 2005, 12:16:47 AM »

it support chinese,please look at my website
www.aihaozhe.info

and read my docment
http://www.mambochina.net/addons/phpbb2010/viewtopic.php?t=5041
Logged
Pages: [1] Go Up Print 
Forum  |  MamboHacks.com  |  Mambo-SMF Forum 1.3.0 Support  |  Topic: MamboSMFForum language problem « previous next »
Jump to:  



Login with username, password and session length

Powered by MySQL Powered by PHP Forum | Powered by SMF 1.0.5 & Mambo-SMF.
© 2001-2005, Lewis Media. All Rights Reserved.
Valid XHTML 1.0! Valid CSS!
None of the text or images in this public website may be copied without the expressed written consent of the authors.
Copyright 2005 by MamboHacks.com. Powered by Mambo. All rights reserved.
TERMS OF USE