三天前,我在Umbraco論壇問這個問題,並沒有一個單一的答案。我有一個網站,其內容我不能再編輯,我知道在SO的人是最好的,所以在這裏:Umbraco 6升級後沒有內容節點
我剛剛從Umbraco版本4.6.1升級到6.0.0,現在唯一的一件事顯示在後端的內容選項卡中的是「內容」節點。整個樹已經消失,但該網站實際上仍然有效,只是我無法訪問後端的任何內容 - 媒體,設置,開發人員等標籤都顯示正常工作。
如果我右鍵單擊唯一的可見節點「內容」,我會得到「創建」,「排序」,「重新發布整個站點」和「重新加載節點」。
創建給我預期的創建對話框,但我不想嘗試創建任何東西,直到我知道什麼是錯的。
排序引發以下錯誤:
Server Error in '/' Application.
Object reference not set to an instance of an object.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.NullReferenceException: Object reference not set to an instance of an object.
Source Error:
An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.
Stack Trace:
[NullReferenceException: Object reference not set to an instance of an object.]
umbraco.cms.businesslogic.CMSNode..ctor(IUmbracoEntity entity) +32
umbraco.cms.businesslogic.Content..ctor(IContentBase contentBase) +18
umbraco.cms.businesslogic.web.Document.<GetRootDocuments>b__1(IContent c) +38
System.Linq.WhereSelectEnumerableIterator`2.MoveNext() +151
System.Linq.Buffer`1..ctor(IEnumerable`1 source) +325
System.Linq.Enumerable.ToArray(IEnumerable`1 source) +78
umbraco.cms.businesslogic.web.Document.GetRootDocuments() +123
umbraco.cms.presentation.sort.OnPreRender(EventArgs e) +813
System.Web.UI.Control.PreRenderRecursiveInternal() +103
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +2496
Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.272
重新發布作品沒有錯誤重新創建在App_Data文件夾中的文件umbraco.config。
重新加載節點似乎試圖重新加載節點,但最終沒有顯示出來。
我使用MySQL數據庫,我很高興它有幾個SQL破解命令,我懷疑一些雜亂無章的節點ID可能要怪得到的東西再工作,但我不知道是什麼桌子看。
感謝所有幫助。
PS:一把umbraco「關於」顯示以下版本信息 - 「一把umbraco V6.0.0(議會版本:1.0.4779.24222)」
請改善格式。 – Kimi 2013-03-09 16:52:00
我的歉意是,Kimi,我在我的Galaxy Note平板電腦上做了這件事,這是一場艱苦的鬥爭,我需要一臺電腦才能改進它。 – oak 2013-03-09 17:44:59
格式化得到改進...我希望這看起來更好,並使其更容易回答:-) – oak 2013-03-10 02:09:36