session_start() may only be run before any headers are sent - this an extremely common PHP requirement.
Please ensure that you are not sending any data to the browser (whether it is HTML code, etc) before running session_start(). If in doubt, try running session_start() at the very start of...