Jump to:

3448 Posts in 1062 Topics by 738 members

Data Model Questions

SilverStripe Forums » Data Model Questions » Couldn't get Site Tree1

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

Page: 1
Go to End
Author Topic: 2021 Views
  • delcon
    Community Member
    9 Posts

    Couldn't get Site Tree1 Link to this post


    I have a problem with control children

    when called control children, sapphire throws an error:

    Error at \sapphire\core\model\Versioned.php line 853: Versioned::get_version: Couldn't get SiteTree.1

    Pages seam to be ok in Admin...

    How could I trace this problem?

    Tried to create a new ListPage with new children doesn't help....


  • MonkeyFish
    Community Member
    12 Posts

    Re: Couldn't get Site Tree1 Link to this post

    I had a similar problem. Ran /dev/build/?flush=1 and ran the following mysql query REPAIR TABLE SiteTree using PHPMyAdmin. Not sure what fixed it but i suspect it was a corrupt SiteTree table.

  • johnmblack
    Community Member
    61 Posts

    Re: Couldn't get Site Tree1 Link to this post

    Alternate solution, from: http://silverstripe.org/releases-and-announcements/show/13992

    "I have just had this problem. I found the cookie was the problem. Clear your cookies and you should be able to re-login using the same browser"

  • MartinPhone
    Community Member
    57 Posts

    Re: Couldn't get Site Tree1 Link to this post

    I had this same problem - I found I had links to pages that weren't there any more/had their page type changed slightly. Possibly not the best solution but I just went through and updated the links... repairing and clearing cache didn't work for me...

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.