Jetski5822 / NGM.Forum

Provides Orchard CMS with a bare bones fully working forum
Other
27 stars 20 forks source link

Error When Enabling Forum Theme #3

Closed gr0undzer084 closed 11 years ago

gr0undzer084 commented 11 years ago

I get an error when I try to enable the Forum theme provided. I am running 1.7.

An unhandled exception has occurred and the request was terminated. Please refresh the page. If the error persists, go back Sequence contains no matching element System.InvalidOperationException: Sequence contains no matching element at System.Linq.Enumerable.Single[TSource](IEnumerable1 source, Func2 predicate) at Orchard.Environment.Features.FeatureManager.<>cDisplayClass2d.b20(String fId) in c:\Orchard\src\Orchard\Environment\Features\FeatureManager.cs:line 148 at System.Linq.Enumerable.WhereSelectListIterator2.MoveNext() at System.Linq.Enumerable.WhereEnumerableIterator1.MoveNext() at System.Linq.Enumerable.ToDictionary[TSource,TKey,TElement](IEnumerable1 source, Func2 keySelector, Func2 elementSelector, IEqualityComparer1 comparer) at Orchard.Environment.Features.FeatureManager.b1e(String currentFeatureId, IDictionary2 featuresState) in c:\Orchard\src\Orchard\Environment\Features\FeatureManager.cs:line 147 at Orchard.Environment.Features.FeatureManager.GetAffectedFeatures(String featureId, IDictionary2 features, Func3 getAffectedDependencies) in c:\Orchard\src\Orchard\Environment\Features\FeatureManager.cs:line 195 at Orchard.Environment.Features.FeatureManager.EnableFeature(String featureId, IDictionary2 availableFeatures, Boolean force) in c:\Orchard\src\Orchard\Environment\Features\FeatureManager.cs:line 153 at Orchard.Environment.Features.FeatureManager.<>cDisplayClass9.b__4(String featureId) in c:\Orchard\src\Orchard\Environment\Features\FeatureManager.cs:line 73 at System.Linq.Enumerable.WhereSelectArrayIterator2.MoveNext() at System.Collections.Generic.List1..ctor(IEnumerable1 collection) at System.Linq.Enumerable.ToList[TSource](IEnumerable1 source) at Orchard.Environment.Features.FeatureManager.EnableFeatures(IEnumerable1 featureIds, Boolean force) in c:\Orchard\src\Orchard\Environment\Features\FeatureManager.cs:line 72 at Orchard.Environment.Features.FeatureManager.EnableFeatures(IEnumerable1 featureIds) in c:\Orchard\src\Orchard\Environment\Features\FeatureManager.cs:line 56 at Orchard.Themes.Services.ThemeService.EnableThemeFeatures(String themeName) at Orchard.Themes.Controllers.AdminController.Activate(String themeId) at lambda_method(Closure , ControllerBase , Object[] ) at System.Web.Mvc.ActionMethodDispatcher.Execute(ControllerBase controller, Object[] parameters) at System.Web.Mvc.ReflectedActionDescriptor.Execute(ControllerContext controllerContext, IDictionary2 parameters) at System.Web.Mvc.ControllerActionInvoker.InvokeActionMethod(ControllerContext controllerContext, ActionDescriptor actionDescriptor, IDictionary2 parameters) at System.Web.Mvc.ControllerActionInvoker.<>cDisplayClass13.b10() at System.Web.Mvc.ControllerActionInvoker.InvokeActionMethodFilter(IActionFilter filter, ActionExecutingContext preContext, Func1 continuation) at System.Web.Mvc.ControllerActionInvoker.<>c__DisplayClass13.<>c__DisplayClass15.<InvokeActionMethodWithFilters>b__12() at System.Web.Mvc.ControllerActionInvoker.InvokeActionMethodFilter(IActionFilter filter, ActionExecutingContext preContext, Func1 continuation) at System.Web.Mvc.ControllerActionInvoker.<>cDisplayClass13.<>cDisplayClass15.b__12() at System.Web.Mvc.ControllerActionInvoker.InvokeActionMethodFilter(IActionFilter filter, ActionExecutingContext preContext, Func`1 continuation)

Jetski5822 commented 11 years ago

Have you got the NGravatar module installed? (https://github.com/Jetski5822/ngravatar)

gr0undzer084 commented 11 years ago

I didn't but I do now. Thanks for that, but I am still getting the same error. Is there another module that is required? I just realized I probably should have put this in the other project... sorry.

An unhandled exception has occurred and the request was terminated. Please refresh the page. If the error persists, go back Sequence contains no matching element System.InvalidOperationException: Sequence contains no matching element at System.Linq.Enumerable.Single[TSource](IEnumerable1 source, Func2 predicate) at Orchard.Environment.Features.FeatureManager.<>cDisplayClass2d.b20(String fId) in c:\Orchard\src\Orchard\Environment\Features\FeatureManager.cs:line 148 at System.Linq.Enumerable.WhereSelectListIterator2.MoveNext() at System.Linq.Enumerable.WhereEnumerableIterator1.MoveNext() at System.Linq.Enumerable.ToDictionary[TSource,TKey,TElement](IEnumerable1 source, Func2 keySelector, Func2 elementSelector, IEqualityComparer1 comparer) at Orchard.Environment.Features.FeatureManager.b1e(String currentFeatureId, IDictionary2 featuresState) in c:\Orchard\src\Orchard\Environment\Features\FeatureManager.cs:line 147 at Orchard.Environment.Features.FeatureManager.GetAffectedFeatures(String featureId, IDictionary2 features, Func3 getAffectedDependencies) in c:\Orchard\src\Orchard\Environment\Features\FeatureManager.cs:line 195 at Orchard.Environment.Features.FeatureManager.EnableFeature(String featureId, IDictionary2 availableFeatures, Boolean force) in c:\Orchard\src\Orchard\Environment\Features\FeatureManager.cs:line 153 at Orchard.Environment.Features.FeatureManager.<>cDisplayClass9.b__4(String featureId) in c:\Orchard\src\Orchard\Environment\Features\FeatureManager.cs:line 73 at System.Linq.Enumerable.WhereSelectArrayIterator2.MoveNext() at System.Collections.Generic.List1..ctor(IEnumerable1 collection) at System.Linq.Enumerable.ToList[TSource](IEnumerable1 source) at Orchard.Environment.Features.FeatureManager.EnableFeatures(IEnumerable1 featureIds, Boolean force) in c:\Orchard\src\Orchard\Environment\Features\FeatureManager.cs:line 72 at Orchard.Environment.Features.FeatureManager.EnableFeatures(IEnumerable1 featureIds) in c:\Orchard\src\Orchard\Environment\Features\FeatureManager.cs:line 56 at Orchard.Themes.Services.ThemeService.EnableThemeFeatures(String themeName) at Orchard.Themes.Controllers.AdminController.Activate(String themeId) at lambda_method(Closure , ControllerBase , Object[] ) at System.Web.Mvc.ActionMethodDispatcher.Execute(ControllerBase controller, Object[] parameters) at System.Web.Mvc.ReflectedActionDescriptor.Execute(ControllerContext controllerContext, IDictionary2 parameters) at System.Web.Mvc.ControllerActionInvoker.InvokeActionMethod(ControllerContext controllerContext, ActionDescriptor actionDescriptor, IDictionary2 parameters) at System.Web.Mvc.ControllerActionInvoker.<>cDisplayClass13.b10() at System.Web.Mvc.ControllerActionInvoker.InvokeActionMethodFilter(IActionFilter filter, ActionExecutingContext preContext, Func1 continuation) at System.Web.Mvc.ControllerActionInvoker.<>c__DisplayClass13.<>c__DisplayClass15.<InvokeActionMethodWithFilters>b__12() at System.Web.Mvc.ControllerActionInvoker.InvokeActionMethodFilter(IActionFilter filter, ActionExecutingContext preContext, Func1 continuation) at System.Web.Mvc.ControllerActionInvoker.<>cDisplayClass13.<>cDisplayClass15.b__12() at System.Web.Mvc.ControllerActionInvoker.InvokeActionMethodFilter(IActionFilter filter, ActionExecutingContext preContext, Func`1 continuation)

Jetski5822 commented 11 years ago

Ah yeah this one..

NGM.XSiteScripting (https://github.com/Jetski5822/NGM.XSiteScripting)

gr0undzer084 commented 11 years ago

That was it, thank you.