Results 1 to 10 of 3052

Hybrid View

  1. #1
    Join Date
    Oct 2005
    Location
    Chicago, IL USA
    Posts
    1,587
    Plugin Contributions
    29

    Default Re: One-Page Checkout [Support Thread]

    I'm following up on a post from several weeks ago. Client just approved installing the current version. I have 2.3.8 installed and getting the same error I was before when clicking update for the address section in guest checkout:

    setFormSubmitButton, payment-module: null
    jquery.checkout_one.js?1618668915:54 Showing "confirm"
    jquery.checkout_one.js?1618668915:54 Setting orderConfirmed (0), submitter (null)
    jquery.checkout_one.js?1618668915:54 jQuery version: 1.7.1
    jquery.checkout_one.js?1618668915:54 saveCustomerInfo, starts ...
    index.php?main_page=checkout_one:58 {cache: false, type: "POST", traditional: true, dataType: "json", timeout: 5000,##…}
    jquery.checkout_one.js?1618668915:998 Uncaught TypeError: Cannot read property 'length' of null
    at Object.<anonymous> (jquery.checkout_one.js?1618668915:998)
    at n (jscript__jquery.min.js:2)
    at Object.fireWith (jscript__jquery.min.js:2)
    at Object.fire [as resolve] (jscript__jquery.min.js:2)
    at Object.success (index.php?main_page=checkout_one:66)
    at n (jscript__jquery.min.js:2)
    at Object.fireWith [as resolveWith] (jscript__jquery.min.js:2)
    at w (jscript__jquery.min.js:4)
    at XMLHttpRequest.d (jscript__jquery.min.js:4)

    Zen Cart 1.5.7a
    PHP 7.2

    I did copy the one extra file in /includes/modules/pages/checkout_payment to /includes/modules/pages/checkout_one. It was: jscript_double_submit.php

  2. #2
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    13,942
    Plugin Contributions
    96

    Default Re: One-Page Checkout [Support Thread]

    Quote Originally Posted by jeking View Post
    I'm following up on a post from several weeks ago. Client just approved installing the current version. I have 2.3.8 installed and getting the same error I was before when clicking update for the address section in guest checkout:

    setFormSubmitButton, payment-module: null
    jquery.checkout_one.js?1618668915:54 Showing "confirm"
    jquery.checkout_one.js?1618668915:54 Setting orderConfirmed (0), submitter (null)
    jquery.checkout_one.js?1618668915:54 jQuery version: 1.7.1
    jquery.checkout_one.js?1618668915:54 saveCustomerInfo, starts ...
    index.php?main_page=checkout_one:58 {cache: false, type: "POST", traditional: true, dataType: "json", timeout: 5000,##…}
    jquery.checkout_one.js?1618668915:998 Uncaught TypeError: Cannot read property 'length' of null
    at Object.<anonymous> (jquery.checkout_one.js?1618668915:998)
    at n (jscript__jquery.min.js:2)
    at Object.fireWith (jscript__jquery.min.js:2)
    at Object.fire [as resolve] (jscript__jquery.min.js:2)
    at Object.success (index.php?main_page=checkout_one:66)
    at n (jscript__jquery.min.js:2)
    at Object.fireWith [as resolveWith] (jscript__jquery.min.js:2)
    at w (jscript__jquery.min.js:4)
    at XMLHttpRequest.d (jscript__jquery.min.js:4)

    Zen Cart 1.5.7a
    PHP 7.2

    I did copy the one extra file in /includes/modules/pages/checkout_payment to /includes/modules/pages/checkout_one. It was: jscript_double_submit.php
    You need to upgrade to a now-extant version of jQuery. Current version is 3.6.0; zc157c ships with 3.5.1.

  3. #3
    Join Date
    Oct 2005
    Location
    Chicago, IL USA
    Posts
    1,587
    Plugin Contributions
    29

    Default Re: One-Page Checkout [Support Thread]

    Quote Originally Posted by lat9 View Post
    You need to upgrade to a now-extant version of jQuery. Current version is 3.6.0; zc157c ships with 3.5.1.
    We had tried that when OPC was 2.3.4 and still got this error. I've updated the site to 3.5.1 and get the same error:

    jquery.checkout_one.js?1618668915:54 setFormSubmitButton, payment-module: null
    jquery.checkout_one.js?1618668915:54 Showing "confirm"
    jquery.checkout_one.js?1618668915:54 Setting orderConfirmed (0), submitter (null)
    jquery.checkout_one.js?1618668915:54 jQuery version: 3.5.1
    jquery.checkout_one.js?1618668915:54 saveCustomerInfo, starts ...
    index.php?main_page=checkout_one:56 {cache: false, type: "POST", traditional: true, dataType: "json", timeout: 5000,##…}
    jquery.checkout_one.js?1618668915:998 Uncaught TypeError: Cannot read property 'length' of null
    at jquery.checkout_one.js?1618668915:998
    at c (jscript_jquery.min.js:2)
    at Object.fireWith [as resolveWith] (jscript_jquery.min.js:2)
    at Object.s.<computed> [as resolve] (jscript_jquery.min.js:2)
    at Object.success (index.php?main_page=checkout_one:64)
    at c (jscript_jquery.min.js:2)
    at Object.fireWith [as resolveWith] (jscript_jquery.min.js:2)
    at l (jscript_jquery.min.js:2)
    at XMLHttpRequest.<anonymous> (jscript_jquery.min.js:2)

    Just noticed I'm using the minified. Do you need the unminified to get the right line numbers?

  4. #4
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    13,942
    Plugin Contributions
    96

    Default Re: One-Page Checkout [Support Thread]

    Quote Originally Posted by jeking View Post
    We had tried that when OPC was 2.3.4 and still got this error. I've updated the site to 3.5.1 and get the same error:

    jquery.checkout_one.js?1618668915:54 setFormSubmitButton, payment-module: null
    jquery.checkout_one.js?1618668915:54 Showing "confirm"
    jquery.checkout_one.js?1618668915:54 Setting orderConfirmed (0), submitter (null)
    jquery.checkout_one.js?1618668915:54 jQuery version: 3.5.1
    jquery.checkout_one.js?1618668915:54 saveCustomerInfo, starts ...
    index.php?main_page=checkout_one:56 {cache: false, type: "POST", traditional: true, dataType: "json", timeout: 5000,##…}
    jquery.checkout_one.js?1618668915:998 Uncaught TypeError: Cannot read property 'length' of null
    at jquery.checkout_one.js?1618668915:998
    at c (jscript_jquery.min.js:2)
    at Object.fireWith [as resolveWith] (jscript_jquery.min.js:2)
    at Object.s.<computed> [as resolve] (jscript_jquery.min.js:2)
    at Object.success (index.php?main_page=checkout_one:64)
    at c (jscript_jquery.min.js:2)
    at Object.fireWith [as resolveWith] (jscript_jquery.min.js:2)
    at l (jscript_jquery.min.js:2)
    at XMLHttpRequest.<anonymous> (jscript_jquery.min.js:2)

    Just noticed I'm using the minified. Do you need the unminified to get the right line numbers?
    Yes, unminified version will pinpoint where the issue is sourced.

  5. #5
    Join Date
    Oct 2005
    Location
    Chicago, IL USA
    Posts
    1,587
    Plugin Contributions
    29

    Default Re: One-Page Checkout [Support Thread]

    Thank you for the continued help. Here is the entire console log with the unminified 3.5.1

    jscript_jquery.js:10353 Uncaught TypeError: url.indexOf is not a function
    at jQuery.fn.init.jQuery.fn.load (jscript_jquery.js:10353)
    at jscript_menu_conf.js:91
    jQuery.fn.load @ jscript_jquery.js:10353
    (anonymous) @ jscript_menu_conf.js:91
    jquery.checkout_one.js?1618668915:54 setFormSubmitButton, payment-module: null
    jquery.checkout_one.js?1618668915:54 Showing "confirm"
    jquery.checkout_one.js?1618668915:54 Setting orderConfirmed (0), submitter (null)
    jquery.checkout_one.js?1618668915:54 jQuery version: 3.5.1
    jquery.checkout_one.js?1618668915:54 saveCustomerInfo, starts ...
    index.php?main_page=checkout_one:56 {cache: false, type: "POST", traditional: true, dataType: "json", timeout: 5000,##…}
    jquery.checkout_one.js?1618668915:998 Uncaught TypeError: Cannot read property 'length' of null
    at jquery.checkout_one.js?1618668915:998
    at fire (jscript_jquery.js:3496)
    at Object.fireWith [as resolveWith] (jscript_jquery.js:3626)
    at Object.deferred.<computed> [as resolve] (jscript_jquery.js:3964)
    at Object.success (index.php?main_page=checkout_one:64)
    at fire (jscript_jquery.js:3496)
    at Object.fireWith [as resolveWith] (jscript_jquery.js:3626)
    at done (jscript_jquery.js:9786)
    at XMLHttpRequest.<anonymous> (jscript_jquery.js:10047)
    (anonymous) @ jquery.checkout_one.js?1618668915:998
    fire @ jscript_jquery.js:3496
    fireWith @ jscript_jquery.js:3626
    deferred.<computed> @ jscript_jquery.js:3964
    success @ index.php?main_page=checkout_one:64
    fire @ jscript_jquery.js:3496
    fireWith @ jscript_jquery.js:3626
    done @ jscript_jquery.js:9786
    (anonymous) @ jscript_jquery.js:10047
    load (async)
    send @ jscript_jquery.js:10066
    ajax @ jscript_jquery.js:9682
    (anonymous) @ index.php?main_page=checkout_one:76
    Deferred @ jscript_jquery.js:3979
    zcJS.ajax @ index.php?main_page=checkout_one:42
    saveCustomerInfo @ jquery.checkout_one.js?1618668915:976
    saveBilling @ jquery.checkout_one.js?1618668915:734
    dispatch @ jscript_jquery.js:5429
    elemData.handle @ jscript_jquery.js:5233

  6. #6
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    13,942
    Plugin Contributions
    96

    Default Re: One-Page Checkout [Support Thread]

    Quote Originally Posted by jeking View Post
    Thank you for the continued help. Here is the entire console log with the unminified 3.5.1

    jscript_jquery.js:10353 Uncaught TypeError: url.indexOf is not a function
    at jQuery.fn.init.jQuery.fn.load (jscript_jquery.js:10353)
    at jscript_menu_conf.js:91

    jQuery.fn.load @ jscript_jquery.js:10353
    (anonymous) @ jscript_menu_conf.js:91
    jquery.checkout_one.js?1618668915:54 setFormSubmitButton, payment-module: null
    jquery.checkout_one.js?1618668915:54 Showing "confirm"
    jquery.checkout_one.js?1618668915:54 Setting orderConfirmed (0), submitter (null)
    jquery.checkout_one.js?1618668915:54 jQuery version: 3.5.1
    jquery.checkout_one.js?1618668915:54 saveCustomerInfo, starts ...
    index.php?main_page=checkout_one:56 {cache: false, type: "POST", traditional: true, dataType: "json", timeout: 5000,##…}
    jquery.checkout_one.js?1618668915:998 Uncaught TypeError: Cannot read property 'length' of null
    at jquery.checkout_one.js?1618668915:998
    at fire (jscript_jquery.js:3496)
    at Object.fireWith [as resolveWith] (jscript_jquery.js:3626)
    at Object.deferred.<computed> [as resolve] (jscript_jquery.js:3964)
    at Object.success (index.php?main_page=checkout_one:64)
    at fire (jscript_jquery.js:3496)
    at Object.fireWith [as resolveWith] (jscript_jquery.js:3626)
    at done (jscript_jquery.js:9786)
    at XMLHttpRequest.<anonymous> (jscript_jquery.js:10047)
    (anonymous) @ jquery.checkout_one.js?1618668915:998
    fire @ jscript_jquery.js:3496
    fireWith @ jscript_jquery.js:3626
    deferred.<computed> @ jscript_jquery.js:3964
    success @ index.php?main_page=checkout_one:64
    fire @ jscript_jquery.js:3496
    fireWith @ jscript_jquery.js:3626
    done @ jscript_jquery.js:9786
    (anonymous) @ jscript_jquery.js:10047
    load (async)
    send @ jscript_jquery.js:10066
    ajax @ jscript_jquery.js:9682
    (anonymous) @ index.php?main_page=checkout_one:76
    Deferred @ jscript_jquery.js:3979
    zcJS.ajax @ index.php?main_page=checkout_one:42
    saveCustomerInfo @ jquery.checkout_one.js?1618668915:976
    saveBilling @ jquery.checkout_one.js?1618668915:734
    dispatch @ jscript_jquery.js:5429
    elemData.handle @ jscript_jquery.js:5233
    The highlighted script has polluted the jQuery/javascript pool.

  7. #7
    Join Date
    Oct 2005
    Location
    Chicago, IL USA
    Posts
    1,587
    Plugin Contributions
    29

    Default Re: One-Page Checkout [Support Thread]

    I've removed that file but still getting the same error:

    jquery.checkout_one.js?1618668915:54 setFormSubmitButton, payment-module: null
    jquery.checkout_one.js?1618668915:54 Showing "confirm"
    jquery.checkout_one.js?1618668915:54 Setting orderConfirmed (0), submitter (null)
    jquery.checkout_one.js?1618668915:54 jQuery version: 3.5.1
    jquery.checkout_one.js?1618668915:54 saveCustomerInfo, starts ...
    index.php?main_page=checkout_one:55 Object
    jquery.checkout_one.js?1618668915:998 Uncaught TypeError: Cannot read property 'length' of null
    at jquery.checkout_one.js?1618668915:998
    at fire (jscript_jquery.js:3496)
    at Object.fireWith [as resolveWith] (jscript_jquery.js:3626)
    at Object.deferred.<computed> [as resolve] (jscript_jquery.js:3964)
    at Object.success (index.php?main_page=checkout_one:63)
    at fire (jscript_jquery.js:3496)
    at Object.fireWith [as resolveWith] (jscript_jquery.js:3626)
    at done (jscript_jquery.js:9786)
    at XMLHttpRequest.<anonymous> (jscript_jquery.js:10047)

 

 

Similar Threads

  1. Set number of products displayed per page (support thread)
    By yellow1912 in forum All Other Contributions/Addons
    Replies: 146
    Last Post: 2 Nov 2023, 12:50 AM
  2. v151 Banners In Main Page - Support Thread
    By stevesh in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 18 Sep 2021, 03:36 PM
  3. v151 Site Map/Page Not Found: Combined [Support Thread]
    By lat9 in forum All Other Contributions/Addons
    Replies: 7
    Last Post: 4 Jan 2016, 02:19 PM
  4. v151 PayPal Express Checkout Using NVP 84.0 [Support Thread]
    By lat9 in forum Addon Payment Modules
    Replies: 32
    Last Post: 28 Dec 2015, 04:54 PM
  5. Checkout Amazon Style -- Support Thread
    By CJPinder in forum All Other Contributions/Addons
    Replies: 72
    Last Post: 13 Apr 2011, 08:18 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg