Orchard 1.4.2中缺少投影,查询

时间:2012-06-04 07:41:58

标签: orchardcms

我无法在仪表板中看到查询部分,也无法将其视为投影页面的一部分。

有什么变化吗?

在日志中,有一个错误:

Object reference not set to an instance of an object.
   at Szmyd.Orchard.Modules.Menu.Drivers.BreadcrumbsPartDriver.<>c__DisplayClass5.<Display>b__4()
   at Orchard.ContentManagement.Drivers.ContentPartDriver`1.<>c__DisplayClassd.<ContentShape>b__c(BuildShapeContext ctx) in C:\OrchardWebsite\src\Orchard\ContentManagement\Drivers\ContentPartDriver.cs:line 108
   at Orchard.ContentManagement.Drivers.ContentPartDriver`1.<>c__DisplayClass13.<ContentShapeImplementation>b__12(BuildShapeContext ctx) in C:\OrchardWebsite\src\Orchard\ContentManagement\Drivers\ContentPartDriver.cs:line 116
   at Orchard.ContentManagement.Drivers.ContentShapeResult.ApplyImplementation(BuildShapeContext context, String displayType) in C:\OrchardWebsite\src\Orchard\ContentManagement\Drivers\ContentShapeResult.cs:line 37
   at Orchard.ContentManagement.Drivers.ContentShapeResult.Apply(BuildDisplayContext context) in C:\OrchardWebsite\src\Orchard\ContentManagement\Drivers\ContentShapeResult.cs:line 21
   at Orchard.ContentManagement.Drivers.Coordinators.ContentPartDriverCoordinator.<>c__DisplayClassa.<BuildDisplay>b__9(IContentPartDriver driver) in C:\OrchardWebsite\src\Orchard\ContentManagement\Drivers\Coordinators\ContentPartDriverCoordinator.cs:line 49
   at Orchard.InvokeExtensions.Invoke[TEvents](IEnumerable`1 events, Action`1 dispatch, ILogger logger) in C:\OrchardWebsite\src\Orchard\InvokeExtensions.cs:line

3 个答案:

答案 0 :(得分:1)

我遇到了同样的问题,发现投影机模块已被禁用。我不知道为什么它被禁用了,但启用它是有意义的。

答案 1 :(得分:0)

不,它仍在那里。还必须进行其他操作,例如在加载模块时导致异常的版本不匹配。你检查了app_data \ logs文件夹吗?

答案 2 :(得分:0)

我遇到的问题是未在控制板中显示的查询。禁用Autoroute模块并再次启用它对我有用。