Headers already sent issue on local site
I’m having "headers already sent” problem on my local eCart site.
I went through the troubleshooting of http://www.webassist.com/forums/posts.php?t=19285 and no luck.
Throughout the site below error shows up:
Warning: session_start(): Cannot send session cache limiter - headers already sent (output started at /Applications/MAMP/htdocs/RCUS_parts/Connections/localhost.php:9) in /Applications/MAMP/htdocs/RCUS_parts/WA_eCart/WA_eCart_Definition_PHP.php on line 465
When I go through to check out, it stucks at “confirm.php” page with the same error above, as well as this:
Warning: Cannot modify header information - headers already sent by (output started at /Applications/MAMP/htdocs/RCUS_parts/Connections/localhost.php:9) in /Applications/MAMP/htdocs/RCUS_parts/confirm.php on line 335
So I looked into “localhost.php”, and cannot find any error - not that I know well enough about PHP anyway.
FYI everything works just fine on the remote side without any error message, so I reckon it’s about local connection issue? Anyway I cannot figure out why this is happening.
I attached all 3 files (connection.php, WA_eCart_Definition_PHP.php, and confirm.php).
Truly sorry to waste your time if this was so obvious and an easy mistake...