问题
Hello,
I have a big problem with silverstripe. Everything was okay until i flushed my site and suddenly i got some errors with this on the dev/build :
Table Page: renamed to _obsolete_Page
Table Page_versions: renamed to _obsolete_Page_versions
Table Page_Live: renamed to _obsolete_Page_Live
So silverstripe set all my page tables as obsolete ones and my site does not work anymore! Does anybody already had this issue? I tried to find some explanations in the code but did not find anything... Please help me :(
回答1:
It'll mark your tables as obsolete if it doesn't detect any need for them (no $db or $has_one arrays on the object). What fields should be stored on your Page database?
来源:https://stackoverflow.com/questions/25133553/why-does-silverstripe-set-my-page-tables-as-obsolete-one