I have recently published my website on Hostgator and I have a problem with the sessions. I have a session start on multiple pages: config.php, login.php, logout.php, index.php.
I have tried everything out there in with checking the whitespace, adding to the .httpaccess file, adding @ob_start()...and nothing seems to work. In the error.log I have the following error:
PHP Warning: session_start(): Cannot start session when headers already sent in ../config.php on line 3
Can you please help me?