简体   繁体   English

SharePoint 2010…删除了自定义网站模板,现在有些网站混乱了

[英]SharePoint 2010… Deleted a custom site template, now some sites are messed up

Something is going on with my SharePoint Foundation 2010 installation and I'm not sure how to fix it. 我的SharePoint Foundation 2010安装正在发生问题,我不确定如何修复它。

Here is the sequence of events: 这是事件的顺序:

  1. Create a site, modify and get approval that is this the look of all future sites. 创建一个站点,修改并获得批准,这是将来所有站点的外观。
  2. Create a template of the site. 创建网站的模板。
  3. Upload this site template (WSP) to a number of collections. 将此网站模板(WSP)上载到多个集合。
  4. Use the template to create a few sites. 使用模板创建一些站点。
  5. Change the look so much, that the original template is now useless for creating new sites. 改变外观太多,以至于原始模板现在对创建新站点毫无用处。
  6. Disable and Delete the "Solution" from all the collections. 禁用并删除所有集合中的“解决方案”。
  7. Enjoy the fact that some of the sites created using the templates are now really screwed. 享受这样一个事实,即使用模板创建的某些站点现在确实被搞砸了。

In the logs, there are sequences of entries with: 在日志中,有以下条目序列:

Relying on fallback logic in VghostPageManager::getGhostDocument() 依靠VghostPageManager :: getGhostDocument()中的回退逻辑

Where it's looking for: 寻找的地方:

C:\\Program Files\\Common Files\\Microsoft Shared\\Web Server Extensions\\14\\Template\\Features** * ** * ** * ** *Modules\\Files_themes\\0\\WIKI-ECF524AA.CSS C:\\ Program Files \\ Common Files \\ Microsoft共享\\ Web服务器扩展\\ 14 \\ Template \\ Features ** * ** * ** * ** * Modules \\ Files_themes \\ 0 \\ WIKI-ECF524AA.CSS

(NOTE: the * is the template name that was deleted. I've removed it for legal reasons from this post). (注意: *是已删除的模板名称。出于法律原因,我已从本文中将其删除)。

How can we set the site to NOT look for stuff (in this case a CSS) in a template that's now gone. 我们如何将站点设置为不在已经消失的模板中查找内容(在本例中为CSS)。 I tried putting the WSP back for old template, but it's still broke. 我曾尝试将WSP放回旧模板,但仍然失败了。 I can't seem to figure out where a site references what template it was originally created from. 我似乎无法弄清楚站点在哪里引用了它最初是从哪个模板创建的。

And, the really odd thing, is that not all my sites have this issue... just a couple. 而且,真正奇怪的是,并非我所有的网站都遇到这个问题……只有几个。 I'm really confused 我真的很困惑

Thanks 谢谢

Unfortunately, the feature used to include some of the site template resources (css) needs to remain. 不幸的是,用于保留某些站点模板资源(css)的功能仍然需要保留。 is not "old" if it is still being used. 如果仍在使用它,则它不是“旧”的。 I suggest you hide the site template so it can no longer used in the future. 我建议您隐藏网站模板,以便将来不再使用。 Use a new site template for the changed visual look and feel if the old sites must remain as they are. 如果旧站点必须保持原样,请使用新的站点模板来更改视觉外观。

No question that this is a mess though. 毫无疑问,这是一团糟。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM