Great, thank you for this!
So apparently this error is caused by extra whitespace somewhere in the config file. The solution is the same as with this error message (detailed instructions at the link):
http://codex.wordpress.org/Answers-Troubleshooting#Headers_already_sent
I know the error is different, but I am assured that you should be able to solve the issue by following those steps :)
Let me know how it goes!