News:

Looking for documentation? Take a look on our wiki

Main Menu

[SOLVED] Server 403 code instead of 200 in Safari

Started by d0ublezer0, February 05, 2019, 21:30:57 PM

Previous topic - Next topic

d0ublezer0

At this time, i found this bug only in Mac OS Safari and Mac OS Opera :
open any page from my website, for example:
https://mysite/catalogue/tanker/tech-cap/kpd-220-detail
click add to cart
you will see spinner, but nothing else happened

In Chrome, Firefox this action will add product to cart.
But on Safari and Opera in Mac OS  i found error.

Reason: Opera and Safari thinks that server answer is 403 instead of 200 (i think from console)
But if we open page, that raised 403 error:
https://mysite/index.php?option=com_virtuemart&nosef=1&view=cart&task=addJS&format=json&lang=ru&Itemid=732
we found 200 server code

So, that is the question: is the server-specific error, or virtuemart?

GJC Web Design

As u say ... the response on all browsers I have access to is a 200

as the response is normally server based I don't see how this is a VM issue ..  OS browser->server problem .. but have no Apple so I suggest u do some simple php script tests from apple browsers
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

d0ublezer0

#2
I found this issue only on Apple. tested with iMac, MacBook and iPhone.
Safari and Opera raises 403 error when send POST ajax request (add to cart) to url:
https://mysite/index.php?option=com_virtuemart&nosef=1&view=cart&task=addJS&format=json&lang=ru&Itemid=732
Opening this url without POST request not raises error, i get code 200 (ok).

Chrome and Firefox for macOS and iOS not raise error.
I'm a little confused. What to do?

d0ublezer0

RSFirewall created a problem: after it was turned off, everything worked as it should.