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.
You could - if you use filezilla - also take a look to the transfer setting.
Database table encoding should not be relevant here. I would not change anything here.
As for saving in UTF-8 I guess the problem is that your editor saves the BOM at the beginning of the file but you need the file to be saved in UTF-8 without the BOM. If you haven't changed anything in the files I would suggest to upload the original languages files taken from the German Language pack zip archive again.
The other files of Elgg seems to be saved in us-ascii. So I think it's best to keep them in that encoding format (though I never had any issues when saving them in UTF-8).
Byte order mark
Many Windows programs (including Windows Notepad) add the bytes 0xEF, 0xBB, 0xBF at the start of any document saved as UTF-8. This is the UTF-8 encoding of the Unicode byte order mark (BOM), and is commonly referred to as a UTF-8 BOM, even though it is not relevant to byte order. The BOM can also appear if another encoding with a BOM is translated to UTF-8 without stripping it.
The presence of the UTF-8 BOM may cause interoperability problems with existing software that could otherwise handle UTF-8; for example:
If compatibility with existing programs is not important, the BOM could be used to identify if a file is in UTF-8 versus a legacy encoding, but this is still problematic, due to many instances where the BOM is added or removed without actually changing the encoding, or various encodings are concatenated together. Checking if the text is valid UTF-8 is more reliable than using BOM. The Unicode standard recommends against the BOM for UTF-8[26]. In Japan especially, "UTF-8 encoding without BOM" is sometimes called "UTF-8N", and is distinguished.
...
UTF-8 can encode any Unicode character, avoiding the need to figure out and set a "code page" or otherwise indicate what character set is in use, and allowing output in multiple languages at the same time. For many languages there has been more than one single-byte encoding in usage, so even knowing the language was insufficient information to display it correctly.
Source: http://en.wikipedia.org/wiki/UTF-8
Thank you all very much!! Now it works. It was the BOM... I really should have checked this earlier..
My pleasure.
- Previous
- 1
- 2
- 3
- Next
You must log in to post replies.