Chances are you have got some HTML code before line 103 - this will have been rendered by the browser hence the header error. You can't do a redirect if you have already written HTML to the browser.
You need to make sure the redirect check is done before the start of the HTML code.