News:

Looking for documentation? Take a look on our wiki

Main Menu

Add to cart is hanging

Started by jazz_mavericks, March 24, 2017, 01:28:05 AM

Previous topic - Next topic

jazz_mavericks

Newbie here, apologies if I come across as stupid, or if I have missed an answer previously given....

My site has suddenly started hanging as soon as you try to add an item to the cart. It worked fine until a week ago or so, and now it it just doesn't work.

My site is www.comicsandtoys.co.uk....

Can anyone help please?

Thanks in advance.

jenkinhill

#1
Kelvyn
Lowestoft, Suffolk, UK

Retired from forum life November 2023

Please mention your VirtueMart, Joomla and PHP versions when asking a question in this forum

GJC Web Design

XMLHttpRequest cannot load http://comicsandtoys.co.uk/index.php?option=com_virtuemart&nosef=1&view=cart&task=addJS&format=json&lang=en&Itemid=256. No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://www.comicsandtoys.co.uk' is therefore not allowed access.

in other words u need to force www on your site

normally done in the .htaccess with something like

RewriteCond %{HTTP_HOST} ^(comicsandtoys\.co\.uk)(:80)? [NC]
RewriteRule ^(.*) http://www.comicsandtoys.co.uk/$1 [R=301,L]
order deny,allow
GJC Web Design
VirtueMart and Joomla Developers - php developers https://www.gjcwebdesign.com
VM4 AusPost Shipping Plugin - e-go Shipping Plugin - VM4 Postcode Shipping Plugin - Radius Shipping Plugin - VM4 NZ Post Shipping Plugin - AusPost Estimator
Samport Payment Plugin - EcomMerchant Payment Plugin - ccBill payment Plugin
VM2 Product Lock Extension - VM2 Preconfig Adresses Extension - TaxCloud USA Taxes Plugin - Virtuemart  Product Review Component
https://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation