Page 202 of 207 FirstFirst ... 102152192200201202203204 ... LastLast
Results 2,011 to 2,020 of 2067
  1. #2011
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    10,514
    Plugin Contributions
    78

    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.

  2. #2012
    Join Date
    Oct 2005
    Location
    Chicago, IL USA
    Posts
    1,478
    Plugin Contributions
    28

    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

  3. #2013
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    10,514
    Plugin Contributions
    78

    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.

  4. #2014
    Join Date
    Oct 2005
    Location
    Chicago, IL USA
    Posts
    1,478
    Plugin Contributions
    28

    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)

  5. #2015
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    10,514
    Plugin Contributions
    78

    Default Re: One-Page Checkout [Support Thread]

    Quote Originally Posted by jeking View Post
    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)
    Jim, send a link to the site to my direct email.

  6. #2016
    Join Date
    Nov 2005
    Posts
    494
    Plugin Contributions
    6

    Default Re: One-Page Checkout [Support Thread]

    Zen Cart 1.5.7b
    OPC 2.3.7-beta2 (2021-01-17)
    PHP Version: 7.1.33
    Shipping modules used: Storepickup, Advanced Shipper

    Any suggestions as to why this message is frequently displayed when going through checkout?

    "It's taking a little longer than normal to update your order's shipping cost. Please close this message and try again. If you continue to receive this message, please contact us."

    Sometimes it has to be closed 2 or 3 times before you can actually complete checkout.

  7. #2017
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    10,514
    Plugin Contributions
    78

    Default Re: One-Page Checkout [Support Thread]

    Quote Originally Posted by strelitzia View Post
    Zen Cart 1.5.7b
    OPC 2.3.7-beta2 (2021-01-17)
    PHP Version: 7.1.33
    Shipping modules used: Storepickup, Advanced Shipper

    Any suggestions as to why this message is frequently displayed when going through checkout?

    "It's taking a little longer than normal to update your order's shipping cost. Please close this message and try again. If you continue to receive this message, please contact us."

    Sometimes it has to be closed 2 or 3 times before you can actually complete checkout.
    That's the result of having a 'number of' shipping modules (e.g. USPS, UPS and FedEx) where the quote-generation latency gets long. You can control the timeout via configuration of the Update Shipping AJAX Time-out setting (defaults to 5 seconds, which is a ton of time).

  8. #2018
    Join Date
    Nov 2005
    Posts
    494
    Plugin Contributions
    6

    Default Re: One-Page Checkout [Support Thread]

    Quote Originally Posted by lat9 View Post
    That's the result of having a 'number of' shipping modules (e.g. USPS, UPS and FedEx) where the quote-generation latency gets long. You can control the timeout via configuration of the Update Shipping AJAX Time-out setting (defaults to 5 seconds, which is a ton of time).

    The shipping isn't using ANY external shipping methods. They are all methods set within Advanced Shipper for specific locations, weights, and order values. I don't really understand why it's doing this as the shipping cost is displayed next to the various checkboxes as soon as you get to checkout. There is no delay in the method cost being displayed on screen.

  9. #2019
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    10,514
    Plugin Contributions
    78

    Default Re: One-Page Checkout [Support Thread]

    Quote Originally Posted by strelitzia View Post
    The shipping isn't using ANY external shipping methods. They are all methods set within Advanced Shipper for specific locations, weights, and order values. I don't really understand why it's doing this as the shipping cost is displayed next to the various checkboxes as soon as you get to checkout. There is no delay in the method cost being displayed on screen.
    That's bizarre. Are there a ton of logs being generated?

  10. #2020
    Join Date
    Nov 2005
    Posts
    494
    Plugin Contributions
    6

    Default Re: One-Page Checkout [Support Thread]

    I'm seeing instances of this in the log directory, although I don't yet know if that is being generated at the same time as the Ajax timeout occurs
    PHP Notice: Malformed value for session-based shipping module; customer will need to re-select: false in /home/mysite/public_html/includes/classes/order.php on line 323
    I recall reading that others have experienced this error log and it may be a ZC bug?

    Also seeing a few instances of this:

    [26-Apr-2021 16:44:22 Europe/London] Request URI: /ajax.php?act=ajaxOnePageCheckout&method=updateShipping, IP address: 79.66.5.148
    #1 trigger_error() called at [/home/mysite/public_html/includes/classes/OnePageCheckout.php:1361]
    #2 OnePageCheckout->inputPreCheck() called at [/home/mysite/public_html/includes/classes/OnePageCheckout.php:903]
    #3 OnePageCheckout->validateBilltoSendto() called at [/home/mysite/public_html/includes/classes/ajax/zcAjaxOnePageCheckout.php:61]
    #4 zcAjaxOnePageCheckout->updateShipping() called at [/home/mysite/public_html/ajax.php:85]
    --> PHP Fatal error: Invalid request, tempAddressValues not set. in /home/mysite/public_html/includes/classes/OnePageCheckout.php on line 1361.

    And this:
    [31-May-2021 12:14:02 UTC] PHP Fatal error: Uncaught Error: Call to a member function isLoggedIn() on null in /home/mysite/public_html/includes/classes/observers/class.checkout_one_observer.php:341
    Stack trace:
    #0 /home/mysite/public_html/includes/classes/class.base.php(118): checkout_one_observer->update(Object(notifier), 'NOTIFY_ZEN_IS_L...', '', false, NULL, NULL, NULL, NULL, NULL, NULL, NULL)
    #1 /home/mysite/public_html/includes/functions/functions_customers.php(275): base->notify('NOTIFY_ZEN_IS_L...', '', false)
    #2 /home/mysite/public_html/includes/templates/jsweb/common/html_header.php(156): zen_is_logged_in()
    #3 /home/mysite/public_html/index.php(42): require('/home/balloonm/...')
    #4 {main}
    thrown in /home/mysite/public_html/includes/classes/observers/class.checkout_one_observer.php on line 341

 

 

Similar Threads

  1. v151 Banners In Main Page - Support Thread
    By stevesh in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 10 May 2016, 10:34 PM
  2. 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
  3. 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
  4. Set number of products displayed per page (support thread)
    By yellow1912 in forum All Other Contributions/Addons
    Replies: 145
    Last Post: 11 Nov 2015, 07:06 AM
  5. Checkout Amazon Style -- Support Thread
    By CJPinder in forum All Other Contributions/Addons
    Replies: 72
    Last Post: 13 Apr 2011, 08:18 PM

Bookmarks

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
Zen-Cart, Internet Selling Services, Klamath Falls, OR