1043 Posts in 379 Topics by 373 members
| Go to End | ||
| Author | Topic: | 1640 Views |
-
Re: No Viewer Group after upgrade

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
-
Re: No Viewer Group after upgrade

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!
-
Re: No Viewer Group after upgrade

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.
-
Re: No Viewer Group after upgrade

28 January 2009 at 10:05am Last edited: 28 January 2009 10:08am
web231-oxton is the database name
Shouldn't affect it... i think
-
Re: No Viewer Group after upgrade

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 -
Re: No Viewer Group after upgrade

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....
| 1640 Views | ||
| Go to Top |


