Jump to:

4873 Posts in 7171 Topics by 1471 members

Installing SilverStripe

SilverStripe Forums » Installing SilverStripe » Cookie 'PastMember' can't be set.

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

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

Page: 1
Go to End
Author Topic: 3201 Views
  • neros3
    Avatar
    Community Member
    51 Posts

    Cookie 'PastMember' can't be set. Link to this post

    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!

  • Willr
    Avatar
    Forum Moderator
    5462 Posts

    Re: Cookie 'PastMember' can't be set. Link to this post

    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.

  • phawley
    Avatar
    Community Member
    21 Posts

    Re: Cookie 'PastMember' can't be set. Link to this post

    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.

  • lerni
    Avatar
    Community Member
    80 Posts

    Re: Cookie 'PastMember' can't be set. Link to this post

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

  • benjaminapetersen
    Avatar
    Community Member
    3 Posts

    Re: Cookie 'PastMember' can't be set. Link to this post

    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.

  • Aioli
    Avatar
    Community Member
    10 Posts

    Re: Cookie 'PastMember' can't be set. Link to this post

    Can you explain which cookies you deleted?
    Thank you

    3201 Views
Page: 1
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.