Why does silverstripe set my page tables as obsolete one

依然范特西╮ 提交于 2019-12-11 19:52:02

问题


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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!