Jump to:

17488 Posts in 4473 Topics by 1978 members

Archive

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

Our old forums are still available as a read-only archive.

Moderators: martimiz, Howard, Sean, Ryan M., biapar, Willr, Ingo

Page: 1
Go to End
Author Topic: 2502 Views
  • neros3
    Avatar
    Community Member
    43 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
    4581 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
    18 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
    68 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
    2 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

    2502 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.