Hi
I´ve got a problem by using the german language-pack. If it´s active I always get a "fatal error" each second site. Yesterday it happened the first time, the days before it worked.. That´s the message:
----------------------------------------------------------------------------------------
Die Weiterleitung kann nicht durchgeführt werden, da der Seiten-Header bereits gesendet wurde. Die Ausführung wird sicherheitshalber gestoppt. Bitte gehe zu http://docs.elgg.org/ für weitere Informationen.
SecurityException Object
(
[message:protected] => Die Weiterleitung kann nicht durchgeführt werden, da der Seiten-Header bereits gesendet wurde. Die Ausführung wird sicherheitshalber gestoppt. Bitte gehe zu http://docs.elgg.org/ für weitere Informationen.
[string:Exception:private] => exception 'SecurityException' with message 'Die Weiterleitung kann nicht durchgeführt werden, da der Seiten-Header bereits gesendet wurde. Die Ausführung wird sicherheitshalber gestoppt. Bitte gehe zu http://docs.elgg.org/ für weitere Informationen.' in /home/webpages/lima-city/yorecords/html/COMMONSOUNDS/engine/lib/elgglib.php:151
Stack trace:
#0 /home/webpages/lima-city/yorecords/html/COMMONSOUNDS/index.php(22): forward('activity')
#1 {main}
[code:protected] => 0
[file:protected] => /home/webpages/lima-city/yorecords/html/COMMONSOUNDS/engine/lib/elgglib.php
[line:protected] => 151
[trace:Exception:private] => Array
(
[0] => Array
(
[file] => /home/webpages/lima-city/yorecords/html/COMMONSOUNDS/index.php
[line] => 22
[function] => forward
[args] => Array
(
[0] => activity
)
)
)
[previous:Exception:private] =>
)
----------------------------------------------------------------------
Can somebody help me please?
info@elgg.org
Security issues should be reported to security@elgg.org!
©2014 the Elgg Foundation
Elgg is a registered trademark of Thematic Networks.
Cover image by RaĆ¼l Utrera is used under Creative Commons license.
Icons by Flaticon and FontAwesome.
@henner:
I downloaded a full language pack and changed something in the notepad on my own.
I saved the German language files in UTF-8 when creating the German language pack. Then you don't have problems with including Umlauts. As far as I know UTF-8 is the default encoding used throughout Elgg anyway (http://docs.elgg.org/wiki/Development/Contributing/Languages) - not only for language files but all other files, too. Especially with some other languages you need to use UTF-8 anyway to be able to create them in the first place. As mentioned in the wiki article you need to be careful to save the files without BOM (http://en.wikipedia.org/wiki/Byte_order_mark).
@iionly:
In the version of Elgg I got (8.1.3) all files are saved as ANSI. Does that mean that I have to change all files to UTF-8 or can I change the german language files only?
You should change the german language files to UTF-8 and all other language that have special characters, too.
(if you changed them to ANSI you need to change them back to UTF-8)
Just download the language packs anew, change what you want, and then allways save them in UTF-8.
You could take a look at the settings in your database. It should be UTF-8. If not, set it to UTF-8.
utf8_general_ci
Now I saved all german files as UTF-8 and all english ones as ANSI and the error occured again.. I checked it twice and everything is ok, but it doesn´t work anyway.. Why is it working when every file is set to ANSI but isn´t when the german files are set to UTF-8?
@Nudeler2:
In the database it´s set to utf8_general_ci
You downloaded the language files anew (the in elgg stored language files are already saved in utf8, there is no need to change their format)?
Or you chandeg the files now, you already had changed with notepad?
The bom issue, iilonie mentioned, is relevant.
http://www.magenbrot.net/blog/22-09-2010/utf-8-bom-und-das-nervige-windows-notepad
I (for my part) can recommend this editor (I have no problems with it):
http://www.pspad.com/de/
- Previous
- 1
- 2
- 3
- Next
You must log in to post replies.