Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

Installing SilverStripe

Getting SilverStripe up and running on your computer and on your web server.

Moderators: martimiz, Sean, biapar, Willr, Ingo, swaiba, simon_w

Cookie 'PastMember' can't be set.


Reply

6 Posts   3336 Views

Avatar
neros3

4 August 2010 at 7:37am Community Member, 51 Posts

Hi all,

When trying to build my site with dev/build I get the below error message.
I have tried to disable debug output with :
Director::set_environment_type("live");

and also with:
Cookie::set_report_errors(false);

But nothing changes the build from breaking.

[User Warning] Cookie 'PastMember' can't be set. The site started outputting was content at line 76 in ...../silverstripe/sapphire/dev/DebugView.php

Thanks!

Avatar
Willr

4 August 2010 at 4:27pm Forum Moderator, 5511 Posts

This is a bug in 2.4.0/1. It has been fixed and will be included in the 2.4.2 release. You can also try out a daily build or a recent checkout via svn of the 2.4 branch. See http://open.silverstripe.org/ticket/5780.

Avatar
phawley

15 August 2010 at 8:01am Community Member, 21 Posts

FYI, in the meantime until 2.4.2 is released, I've found that simply deleting all cookies for the given site allows you to do a /dev/build successfully.

Avatar
lerni

16 August 2010 at 4:11am Community Member, 80 Posts

... or if your site is in dev-mode just use another browser and it'll run through!

Avatar
benjaminapetersen

24 August 2010 at 8:16am Community Member, 3 Posts

you can also just do it the old school (deprecated) way: db/build/?flush=1.

SilverStripe will grump at you and tell you to use the dev/build/?flush=1 link, but it still works just fine.

Avatar
Aioli

1 September 2010 at 3:51pm Community Member, 10 Posts

Can you explain which cookies you deleted?
Thank you