ewinslow/elgg-facebook_theme — Issue #88: Error: "Fatal error: headers already sent" when posting on groups wall...
Author: sequan
Created: 2012-02-12 19:00:36+00:00
State: open

For version 1.4
When I create a group then go and post on the wall I get "Fatal error: headers already sent". I am still learning Elgg but I found that REFERER was set to -1.

So I am not sure if this is the correct fix but it works..

In /mod/facebook_theme/views/default/messageboard/composer.php

echo elgg_view_form('messageboard/add', array(), $vars);
I changed it to
elgg_view_form('messageboard/add', array('name' => 'elgg-messageboard'));

EWinslow: 2 questions 1. Is this the correct fix if so why? 2. What is the correct way for me to submit fixes to you in GitHub ( I am still new to Github) should I do a pull request?

PS 1.4 is great work...
I am trying to learn by going through the code in XDebug to find the error....