The Dreaded Headers Already Sent error
I am pleased to say that I have the UE working correctly now and producing multiple emails at the touch of a button.
The thing is even though it is working I get quite a lot of header sessions like the following... Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /homepages/37/d277122941/htdocs/midas2demo/pcclient/invoice-email_multi_comm_logo.php:121) in /homepages/37/d277122941/htdocs/midas2demo/pcclient/invoice-email_multi_comm_logo.php on line 202
I read a number of posts especially this one... showthread.php?t=19285
I have spent what feels like hours going through each line of the code to track this down.
But I just cant see or find anything. Could it be something else?
Any clues would be a valuable lesson for the future. I have attached the file causing the error... invoice-email_multi_comm_logo.php