Well, it is a warning, not an error. I can live with warnings if they don't show up in my reply buffer
. I switched over to a GET instead of a POST. That made the 500 error go away. As I said, this code has worked fine under Windows for months.
How can I get rid of the junk in the buffer? Can I somehow output the junk to "space" to flush the buffer? I couldn't find a command in CI to flush. Perhaps php has one?
I am going to try ob_clean(). Any chance that will work if I place it right before the output?
proof that an old dog can learn new tricks