Skip to content

languages file issue (likely not a bug as such) #1

@jondron

Description

@jondron

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).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions