PrevPrev Go to previous topic
NextNext Go to next topic
Last Post 6/18/2020 12:44 PM by  Will Strohl
System.Web.Mvc Error in Category/Products Viewer
 13 Replies
 2 Subscribed to this topic
 1 Subscribed to this forum
Sort:
You are not authorized to post a reply.
Page 2 of 3 << < 123 > >>
Author Messages









--
3/19/2020 10:01 AM
I know i ran into this before when using DNN 7.4.2 upgraded to 9.3.2.

I re-created the site on a fresh copy of DNN 9.3.2 with the latest version of hotcakes and now i'm running into the same issue than before. I'm not using any custom code in the view's it's a straight out of the box install.





Veteran Member






--
3/20/2020 12:52 PM
I just did a clean install of DNN 9.3.2 and Hotcakes Commerce 3.2.3. I wasn't able to recreate this error when viewing the page with the Category Viewer Index.cshtml.

Is there a detail that I'm missing?
Will Strohl, Upendo Ventures Hotcakes Cloud | Get Support | Code Support Official Cloud & Support provider for Hotcakes









--
3/26/2020 9:38 AM
Hi Will,

The only thing i can think of is i'm using a custom skin, but I've switched the skin on just the page I've deployed to xcilion and i'm still getting the error. I don't understand because prior to doing this i installed on a fresh copy and didn't have any problems. I do have ActionForm installed and i know I've ran into it affecting other modules in the past but it's difficult to diagnose as i don't see any errors in the console just on the deployment of the category viewer module.

http://newgfs.qswebdev.us...tore/Category-Viewer









--
3/26/2020 9:01 PM
What code do you see before, at, and after the following line reported in your original post?

e:\inetpub\websites\greenfacilitysolution.com\Portals\_default\HotcakesViews\_default\Views\Category\Index.cshtml:line 40
Will Strohl, Upendo Ventures Hotcakes Cloud | Get Support | Code Support Official Cloud & Support provider for Hotcakes









--
3/27/2020 10:42 AM
@model Hotcakes.Modules.Core.Models.CategoryPageViewModel
@Html.Action("CategoryTrail", "BreadCrumb", new { cat = Model.LocalCategory })
<div class="hc-category">
@if (Model.LocalCategory.ShowTitle)
{
<h1>@Model.LocalCategory.Name</h1>
}
@Html.Action("Index", "ContentColumn", new { id = Model.LocalCategory.PreContentColumnId })
@Html.Partial("_Header", Model)
@if (Model.SubCategories.Count > 0)
{
<div class="hc-record-grid hc-subcategory-grid clearfix">
@foreach (var subcat in Model.SubCategories)
{
<div class="hc-wrap3">
<div class="hc-record">
<div class="hc-recimage">
<a href="@subcat.LinkUrl">
<img class="hc-autosize" src="@subcat.IconUrl" alt="@subcat.AltText" />
</a>
</div>
<div class="hc-recname">
<a href="@subcat.LinkUrl">@subcat.Name</a>
</div>
</div>
</div>
}
</div>
}
@Html.Partial("_Pager", Model.PagerData, new ViewDataDictionary { { "sortByList", Model.SortSelectList } })
<div class="hc-record-grid hc-product-grid clearfix">
@foreach (var item in Model.Products)
{
<div class="hc-wrap3">
@Html.Partial("_RenderSingleProduct", item)
</div>
}
</div>
@Html.Partial("_Pager", Model.PagerData)
@Html.Action("Index", "ContentColumn", new { id = Model.LocalCategory.PostContentColumnId })
</div>

You are not authorized to post a reply.
Page 2 of 3 << < 123 > >>


Loading
  • Sign-up for the Hotcakes Community Newsletter: