VirtueMart Forum

VirtueMart 2 + 3 + 4 => General Questions => Topic started by: gsstephens on June 22, 2015, 19:24:47 PM

Title: need some one to test
Post by: gsstephens on June 22, 2015, 19:24:47 PM
I have a site www.coastal-arms.com  I am having a major issue.  When someone try's to add something to the cart it just sits and spins.

this is my setup:

System Information
Setting   Value

PHP Built On   Linux vps.bigmonster.biz 2.6.32-504.12.2.el6.x86_64 #1 SMP Wed Mar 11 22:03:14 UTC 2015 x86_64
Database Version   5.5.44-MariaDB
Database Collation   utf8_general_ci
PHP Version   5.4.39
Web Server   Apache
WebServer to PHP Interface   apache2handler
Joomla! Version   Joomla! 3.4.1 Stable [ Ember ] 21-March-2015 20:30 GMT
Joomla! Platform Version   Joomla Platform 13.1.0 Stable [ Curiosity ] 24-Apr-2013 00:00 GMT
User Agent   Mozilla/5.0 (Macintosh; Intel Mac OS X 10_10_4) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/43.0.2357.124 Safari/537.36

Virtemart: 3.0.8

feel free to skype me at: gsstephens
Title: Re: need some one to test
Post by: Spiros Petrakis on June 22, 2015, 20:41:08 PM
Hi ,

i see that when i browse the pages as
https://coastal-arms.com/index.php/tac/ddm4v1-detail 

without the www everything works fine but if i add the www
https://www.coastal-arms.com/index.php/tac/ddm4v1-detail

then the add to cart does not work because the ajax fails, please check

1) your http to https redirects
2) if you have set in configuration.php file of joomla the $live_site
Title: Re: need some one to test
Post by: Studio 42 on June 22, 2015, 20:59:38 PM
error is : No 'Access-Control-Allow-Origin' header is present on the requested
try to add in .htaccess:
Quote<IfModule mod_headers.c>
    Header set Access-Control-Allow-Origin https://www.coastal-arms.com
    Header set Access-Control-Allow-Origin https://coastal-arms.com
    Header set Access-Control-Allow-Origin http://www.coastal-arms.com
    Header set Access-Control-Allow-Origin http://coastal-arms.com
</IfModule>

P.S:Restart the server

ON looking your site, i have see you have many other little thinks to change, as the poor SEO link to article license, some CSS for -/+ buttons ...
Title: Re: need some one to test
Post by: gsstephens on June 22, 2015, 21:27:57 PM
Quote from: Studio 42 on June 22, 2015, 20:59:38 PM
error is : No 'Access-Control-Allow-Origin' header is present on the requested
try to add in .htaccess:
Quote<IfModule mod_headers.c>
    Header set Access-Control-Allow-Origin https://www.coastal-arms.com
    Header set Access-Control-Allow-Origin https://coastal-arms.com
    Header set Access-Control-Allow-Origin http://www.coastal-arms.com
    Header set Access-Control-Allow-Origin http://coastal-arms.com
</IfModule>

P.S:Restart the server

ON looking your site, i have see you have many other little thinks to change, as the poor SEO link to article license, some CSS for -/+ buttons ...

I was just working on the -/+ was trying to completly remove them but am having a bad time figuring it out.  Any suggestion would be great.