• Resolved ckitaura

    (@ckitaura)


    Hi,

    I updated to WooCommerce 3.0.1 and now the checkout function on my site doesn’t load. As others have described, it endlessly loads and I see this in my Javascript developer console:

    jquery.js:2 POST https://bloomsubscription.com/checkout/?wc-ajax=update_order_review 403 ()
    send @ jquery.js:2
    ajax @ jquery.js:2
    update_checkout_action @ checkout.min.js:1

    I’ve tried switching to the default WooCommerce storefront theme, and uninstalling WooCommerce and installing it again. Neither fixed it. I also tried repairing the WP tables as described here: https://www.maketecheasier.com/fix-corrupted-wordpress-database-2/

    Also, when I try to go to permalinks and hit “save,” it brings me to a 404 page and shows this error in the javascript console:

    options-permalink.php?wc-ajax=get_refreshed_fragments Failed to load resource: the server responded with a status of 404 ()
    options-permalink.php Failed to load resource: the server responded with a status of 404 ()

    I tried switching to the default Twenty Seventeen theme, and the permalinks error still happens.

    I contacted my hosting provider and this was their response:

    We have tested the checkout section of your website and faced the same issue on our side.
    Also, we have checked server error logs and php error logs.
    There were no error logs on server side, however we have found one in your account here: bloomsubscription.com/error_log
    Here is the exact log:
    [08-Apr-2017 19:29:49 UTC] The The "woocommerce_get_price" hook uses out of date data structures and function is deprecated since version 3.0.1. Replace with woocommerce_product_get_price.
    
    We suggest re-installing this plugin in order to resolve this issue.

    Here is my system report:

    
    ### WordPress Environment ###
    
    Home URL: https://bloomsubscription.com
    Site URL: https://bloomsubscription.com
    WC Version: 3.0.1
    Log Directory Writable: ?
    WP Version: 4.7.3
    WP Multisite: –
    WP Memory Limit: 256 MB
    WP Debug Mode: –
    WP Cron: ?
    Language: en_US
    
    ### Server Environment ###
    
    Server Info: Apache
    PHP Version: 5.6.30
    PHP Post Max Size: 32 MB
    PHP Time Limit: 30
    PHP Max Input Vars: 1000
    cURL Version: 7.36.0
    OpenSSL/1.0.1e
    
    SUHOSIN Installed: –
    MySQL Version: ? 5.5.32 - We recommend a minimum MySQL version of 5.6. See: WordPress requirements
    Max Upload Size: 32 MB
    Default Timezone is UTC: ?
    fsockopen/cURL: ?
    SoapClient: ?
    DOMDocument: ?
    GZip: ?
    Multibyte String: ?
    Remote Post: ?
    Remote Get: ?
    
    ### Database ###
    
    WC Database Version: 3.0.1
    WC Database Prefix: wpun_
    woocommerce_sessions: ?
    woocommerce_api_keys: ?
    woocommerce_attribute_taxonomies: ?
    woocommerce_downloadable_product_permissions: ?
    woocommerce_order_items: ?
    woocommerce_order_itemmeta: ?
    woocommerce_tax_rates: ?
    woocommerce_tax_rate_locations: ?
    woocommerce_shipping_zones: ?
    woocommerce_shipping_zone_locations: ?
    woocommerce_shipping_zone_methods: ?
    woocommerce_payment_tokens: ?
    woocommerce_payment_tokenmeta: ?
    
    ### Security ###
    
    Secure connection (HTTPS): ?
    Hide errors from visitors: ?
    
    ### Active Plugins (1) ###
    
    WooCommerce: by Automattic – 3.0.1
    
    ### Settings ###
    
    API Enabled: ?
    Force SSL: ?
    Currency: USD ($)
    Currency Position: left
    Thousand Separator: ,
    Decimal Separator: .
    Number of Decimals: 2
    Taxonomies: Product Types: external (external)
    grouped (grouped)
    simple (simple)
    variable (variable)
    wsspg_subscription (wsspg_subscription)
    
    ### WC Pages ###
    
    Shop base: ? Page visibility should be public
    Cart: #18 - /cart/
    Checkout: #19 - /checkout/
    My account: #20 - /my-account/
    
    ### Theme ###
    
    Name: Azera Shop
    Version: 1.1.7
    Author URL: https://themeisle.com/
    Child Theme: ? – If you're modifying WooCommerce on a parent theme you didn't build personally
    then we recommend using a child theme. See: How to create a child theme
    
    WooCommerce Support: ?
    
    ### Templates ###
    
    Overrides: –
    
    • This topic was modified 7 years, 7 months ago by ckitaura.
Viewing 1 replies (of 1 total)
  • Thread Starter ckitaura

    (@ckitaura)

    SOLVED: I asked my host if I could be having the same ModSecurity problems others in this forum have reported, and they responded:

    We have found two mod_security rules triggered on the server which seem to cause the issue and whitelisted them. Please check once again if you still get any errors. If yes, please provide a step-by-step instruction of your actions so that we reproduce the error(s) on our end and investigate the issue deeper.

    My site now appears to be working as normal.

Viewing 1 replies (of 1 total)
  • The topic ‘Checkout won’t load – endless spinning icon (wc-ajax 403)’ is closed to new replies.