I’ve checked with 123reg about server config and server caching, they said that the caching wasnt handled on the server but could be due to caching plugins we are using (W3 Total Cache) or could be due to code in .htaccess file. the code he suggested i remove was between two of these – ## EXPIRES CACHING ## and is as follows:
<IfModule mod_expires.c>
ExpiresActive On
ExpiresByType image/jpg “access plus 1 month”
ExpiresByType image/jpeg “access plus 1 month”
ExpiresByType image/gif “access plus 1 month”
ExpiresByType image/png “access plus 1 month”
ExpiresByType text/css “access plus 1 month”
ExpiresByType application/pdf “access plus 1 month”
ExpiresByType text/x-javascript “access plus 1 month”
ExpiresByType application/x-shockwave-flash “access plus 1 month”
ExpiresByType image/x-icon “access plus 1 month”
ExpiresDefault “access plus 2 days”
removing this hasnt made any difference to the add to cart issue, and the W3 total cache plugin has been deactivated for a week or more now.
123reg customer support asked for recommended server settings for woocommerce to see if the server config was causing the issue, here is an extract from the support chat session:
Danny: (12:19): I have checked your hosting package and cURL and SOAP are enabled. You are using PHP version 5.6 and MySQL 5.1.73.
Danny: (12:20): Please allow me a few more moments to check fsockopen.
Danny: (12:22): fsockopen is also enabled.