Hey, i have met the same problem with bypassStaticCache on upgrading silverstripe 2.4.
Everything works fine on my local dev model(Wamp server) but met this problem when upload to the live server.
The error message:
[User Warning] Cookie 'bypassStaticCache' can't be set. The site started outputting was content at line 33 in /home/clicknz/public_html/ssnew/mysite/code/ToursBrandHolder.php
GET /ssnew/tours/
24 $path = ($path) ? $path : Director::baseURL();
25
26 // Versions of PHP prior to 5.2 do not support the $httpOnly value
27 if(version_compare(phpversion(), 5.2, '<')) {
28 setcookie($name, $value, $expiry, $path, $domain, $secure);
29 } else {
30 setcookie($name, $value, $expiry, $path, $domain, $secure, $httpOnly);
31 }
32 } else {
33 if(self::$report_errors) user_error("Cookie '$name' can't be set. The site started outputting was content at line $line in $file", E_USER_WARNING);
34 }
35 }
36
37 /**
38 * Get a cookie variable
39 */
Anyone got any ideas?!
Thanks
Alex