Viewing 15 replies - 31 through 45 (of 54 total)
  • Thread Starter simon m123

    (@simon-m123)

    Here is the system report

    ### WordPress Environment ###

    Home URL: https://www.ntdeals.co.uk
    Site URL: https://www.ntdeals.co.uk
    WC Version: 2.5.1
    Log Directory Writable: ? /websites/123reg/LinuxPackage23/ba/th/_k/bath-king.co.uk/public_html/wp-content/uploads/sites/5/wc-logs/
    WP Version: 4.4.1
    WP Multisite: ?
    WP Memory Limit: 256 MB
    WP Debug Mode: –
    Language: en_US

    ### Server Environment ###

    Server Info: Apache
    PHP Version: 5.6.17
    PHP Post Max Size: 8 MB
    PHP Time Limit: 30
    PHP Max Input Vars: 1000
    SUHOSIN Installed: –
    MySQL Version: 5.5.33
    Max Upload Size: 1 MB
    Default Timezone is UTC: ?
    fsockopen/cURL: ?
    SoapClient: ?
    DOMDocument: ?
    GZip: ?
    Multibyte String: ?
    Remote Post: ?
    Remote Get: ?

    ### Database ###

    WC Database Version: 2.5.1
    :
    woocommerce_sessions: ?
    woocommerce_api_keys: ?
    woocommerce_attribute_taxonomies: ?
    woocommerce_termmeta: ?
    woocommerce_downloadable_product_permissions: ?
    woocommerce_order_items: ?
    woocommerce_order_itemmeta: ?
    woocommerce_tax_rates: ?
    woocommerce_tax_rate_locations: ?

    ### Active Plugins (3) ###

    WooCommerce Colors: by WooThemes – 1.0.6
    WooCommerce: by WooThemes – 2.5.1
    WordPress MU Domain Mapping: by Donncha O Caoimh – 0.5.5.1
    WordPress MU Domain Mapping: by Donncha O Caoimh – 0.5.5.1
    WooCommerce Colors: by WooThemes – 1.0.6

    ### Settings ###

    Force SSL: –
    Currency: GBP (£)
    Currency Position: left
    Thousand Separator: ,
    Decimal Separator: .
    Number of Decimals: 2

    ### API ###

    API Enabled: ?
    API Version: 3.1.0

    ### WC Pages ###

    Shop Base: #7 – /shop/
    Cart: #8 – /cart/
    Checkout: #9 – /checkout/
    My Account: #10 – /my-account/

    ### Taxonomies ###

    Product Types: external (external)
    grouped (grouped)
    simple (simple)
    variable (variable)

    ### Theme ###

    Name: Headway Base
    Version: 3.8.6
    Author URL: https://www.headwaythemes.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: –

    I dont get anything showing at all in the server error logs on 123reg. I will contact them again about the varnish or other server caching. I cant see anything in wpconfig that looks like its related to cookies.

    Plugin Contributor Mike Jolley

    (@mikejolley)

    I wonder if its related to multisite and your domain mapping, affecting cookies. I’ll get a multisite working local and have a go.

    Thread Starter simon m123

    (@simon-m123)

    Thanks Mike, I really appreciate your help with this

    Plugin Contributor Mike Jolley

    (@mikejolley)

    Works locally. No issues on sub-sites. I’m not using domain mapping though.

    Rules out cookies by going to https://www.ntdeals.co.uk/cart/?add-to-cart=209 which adds to cart and sets cookie as intended.

    So looks like before it redirects to the cart page, its not saving the data or setting the cookies.

    Turn off the ‘cart’ redirect in settings and lets see what happens.

    Thread Starter simon m123

    (@simon-m123)

    ok, turned off

    Plugin Contributor Mike Jolley

    (@mikejolley)

    So I see cookies being set via the ajax add to cart action, and cookies remain set if I refresh the category page, but cookies are NOT set on the cart page.

    It’s like I’m seeing cached output for sure.

    Thread Starter simon m123

    (@simon-m123)

    I checked with 123reg again to see if they were running any caching software at all, they say they aren’t and think it might be due to w3 total cache. This is currently disabled, and I think you suggested switching everything off on it and then disabling, which I did previously. I could try uninstalling W3 cache, do you think that’s worth a try?

    Plugin Contributor Mike Jolley

    (@mikejolley)

    Enable w3 total cache
    Disable all features in its settings page.
    Then disable w3 total cache.
    Clean up any cache files in wp-content, your wp-config file, and .htaccess

    I am working with multisite too.
    The SQL issue must showup in apache error log. Try to deactivate/reactivate the plugin anyway just to be sure.

    Thread Starter simon m123

    (@simon-m123)

    Ok, Have just switched on w3 cache and disabled all features, then disabled w3 cache. There were no cache files i could see on wp-config or .htaccess but the cache folder was in wp-content so I deleted it again.

    And it works?

    Thread Starter simon m123

    (@simon-m123)

    Sorry, no, still the same problem

    Did Woocommerce before 2.5 worked for you?

    Thread Starter simon m123

    (@simon-m123)

    Im not sure, we havent sold anything on the site yet, this may be due to this problem but I couldnt say that for sure. I dont know exactly when this add to cart issue started.

    Plugin Contributor Mike Jolley

    (@mikejolley)

    No good.

    This is different to my install:

    https://dl.dropboxusercontent.com/s/5a0attrcuyn5fyx/2016-01-29%20at%2015.52.png?dl=0

    What does this?

    Did you tell the host cookies set on the shop page but are gone on cart page?

    If you cannot work it out with the host, DM me on twitter access (FTP) and Ill mess about. @mikejolley but no promises as it looks hosting related.

Viewing 15 replies - 31 through 45 (of 54 total)
  • The topic ‘add to cart problem’ is closed to new replies.