Forum

The forum is a free service supported by community members. Please consider opening a support ticket if you need timely help.

PrevPrev Go to previous topic
NextNext Go to next topic
Last Post 27 Jul 2022 03:06 PM by  Steve L
Checkout page is sometime blank
 3 Replies
Sort:
You are not authorized to post a reply.
Author Messages


New Member


Posts:19
New Member


--
25 Jul 2022 01:09 PM

    Checkout page is sometimes blank (except for the word Checkout/header). Sometimes it works. Cant recreate it consistently.

    DNN Admin log below.
    Using 17.14

    Thanks. Fred

    AbsoluteURL:/Default.aspx

    DefaultDataProvider:DotNetNuke.Data.SqlDataProvider, DotNetNuke

    ExceptionGUID:abc3a9ff-485c-4ebc-991a-76744dd36964

    AssemblyVersion:

    PortalId:-1

    UserId:-1

    TabId:-1

    RawUrl:

    Referrer:

    UserAgent:

    ExceptionHash:rCVkiHtnISqyz46Q+R821wybDTk=

    Message:Unknown error occurred requesting URL at /Checkout.aspx from user agent Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/103.0.5060.114 Safari/537.36 Edg/103.0.1264.62

    StackTrace:

    at Revindex.Dnn.RevindexStorefront.Views.CheckoutWebViewPage.InitializePage() at System.Web.WebPages.WebPageBase.PushContext(WebPageContext pageContext, TextWriter writer) at System.Web.WebPages.WebPageBase.ExecutePageHierarchy(WebPageContext pageContext, TextWriter writer, WebPageRenderingBase startPage) at DotNetNuke.Web.Razor.RazorEngine.Render(TextWriter writer)

     

    InnerMessage:Value cannot be null. Parameter name: g

    InnerStackTrace:

    at System.Guid..ctor(String g) at Revindex.Dnn.RevindexStorefront.Views.CheckoutWebViewPage.InitializePage()

     

    Source:Revindex.Dnn.RevindexStorefront

    FileName:

    FileLineNumber:0

    FileColumnNumber:0

    Method:

    Server Name: {removed}

    0


    Veteran Member


    Posts:2937
    Veteran Member


    --
    25 Jul 2022 04:15 PM

    Hi Fred

    The error says: Value cannot be null. Parameter name: g

    If you're using a custom display template, please check your custom code for anywhere it's trying to read a parameter "g" and see if it's properly handling a null value? 

     

    0


    New Member


    Posts:19
    New Member


    --
    25 Jul 2022 06:49 PM

    Good thought, but same happens with the unmodified StandardSingleStep and StandardMuliStep templates.  And i cant find any parameter g in the template.

    This abbreviated entry seems significant:

    System.Guid..ctor(String g)

    I assumes its parts of the store code not accessible to me.

    0


    Veteran Member


    Posts:2937
    Veteran Member


    --
    27 Jul 2022 03:06 PM

    FYI for other readers.

    The issue is the site was not properly configured to retain the user on the same domain alias. The user arrived on www.site.com/cart and then moved to site.com/checkout (note the missing "www"). As such, the browser did not sent the same cookies causing the blank checkout.

    The easy solution is to always ensure a consistent navigation. Under persona bar, Settings > Site Settings, in the Site Aliases, make sure the Site Alias Mapping Mode should be set to Canonical or Redirect. The default is Canonical.

    I hope this helps anyone else having the same issue.

     

    0
    You are not authorized to post a reply.