Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Caractacus Downes 81 posts 314 karma points
    Nov 07, 2016 @ 15:49
    Caractacus Downes
    0

    Installing Merchello 2.3.0 Package

    Hi,

    Just been trying to upgrade Merchello from 2.2.1 to 2.3.0 on an Umbraco 7.5.3 system. I've tried this both from the online package and from a local package, and I get the following:

    2016-11-07 15:38:25,380 [P597604/D3/T9] ERROR umbraco.cms.businesslogic.packager.Installer - Error importing file \\sambab\sites\beesfordevelopment.org\public_html\App_Data\540c4c0a-8707-4741-a01f-5fb14657aefd.umb
    
    System.IO.IOException: The directory is not empty.
    
       at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
    
       at System.IO.Directory.DeleteHelper(String fullPath, String userPath, Boolean recursive, Boolean throwOnTopLevelDirectoryNotFound)
    
       at System.IO.Directory.Delete(String fullPath, String userPath, Boolean recursive, Boolean checkHost)
    
       at umbraco.cms.businesslogic.packager.Installer.UnPack(String zipName, Boolean deleteFile)
    
       at umbraco.cms.businesslogic.packager.Installer.Import(String inputFile, Boolean deleteFile)
    

    Any suggestions?

    Cheers,

    Crac

  • Caractacus Downes 81 posts 314 karma points
    Nov 07, 2016 @ 15:53
    Caractacus Downes
    0

    I should add that I can see the .umb file appearing in the AppData/packages folder, and a folder with the same name appearing in the AppData folder into which the files from the zip are uncompressed, then the error gets thrown.

    If I delete both the .umb file and the package specific folder in App_Data, recycle the Application Pool and try again it comes up with the same error.

    The .umb file appears with 744 permissions, the folder has 755, the unzipped files in the folder have 744.

    Cheers,

    Crac

  • Rusty Swayne 1655 posts 4993 karma points c-trib
    Nov 07, 2016 @ 16:32
    Rusty Swayne
    0

    Hey Crac,

    Can you do a quick install into a new site and then compare the files in the bin and app_plugin directory.

    What steps are you using to perform the upgrade ... not quite following you here =)

  • Caractacus Downes 81 posts 314 karma points
    Nov 07, 2016 @ 16:37
    Caractacus Downes
    0

    Hi Rusty,

    Thanks for responding.

    I'm upgrading a live site from Merchello 2.2.1 to 2.3.0. In the packages section of the back office I'm selecting to install Merchello 2.3.0 (I've tried both from the online package and a zip file downloaded). It starts to install, but after a few seconds comes up with a brief error message saying that it failed and to check the log file - the log file has what I've posted.

    So you're suggesting I do a new install of Umbraco, then install Merchello 2.3.0 directly? I can do, but what will that tell me? I'm not getting as far as installing any of 2.3.0 ...

    Cheers,

    Crac

  • Rusty Swayne 1655 posts 4993 karma points c-trib
    Nov 07, 2016 @ 16:45
    Rusty Swayne
    1

    Hey Crac,

    You can't use the package manager to upgrade the Merchello package. Basically we don't want any of the package actions (and certain bits for the first time install).

    I try to describe that in my release notes in upgrade instructions - but you're not alone in attempting to upgrade in this fashion so something I need to look at clarifying.

    We are working to make it possible via NuGet (but that is a ways out due to the way we have to boot strap at this point).

  • Caractacus Downes 81 posts 314 karma points
    Nov 07, 2016 @ 16:54
    Caractacus Downes
    0

    Ah, I had missed that.

    A warning when trying to install the package over an existing one might be worth considering - I know there's an error message already, but one that doesn't involve bothering you to ask what it means ...

    So I need to do a manual copy of the dlls and specific Merchello directories ... I'll try that.

    Cheers,

    Crac

  • Caractacus Downes 81 posts 314 karma points
    Nov 07, 2016 @ 17:06
    Caractacus Downes
    0

    Now my website is dead ...

        [SqlException (0x80131904): Invalid column name 'isFilter'.]
       System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction) +388
       System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, Boolean callerHasConnectionLock, Boolean asyncClose) +717
       System.Data.SqlClient.TdsParser.TryRun(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj, Boolean& dataReady) +4515
       System.Data.SqlClient.SqlDataReader.TryConsumeMetaData() +61
       System.Data.SqlClient.SqlDataReader.get_MetaData() +134
       System.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString) +6558441
       System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async, Int32 timeout, Task& task, Boolean asyncWrite, SqlDataReader ds) +6561079
       System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, TaskCompletionSource`1 completion, Int32 timeout, Task& task, Boolean asyncWrite) +586
       System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method) +104
       System.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior behavior, String method) +288
       System.Data.SqlClient.SqlCommand.ExecuteDbDataReader(CommandBehavior behavior) +171
       StackExchange.Profiling.Data.ProfiledDbCommand.ExecuteDbDataReader(CommandBehavior behavior) +336
       System.Data.Common.DbCommand.System.Data.IDbCommand.ExecuteReader() +17
       Umbraco.Core.Persistence.<>c__DisplayClass4.<ExecuteReaderWithRetry>b__3() +277
       Umbraco.Core.Persistence.FaultHandling.RetryPolicy.ExecuteAction(Func`1 func) +545
       Umbraco.Core.Persistence.<Query>d__7`1.MoveNext() +1153
       System.Collections.Generic.List`1..ctor(IEnumerable`1 collection) +536
       System.Linq.Enumerable.ToList(IEnumerable`1 source) +80
       Merchello.Core.Persistence.Repositories.EntityCollectionRepository.GetEntityCollectionsByProductKey(Guid productKey, Boolean isFilter) +586
       Merchello.Core.Services.EntityCollectionService.GetEntityCollectionsByProductKey(Guid productKey, Boolean isFilter) +126
       Merchello.Core.ProductExtensions.GetCollectionsContaining(IProduct product, Boolean isFilter) +178
       Merchello.Core.ProductExtensions.SerializeToXml(IProduct product) +633
       Merchello.Examine.Providers.ProductIndexer.PerformIndexAll(String type) +304
       Umbraco.Web.WebBootManager.Complete(Action`1 afterComplete) +396
       Umbraco.Core.UmbracoApplicationBase.StartApplication(Object sender, EventArgs e) +352
    
    [HttpException (0x80004005): Invalid column name 'isFilter'.]
       System.Web.HttpApplicationFactory.EnsureAppStartCalledForIntegratedMode(HttpContext context, HttpApplication app) +12625917
       System.Web.HttpApplication.RegisterEventSubscriptionsWithIIS(IntPtr appContext, HttpContext context, MethodInfo[] handlers) +175
       System.Web.HttpApplication.InitSpecial(HttpApplicationState state, MethodInfo[] handlers, IntPtr appContext, HttpContext context) +353
       System.Web.HttpApplicationFactory.GetSpecialApplicationInstance(IntPtr appContext, HttpContext context) +404
       System.Web.Hosting.PipelineRuntime.InitializeApplication(IntPtr appContext) +475
    
    [HttpException (0x80004005): Invalid column name 'isFilter'.]
       System.Web.HttpRuntime.FirstRequestInit(HttpContext context) +12642964
       System.Web.HttpRuntime.EnsureFirstRequestInit(HttpContext context) +159
       System.Web.HttpRuntime.ProcessRequestNotificationPrivate(IIS7WorkerRequest wr, HttpContext context) +12482369
    
  • Caractacus Downes 81 posts 314 karma points
    Nov 07, 2016 @ 17:10
    Caractacus Downes
    0

    Might be back now, and showing Merchello version 2.3.0 in the back office.

    It's a bit of a rollercoaster ride ...

    Cheers,

    Crac

  • Caractacus Downes 81 posts 314 karma points
    Nov 07, 2016 @ 17:19
    Caractacus Downes
    0

    Oh no, there's more ...

    [MissingMethodException: Method not found: 'Merchello.Web.Models.VirtualContent.IProductContent Merchello.Web.MerchelloHelper.TypedProductContent(System.Guid)'.]
       Merchello.FastTrack.Factories.FastTrackCheckoutSummaryModelFactory.GetProductContent(Guid productKey) +0
       Merchello.FastTrack.Factories.FastTrackCheckoutSummaryModelFactory.OnCreate(StoreLineItemModel lineItem, ILineItem item) +430
       Merchello.Web.Factories.CheckoutSummaryModelFactory`4.Create(ILineItem item) +538
       System.Linq.WhereSelectEnumerableIterator`2.MoveNext() +270
       ASP._Page_App_Plugins_FastTrack_Views_CheckoutSummary_BasketSummary_cshtml.Execute() in \\sambab\sites\beesfordevelopment.org\public_html\App_Plugins\FastTrack\Views\CheckoutSummary\BasketSummary.cshtml:24
       System.Web.WebPages.WebPageBase.ExecutePageHierarchy() +280
       System.Web.Mvc.WebViewPage.ExecutePageHierarchy() +126
       System.Web.WebPages.WebPageBase.ExecutePageHierarchy(WebPageContext pageContext, TextWriter writer, WebPageRenderingBase startPage) +125
       Umbraco.Core.Profiling.ProfilingView.Render(ViewContext viewContext, TextWriter writer) +140
       System.Web.Mvc.ViewResultBase.ExecuteResult(ControllerContext context) +380
       System.Web.Mvc.ControllerActionInvoker.InvokeActionResultFilterRecursive(IList`1 filters, Int32 filterIndex, ResultExecutingContext preContext, ControllerContext controllerContext, ActionResult actionResult) +109
       System.Web.Mvc.ControllerActionInvoker.InvokeActionResultFilterRecursive(IList`1 filters, Int32 filterIndex, ResultExecutingContext preContext, ControllerContext controllerContext, ActionResult actionResult) +890
       System.Web.Mvc.ControllerActionInvoker.InvokeActionResultFilterRecursive(IList`1 filters, Int32 filterIndex, ResultExecutingContext preContext, ControllerContext controllerContext, ActionResult actionResult) +890
       System.Web.Mvc.ControllerActionInvoker.InvokeActionResultFilterRecursive(IList`1 filters, Int32 filterIndex, ResultExecutingContext preContext, ControllerContext controllerContext, ActionResult actionResult) +890
       System.Web.Mvc.ControllerActionInvoker.InvokeActionResultFilterRecursive(IList`1 filters, Int32 filterIndex, ResultExecutingContext preContext, ControllerContext controllerContext, ActionResult actionResult) +890
       System.Web.Mvc.ControllerActionInvoker.InvokeActionResultWithFilters(ControllerContext controllerContext, IList`1 filters, ActionResult actionResult) +97
       System.Web.Mvc.Async.<>c__DisplayClass21.<BeginInvokeAction>b__1e(IAsyncResult asyncResult) +241
       System.Web.Mvc.Controller.<BeginExecuteCore>b__1d(IAsyncResult asyncResult, ExecuteCoreState innerState) +29
       System.Web.Mvc.Async.WrappedAsyncVoid`1.CallEndDelegate(IAsyncResult asyncResult) +111
       System.Web.Mvc.Controller.EndExecuteCore(IAsyncResult asyncResult) +53
       System.Web.Mvc.Async.WrappedAsyncVoid`1.CallEndDelegate(IAsyncResult asyncResult) +19
       System.Web.Mvc.MvcHandler.<BeginProcessRequest>b__5(IAsyncResult asyncResult, ProcessRequestState innerState) +51
       System.Web.Mvc.Async.WrappedAsyncVoid`1.CallEndDelegate(IAsyncResult asyncResult) +111
       System.Web.Mvc.<>c__DisplayClass4.<Wrap>b__3() +15
       System.Web.Mvc.ServerExecuteHttpHandlerWrapper.Wrap(Func`1 func) +41
       System.Web.HttpServerUtility.ExecuteInternal(IHttpHandler handler, TextWriter writer, Boolean preserveForm, Boolean setPreviousPage, VirtualPath path, VirtualPath filePath, String physPath, Exception error, String queryStringOverride) +1783
    
    [HttpException (0x80004005): Error executing child request for handler 'System.Web.Mvc.HttpHandlerUtil+ServerExecuteHttpHandlerAsyncWrapper'.]
       System.Web.HttpServerUtility.ExecuteInternal(IHttpHandler handler, TextWriter writer, Boolean preserveForm, Boolean setPreviousPage, VirtualPath path, VirtualPath filePath, String physPath, Exception error, String queryStringOverride) +2816
       System.Web.HttpServerUtility.Execute(IHttpHandler handler, TextWriter writer, Boolean preserveForm, Boolean setPreviousPage) +275
       System.Web.HttpServerUtilityWrapper.Execute(IHttpHandler handler, TextWriter writer, Boolean preserveForm) +94
       System.Web.Mvc.Html.ChildActionExtensions.ActionHelper(HtmlHelper htmlHelper, String actionName, String controllerName, RouteValueDictionary routeValues, TextWriter textWriter) +716
       System.Web.Mvc.Html.ChildActionExtensions.Action(HtmlHelper htmlHelper, String actionName, String controllerName, RouteValueDictionary routeValues) +123
       ASP._Page_Views_PreSaleSummary_cshtml.Execute() in \\sambab\sites\beesfordevelopment.org\public_html\Views\PreSaleSummary.cshtml:17
       System.Web.WebPages.WebPageBase.ExecutePageHierarchy() +280
       System.Web.Mvc.WebViewPage.ExecutePageHierarchy() +126
       System.Web.WebPages.WebPageBase.ExecutePageHierarchy(WebPageContext pageContext, TextWriter writer, WebPageRenderingBase startPage) +125
       System.Web.WebPages.WebPageBase.RenderSurrounding(String partialViewName, Action`1 body) +209
       System.Web.WebPages.WebPageBase.PopContext() +162
       Umbraco.Core.Profiling.ProfilingView.Render(ViewContext viewContext, TextWriter writer) +140
       System.Web.Mvc.ViewResultBase.ExecuteResult(ControllerContext context) +380
       System.Web.Mvc.ControllerActionInvoker.InvokeActionResultFilterRecursive(IList`1 filters, Int32 filterIndex, ResultExecutingContext preContext, ControllerContext controllerContext, ActionResult actionResult) +109
       System.Web.Mvc.ControllerActionInvoker.InvokeActionResultFilterRecursive(IList`1 filters, Int32 filterIndex, ResultExecutingContext preContext, ControllerContext controllerContext, ActionResult actionResult) +890
       System.Web.Mvc.ControllerActionInvoker.InvokeActionResultFilterRecursive(IList`1 filters, Int32 filterIndex, ResultExecutingContext preContext, ControllerContext controllerContext, ActionResult actionResult) +890
       System.Web.Mvc.ControllerActionInvoker.InvokeActionResultFilterRecursive(IList`1 filters, Int32 filterIndex, ResultExecutingContext preContext, ControllerContext controllerContext, ActionResult actionResult) +890
       System.Web.Mvc.ControllerActionInvoker.InvokeActionResultWithFilters(ControllerContext controllerContext, IList`1 filters, ActionResult actionResult) +97
       System.Web.Mvc.Async.<>c__DisplayClass21.<BeginInvokeAction>b__1e(IAsyncResult asyncResult) +241
       System.Web.Mvc.Controller.<BeginExecuteCore>b__1d(IAsyncResult asyncResult, ExecuteCoreState innerState) +29
       System.Web.Mvc.Async.WrappedAsyncVoid`1.CallEndDelegate(IAsyncResult asyncResult) +111
       System.Web.Mvc.Controller.EndExecuteCore(IAsyncResult asyncResult) +53
       System.Web.Mvc.Async.WrappedAsyncVoid`1.CallEndDelegate(IAsyncResult asyncResult) +19
       System.Web.Mvc.MvcHandler.<BeginProcessRequest>b__5(IAsyncResult asyncResult, ProcessRequestState innerState) +51
       System.Web.Mvc.Async.WrappedAsyncVoid`1.CallEndDelegate(IAsyncResult asyncResult) +111
       System.Web.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +606
       System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +288
    
  • Rusty Swayne 1655 posts 4993 karma points c-trib
    Nov 07, 2016 @ 17:39
    Rusty Swayne
    1

    Set the merchelloConfigurationStatus value back to what you had before you started your upgrade.

  • Rusty Swayne 1655 posts 4993 karma points c-trib
    Nov 07, 2016 @ 17:40
    Rusty Swayne
    0

    This was discussed in another thread ... That method was moved to an extension method - so add using Merchello.Web to views where needed.

  • Caractacus Downes 81 posts 314 karma points
    Nov 08, 2016 @ 14:24
    Caractacus Downes
    0

    OK, I've got it working up to the checkout stage. But now I have this:

    Method not found: 'Merchello.Web.Models.VirtualContent.IProductContent Merchello.Web.MerchelloHelper.TypedProductContent(System.Guid)'.
    
    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.MissingMethodException: Method not found: 'Merchello.Web.Models.VirtualContent.IProductContent Merchello.Web.MerchelloHelper.TypedProductContent(System.Guid)'.
    
    Source Error: 
    
    
    Line 26:         <tbody>
    Line 27: 
    Line 28:             @foreach (var item in Model.Items)
    Line 29:             {
    Line 30:                 <tr>
    
    Source File: c:\Users\Caractacus\Documents\Visual Studio 2015\WebSites\Bfd_Phase3\App_Plugins\FastTrack\Views\CheckoutSummary\BasketSummary.cshtml    Line: 28 
    
    Stack Trace: 
    
    
    [MissingMethodException: Method not found: 'Merchello.Web.Models.VirtualContent.IProductContent Merchello.Web.MerchelloHelper.TypedProductContent(System.Guid)'.]
       Merchello.FastTrack.Factories.FastTrackCheckoutSummaryModelFactory.GetProductContent(Guid productKey) +0
       Merchello.FastTrack.Factories.FastTrackCheckoutSummaryModelFactory.OnCreate(StoreLineItemModel lineItem, ILineItem item) +277
       Merchello.Web.Factories.CheckoutSummaryModelFactory`4.Create(ILineItem item) +393
       System.Linq.WhereSelectEnumerableIterator`2.MoveNext() +223
       ASP._Page_App_Plugins_FastTrack_Views_CheckoutSummary_BasketSummary_cshtml.Execute() in c:\Users\Caractacus\Documents\Visual Studio 2015\WebSites\Bfd_Phase3\App_Plugins\FastTrack\Views\CheckoutSummary\BasketSummary.cshtml:28
       System.Web.WebPages.WebPageBase.ExecutePageHierarchy() +253
       System.Web.Mvc.WebViewPage.ExecutePageHierarchy() +148
       System.Web.WebPages.WebPageBase.ExecutePageHierarchy(WebPageContext pageContext, TextWriter writer, WebPageRenderingBase startPage) +122
       Umbraco.Core.Profiling.ProfilingView.Render(ViewContext viewContext, TextWriter writer) +239
       System.Web.Mvc.ViewResultBase.ExecuteResult(ControllerContext context) +375
       System.Web.Mvc.ControllerActionInvoker.InvokeActionResultFilterRecursive(IList`1 filters, Int32 filterIndex, ResultExecutingContext preContext, ControllerContext controllerContext, ActionResult actionResult) +90
       System.Web.Mvc.ControllerActionInvoker.InvokeActionResultFilterRecursive(IList`1 filters, Int32 filterIndex, ResultExecutingContext preContext, ControllerContext controllerContext, ActionResult actionResult) +833
       System.Web.Mvc.ControllerActionInvoker.InvokeActionResultFilterRecursive(IList`1 filters, Int32 filterIndex, ResultExecutingContext preContext, ControllerContext controllerContext, ActionResult actionResult) +833
       System.Web.Mvc.ControllerActionInvoker.InvokeActionResultFilterRecursive(IList`1 filters, Int32 filterIndex, ResultExecutingContext preContext, ControllerContext controllerContext, ActionResult actionResult) +833
       System.Web.Mvc.ControllerActionInvoker.InvokeActionResultFilterRecursive(IList`1 filters, Int32 filterIndex, ResultExecutingContext preContext, ControllerContext controllerContext, ActionResult actionResult) +833
       System.Web.Mvc.ControllerActionInvoker.InvokeActionResultWithFilters(ControllerContext controllerContext, IList`1 filters, ActionResult actionResult) +81
       System.Web.Mvc.Async.<>c__DisplayClass21.<BeginInvokeAction>b__1e(IAsyncResult asyncResult) +186
       System.Web.Mvc.Async.AsyncControllerActionInvoker.EndInvokeAction(IAsyncResult asyncResult) +38
       System.Web.Mvc.Controller.<BeginExecuteCore>b__1d(IAsyncResult asyncResult, ExecuteCoreState innerState) +29
       System.Web.Mvc.Async.WrappedAsyncVoid`1.CallEndDelegate(IAsyncResult asyncResult) +67
       System.Web.Mvc.Controller.EndExecuteCore(IAsyncResult asyncResult) +53
       System.Web.Mvc.Async.WrappedAsyncVoid`1.CallEndDelegate(IAsyncResult asyncResult) +36
       System.Web.Mvc.Controller.EndExecute(IAsyncResult asyncResult) +38
       System.Web.Mvc.MvcHandler.<BeginProcessRequest>b__5(IAsyncResult asyncResult, ProcessRequestState innerState) +44
       System.Web.Mvc.Async.WrappedAsyncVoid`1.CallEndDelegate(IAsyncResult asyncResult) +67
       System.Web.Mvc.MvcHandler.EndProcessRequest(IAsyncResult asyncResult) +38
       System.Web.Mvc.<>c__DisplayClass4.<Wrap>b__3() +15
       System.Web.Mvc.ServerExecuteHttpHandlerWrapper.Wrap(Func`1 func) +27
       System.Web.HttpServerUtility.ExecuteInternal(IHttpHandler handler, TextWriter writer, Boolean preserveForm, Boolean setPreviousPage, VirtualPath path, VirtualPath filePath, String physPath, Exception error, String queryStringOverride) +1737
    
    [HttpException (0x80004005): Error executing child request for handler 'System.Web.Mvc.HttpHandlerUtil+ServerExecuteHttpHandlerAsyncWrapper'.]
       System.Web.HttpServerUtility.ExecuteInternal(IHttpHandler handler, TextWriter writer, Boolean preserveForm, Boolean setPreviousPage, VirtualPath path, VirtualPath filePath, String physPath, Exception error, String queryStringOverride) +2392
       System.Web.HttpServerUtility.Execute(IHttpHandler handler, TextWriter writer, Boolean preserveForm, Boolean setPreviousPage) +131
       System.Web.HttpServerUtility.Execute(IHttpHandler handler, TextWriter writer, Boolean preserveForm) +36
       System.Web.Mvc.Html.ChildActionExtensions.ActionHelper(HtmlHelper htmlHelper, String actionName, String controllerName, RouteValueDictionary routeValues, TextWriter textWriter) +595
       System.Web.Mvc.Html.ChildActionExtensions.Action(HtmlHelper htmlHelper, String actionName, String controllerName, RouteValueDictionary routeValues) +114
       ASP._Page_Views_PreSaleSummary_cshtml.Execute() in c:\Users\Caractacus\Documents\Visual Studio 2015\WebSites\Bfd_Phase3\Views\PreSaleSummary.cshtml:17
       System.Web.WebPages.WebPageBase.ExecutePageHierarchy() +253
       System.Web.Mvc.WebViewPage.ExecutePageHierarchy() +148
       System.Web.WebPages.WebPageBase.ExecutePageHierarchy(WebPageContext pageContext, TextWriter writer, WebPageRenderingBase startPage) +122
       System.Web.WebPages.<>c__DisplayClass3.<RenderPageCore>b__2(TextWriter writer) +311
       System.Web.WebPages.WebPageBase.Write(HelperResult result) +108
       System.Web.WebPages.WebPageBase.RenderSurrounding(String partialViewName, Action`1 body) +89
       System.Web.WebPages.WebPageBase.PopContext() +310
       Umbraco.Core.Profiling.ProfilingView.Render(ViewContext viewContext, TextWriter writer) +239
       System.Web.Mvc.ViewResultBase.ExecuteResult(ControllerContext context) +375
       System.Web.Mvc.ControllerActionInvoker.InvokeActionResultFilterRecursive(IList`1 filters, Int32 filterIndex, ResultExecutingContext preContext, ControllerContext controllerContext, ActionResult actionResult) +90
       System.Web.Mvc.ControllerActionInvoker.InvokeActionResultFilterRecursive(IList`1 filters, Int32 filterIndex, ResultExecutingContext preContext, ControllerContext controllerContext, ActionResult actionResult) +833
       System.Web.Mvc.ControllerActionInvoker.InvokeActionResultFilterRecursive(IList`1 filters, Int32 filterIndex, ResultExecutingContext preContext, ControllerContext controllerContext, ActionResult actionResult) +833
       System.Web.Mvc.ControllerActionInvoker.InvokeActionResultFilterRecursive(IList`1 filters, Int32 filterIndex, ResultExecutingContext preContext, ControllerContext controllerContext, ActionResult actionResult) +833
       System.Web.Mvc.ControllerActionInvoker.InvokeActionResultWithFilters(ControllerContext controllerContext, IList`1 filters, ActionResult actionResult) +81
       System.Web.Mvc.Async.<>c__DisplayClass21.<BeginInvokeAction>b__1e(IAsyncResult asyncResult) +186
       System.Web.Mvc.Async.AsyncControllerActionInvoker.EndInvokeAction(IAsyncResult asyncResult) +38
       System.Web.Mvc.Controller.<BeginExecuteCore>b__1d(IAsyncResult asyncResult, ExecuteCoreState innerState) +29
       System.Web.Mvc.Async.WrappedAsyncVoid`1.CallEndDelegate(IAsyncResult asyncResult) +67
       System.Web.Mvc.Controller.EndExecuteCore(IAsyncResult asyncResult) +53
       System.Web.Mvc.Async.WrappedAsyncVoid`1.CallEndDelegate(IAsyncResult asyncResult) +36
       System.Web.Mvc.Controller.EndExecute(IAsyncResult asyncResult) +38
       System.Web.Mvc.MvcHandler.<BeginProcessRequest>b__5(IAsyncResult asyncResult, ProcessRequestState innerState) +44
       System.Web.Mvc.Async.WrappedAsyncVoid`1.CallEndDelegate(IAsyncResult asyncResult) +67
       System.Web.Mvc.MvcHandler.EndProcessRequest(IAsyncResult asyncResult) +38
       System.Web.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +399
       System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +157
    
  • Rusty Swayne 1655 posts 4993 karma points c-trib
    Nov 08, 2016 @ 17:53
    Rusty Swayne
    0

    Add using Merchello.Web - the TypedProductContent method was moved to an extension method.

  • Caractacus Downes 81 posts 314 karma points
    Nov 09, 2016 @ 10:53
    Caractacus Downes
    0

    It's already in there, as per our previous discussions.

    My store is based on FastTrack, but I have customised the templates to fit with my project. I think the problem might be a FastTrack dll compatibility. but if I replace the 2.1.0 FastTrack dlls with the 2.3.0 ones then the site breaks. I've also added the new config folder to the FastTrack folder, and edited the template aliases to point to my templates, but that doesn't work either.

    Do I need to install the 2.3.0 FastTrack and then re-customise all the templates?

    Are there any guidelines you can give me so that I don't lose any of the data in the system?

    Feeling a bit stumped ...

    Cheers,

    Crac

  • Caractacus Downes 81 posts 314 karma points
    Nov 09, 2016 @ 17:22
    Caractacus Downes
    0

    Hi,

    I've spent today rebuilding my store based on FastTrack 2.3.0, which is now working, mostly. The remaining problem I have is a JavaScript error:

    Uncaught Error: No module: merchello.plugins(…)
    

    which shows up in the back office and makes it impossible for me to enter PayPal configuration information, probably amongst other things, but that's what I've spotted so far.

    I suspect this is something simple, but I'm not sure what.

    Cheers,

    Crac

  • Caractacus Downes 81 posts 314 karma points
    Nov 10, 2016 @ 11:02
    Caractacus Downes
    0

    I've done some more searching through code to see if I can work out what's going on.

    In the back office the error: Uncaught Error: No module: merchello.plugins()

    appears in the browser console and appears to be a problem with the line:

    angular.module('merchello.plugins', ['chart.js']);
    

    in merchello.module.js. chart.js seems to refer to a module initialised in line 35 of angular-chart.js, so my assumption is that angular-chart.js isn't being loaded for some reason. The file is in the right place, and is listed with the correct path in the Merchello package.manifest as far as I can see.

    Any ideas on what could be causing this? It's got to be a really basic configuration file problem, but I can't find it, and I'm a bit reluctant to replace entire folders full of files without knowing what they do or whether they hold some critical customisation which I need - that's probably how this came about in the first place.

    Suggestions appreciated ...

    Cheers,

    Crac

  • Rusty Swayne 1655 posts 4993 karma points c-trib
    Nov 10, 2016 @ 14:39
    Rusty Swayne
    0

    Hey Crac,

    Are you in debug mode (web.config). Simon just fixed a conflict between the use of minimized files where client dependency was causing a double minification. http://issues.merchello.com/youtrack/issue/M-1205

  • Caractacus Downes 81 posts 314 karma points
    Nov 10, 2016 @ 15:24
    Caractacus Downes
    0

    OK, I've set it into debug mode and now the site won't start. I'm getting this error:

    Failed to enter the lock within timeout.

    [TimeoutException: Failed to enter the lock within timeout.]
       Umbraco.Core.MainDom.Acquire() +335
       Umbraco.Core.ApplicationContext.Init() +70
       Umbraco.Core.CoreBootManager.CreateApplicationContext(DatabaseContext dbContext, ServiceContext serviceContext) +61
       Umbraco.Core.CoreBootManager.Initialize() +698
       Umbraco.Web.WebBootManager.Initialize() +101
       Umbraco.Core.UmbracoApplicationBase.StartApplication(Object sender, EventArgs e) +236
    
    [HttpException (0x80004005): Failed to enter the lock within timeout.]
       System.Web.HttpApplicationFactory.EnsureAppStartCalledForIntegratedMode(HttpContext context, HttpApplication app) +12625917
       System.Web.HttpApplication.RegisterEventSubscriptionsWithIIS(IntPtr appContext, HttpContext context, MethodInfo[] handlers) +175
       System.Web.HttpApplication.InitSpecial(HttpApplicationState state, MethodInfo[] handlers, IntPtr appContext, HttpContext context) +353
       System.Web.HttpApplicationFactory.GetSpecialApplicationInstance(IntPtr appContext, HttpContext context) +404
       System.Web.Hosting.PipelineRuntime.InitializeApplication(IntPtr appContext) +475
    
    [HttpException (0x80004005): Failed to enter the lock within timeout.]
       System.Web.HttpRuntime.FirstRequestInit(HttpContext context) +12642964
       System.Web.HttpRuntime.EnsureFirstRequestInit(HttpContext context) +159
       System.Web.HttpRuntime.ProcessRequestNotificationPrivate(IIS7WorkerRequest wr, HttpContext context) +12482369
    

    I'll try a couple of things and see if I can get it to run ...

    Cheers,

    Crac

  • Caractacus Downes 81 posts 314 karma points
    Nov 10, 2016 @ 15:55
    Caractacus Downes
    0

    OK, managed to get it going again and then tried again to set the debug flag in web.config (I assume we are talking about this line in the we.config file:

    <compilation defaultLanguage="c#" debug="true" batch="false" targetFramework="4.5" numRecompilesBeforeAppRestart="100">
    

    ?)

    It doesn't seem to have made any difference. I'll restart the Application Pool again and see if it makes any difference.

    Cheers,

    Crac

  • Caractacus Downes 81 posts 314 karma points
    Nov 10, 2016 @ 16:20
    Caractacus Downes
    0

    Actually it has made a difference - the various .js files are now loading, so I'm not getting the dependency problem in quite the same way, but it still can't load merchello.plugins.

    Stupid question: I can find three references to 'merchello.plugins' in the site code (not the GitHub source, I guess I'll be looking at that next):

    App_Plugins\Merchello\js\merchello.module.js - lines 9 & 18

    // Bootstrap the Merchello angular module
    (function() {
        angular.module('merchello', [
            'umbraco.filters',
            'umbraco.directives',
            'umbraco.services',
            'merchello.filters',
            'merchello.directives',
            'merchello.plugins',
            'merchello.resources',
            'merchello.services'
        ]);
        angular.module('merchello.models', []);
        angular.module('merchello.filters', []);
        angular.module('merchello.directives', []);
        angular.module('merchello.resources', ['merchello.models']);
        angular.module('merchello.services', ['merchello.models']);
        angular.module('merchello.plugins', ['chart.js']);
        //// Inject our dependencies
        angular.module('umbraco.packages').requires.push('merchello');
    
    }());
    

    App_Plugins\MerchelloProviders\js\merchello.providers.module.js - line 14

    (function() {
        angular.module('merchello.providers',
            [
                'merchello.models',
                'merchello.services',
                'merchello.providers.models',
                'merchello.providers.directives',
                'merchello.providers.resources'
            ]);
    
        angular.module('merchello.providers.models', []);
        angular.module('merchello.providers.directives', []);
        angular.module('merchello.providers.resources', ['merchello.providers.models']);
        angular.module('merchello.plugins').requires.push('merchello.providers');
    }());
    

    In each case this is declaring an angular module. Should there not be a merchello.plugins.js file somewhere, or is that too simplistic an understanding of how this works?

    Cheers,

    Crac

  • Caractacus Downes 81 posts 314 karma points
    Nov 10, 2016 @ 17:20
    Caractacus Downes
    0

    I'm not sure yet, as it's taking forever to load, but I think the problem may have been that the lazyload js files were loading in the wrong order - the MerchelloProviders js files were loading into the backoffice head above the Merchello ones, which I guess might cause dependency problems.

    At the moment I've done a hack to check this, moving the MerchelloProviders js files into the package manifest for Merchello to make sure they load in the right order.

    Unfortunately this is taking a very long time to load, which I suspect is a hosting issue rather than anything to do with Umbraco or Merchello.

    Does any of this sound plausible? If so, why would the package manifest files process in the wrong order?

    Cheers,

    Crac

  • Rusty Swayne 1655 posts 4993 karma points c-trib
    Nov 10, 2016 @ 17:30
    Rusty Swayne
    0

    The providers has to load after Merchello - so that part makes sense, but I've never seen that not happening as long as the folders are in alpha order (which is why it is named Merchello.Providers).

    I have been looking at moving the providers back into the Merchello app_plugins folder. They were separated when we started moving plugin providers into the core where we were uncertain whether or not people would view that as a good move (so we wanted to make them very easy to remove). However, the consensus seems to be that having the providers in the core is a good thing.

  • Caractacus Downes 81 posts 314 karma points
    Nov 11, 2016 @ 10:25
    Caractacus Downes
    0

    The hack does seem to have fixed the problem. It does seem odd that it was loading in the wrong order, but it was doing so consistently. I haven't renamed any folders or anything like that.

    My hosting does seem to be having some overall performance problems, I think related to the other sites on the same server (my client wouldn't stump up for a VPS, so it is a shared solution). Does the lazyload process queue multiple things in a way that could result in them loading out of sequence?

    Cheers,

    Crac

  • Rusty Swayne 1655 posts 4993 karma points c-trib
    Nov 11, 2016 @ 19:09
    Rusty Swayne
    0

    Sorry Crac,

    I honestly have not looked very closely at the way Umbraco is lazy loading the package files. How many packages do you have in the solution?

  • Caractacus Downes 81 posts 314 karma points
    Nov 14, 2016 @ 09:39
    Caractacus Downes
    0

    Hi,

    Only Merchello (and FastTrack), so nothing that should cause the system undue stress.

    I think there's a more serious underlying problem with my set up / hosting / somthing - I've jsut identified another back office problem, not Merchello retlated - the back office falls over when I try to sort nodes. I'll investigate a bit and then post a general Umbraco request if I don't get anywhere.

    Thanks for all your help.

    Cheers,

    Crac

Please Sign in or register to post replies

Write your reply to:

Draft