-
Notifications
You must be signed in to change notification settings - Fork 0
Description
Not sure this is actually a bug: it may be a feature of Elgg 1.9.7, but I have not seen it elsewhere so wonder whether it might be an implementation issue for this particular plugin (is there anything odd about how the language files are called?) ...
Symptoms...
On a Mac, if there is a .DS_Store file (usually is) this is sent before the language file, in advance of any headers, e.g.
[02-Nov-2015 17:59:38 Europe/Berlin] Exception #1446483578: exception 'SecurityException' with message 'Redirect could not be issued due to headers already being sent. Halting execution for security. Output started in file /Applications/MAMP/htdocs/elgg-1.9.7/mod/au_group_tag_menu/languages/.DS_Store at line 1. Search http://learn.elgg.org/ for more information.' in /Applications/MAMP/htdocs/elgg-1.9.7/engine/lib/elgglib.php:99
It can apparently be worked around by moving the plugin further down the list. Presumably, getting rid of .DS_Store would also work, so this is unlikely to be a concern in most production environments (except maybe when servers are Macs or other operating systems that leave hidden files lying around).