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're retiring the forums!

The SilverStripe forums have passed their heyday. They'll stick around, but will be read only. We'd encourage you to get involved in the community via the following channels instead:

Upgrading SilverStripe /

Ask questions about upgrading SilverStripe to the latest version.

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

No Viewer Group after upgrade


Go to End


14 Posts   3149 Views

Avatar
Fuzz10

Community Member, 791 Posts

28 January 2009 at 1:34am

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

Avatar
fordy

Community Member, 46 Posts

28 January 2009 at 5:22am

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!

Avatar
Fuzz10

Community Member, 791 Posts

28 January 2009 at 10:00am

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.

Avatar
fordy

Community Member, 46 Posts

28 January 2009 at 10:05am

Edited: 28/01/2009 10:08am

web231-oxton is the database name

Shouldn't affect it... i think

Avatar
Fuzz10

Community Member, 791 Posts

28 January 2009 at 10:34am

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

Avatar
fordy

Community Member, 46 Posts

28 January 2009 at 11:37am

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

Go to Top