Jump to:

1132 Posts in 1966 Topics by 403 members

Upgrading SilverStripe

SilverStripe Forums » Upgrading SilverStripe » No Viewer Group after upgrade

Ask questions about upgrading SilverStripe to the latest version.

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

Page: 1 2
Go to End
Author Topic: 1816 Views
  • Fuzz10
    Avatar
    Community Member
    786 Posts

    Re: No Viewer Group after upgrade Link to this post

    ah... now I See..

    I was reading too fast .... so the problem is that the data-model isn't updated properly....

    Did you notice that there is a weird table-name in your query ? Where does that come from ?

    web231-oxton.SiteTree_ViewerGroups' doesn't exist

  • fordy
    Avatar
    Community Member
    46 Posts

    Re: No Viewer Group after upgrade Link to this post

    I really dont understand this

    dev/build is telling me that the table is being created:

    # Table SiteTree_ViewerGroups: created
    # Field SiteTree_ViewerGroups.SiteTreeID: created as int(11) not null default '0'
    # Field SiteTree_ViewerGroups.GroupID: created as int(11) not null default '0'
    # Index SiteTree_ViewerGroups.SiteTreeID: created as (SiteTreeID)
    # Index SiteTree_ViewerGroups.GroupID: created as (GroupID)

    But then i get the error message saying it isnt and it isnt in the db.

    This is a Columbo case!

  • Fuzz10
    Avatar
    Community Member
    786 Posts

    Re: No Viewer Group after upgrade Link to this post

    it seems to be looking for a table called web231-oxton.SiteTree_ViewerGroups no ? Or is that some MySQL notation I'm not aware of ?

    Look at your initial error msg.

  • fordy
    Avatar
    Community Member
    46 Posts

    Re: No Viewer Group after upgrade Link to this post

    web231-oxton is the database name

    Shouldn't affect it... i think

  • Fuzz10
    Avatar
    Community Member
    786 Posts

    Re: No Viewer Group after upgrade Link to this post

    hmm..

    Well.. Wasn't there something with SS and dashes in DB names ? ...... Let's see ...

    http://silverstripe.org/archive/show/213111
    http://silverstripe.org/archive/show/18154
    http://silverstripe.org/archive/show/214206

  • fordy
    Avatar
    Community Member
    46 Posts

    Re: No Viewer Group after upgrade Link to this post

    Thanks for the links Fuzz10,

    it has helped me dig a bit further. I moved the site from Fasthosts to Heart so have not installed fresh there. The site does work front-end (except home page) so i dont think it is the db config.

    I also checked the server logs and found the following error when dev/build is run

    PHP Fatal error: Class ' Text' not found in /home/sites/oxtonsportsclub.com/public_html/sapphire/core/Object.php on line 188

    I have had a look and the Text Class is present in the models/datatypes folder. Hmmm....

    1816 Views
Page: 1 2
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.