Problems with setcookie and WP 2.6
-
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.
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘Problems with setcookie and WP 2.6’ is closed to new replies.