I’m having issues with :Cannot modify header information errors” and after trying just about everything I managed to track it down to one line of code:
setcookie(“ftw_uid”, $uid, time()+3000000);
After a few tests, I managed to figure out that I can’t set cookies at all, they all return that same error and the cookie is never set. If I delete or comment out those lines, then the error goes away. I’m hoping there’s a new setting somewhere that I need to switch. Any ideas?
This is really killing the functionality of the site. I really depend on that one cookie to properly display affiliate links. Any help would be greatly appreciated.
I’m not sure what the deal could be though. It seems like I can set cookies from php files that this isn’t in. Do you think this might be a php version issue? I recently upgraded to 5… in an effort to fix a broken plugin… and issues with whitespace may have caused the cannot modify header errors from before. Who knows.