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.

We've moved the forum!

Please use forum.silverstripe.org for any new questions (announcement).
The forum archive will stick around, but will be read only.

You can also use our Slack channel or StackOverflow to ask for help.
Check out our community overview for more options to contribute.

Installing SilverStripe /

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

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

Cookie 'PastMember' can't be set.


Go to End


6 Posts   4646 Views

Avatar
neros3

Community Member, 51 Posts

4 August 2010 at 7:37am

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

Forum Moderator, 5523 Posts

4 August 2010 at 4:27pm

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

Community Member, 21 Posts

15 August 2010 at 8:01am

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

Community Member, 81 Posts

16 August 2010 at 4:11am

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

Avatar
benjaminapetersen

Community Member, 3 Posts

24 August 2010 at 8:16am

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

Community Member, 10 Posts

1 September 2010 at 3:51pm

Can you explain which cookies you deleted?
Thank you