2012-12-08 57 views
-1

我通過在網站上進行復制來升級Orchard 1.4網站與Orchard 1.6。我之前沒有菜單,但現在正在添加菜單,並且正在嘗試添加內容菜單項。當我點擊管理應用程序導航區域中的添加按鈕時,出現以下錯誤。任何想法如何解決這個問題?無法找到名爲'ContentPicker'的'腳本'

A 'script' named 'ContentPicker' could not be found. 

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.InvalidOperationException: A 'script' named 'ContentPicker' could not be found. 

Source Error: 


Line 13:  <meta charset="utf-8" /> 
Line 14:  <title>@Html.Title(title, siteName)</title> 
Line 15:  @Display(Model.Head) 
Line 16:  <script>(function(d){d.className="dyn"+d.className.substring(6,d.className.length);})(document.documentElement);</script> 
Line 17: </head> 

回答

3

由於您通過複製站點並保留了相同的數據庫進行升級,因此默認安裝時啓用的某些模塊將保持禁用狀態。

其中一個模塊是ContentPicker。所以,你只需要啓用該模塊。

+1

非常感謝!對於將來的讀者,1.6中的確切位置在名爲Orchard.ContentPicker的「Input Editor」標題下。 –