Post by zoom » Thu Jan 31, 2019 5:06 pm

When the product is added to the shopping basket, an error appears

What is the solution to this problem and the steps to solve?

Image

Active Member

Posts

Joined
Mon Dec 27, 2010 8:46 am

Post by xxvirusxx » Thu Jan 31, 2019 5:54 pm

Provide an URL....

My Extensions | OC 3.0.3.1, 3.0.2.0, 2.3.0.2 with bugs fixed | Buy me a beer or coffee


Active Member

Posts

Joined
Tue Jul 17, 2012 10:35 pm

Active Member

Posts

Joined
Mon Dec 27, 2010 8:46 am

Post by xxvirusxx » Thu Jan 31, 2019 7:07 pm

Seem to be .htacces issue redirect.

Try to disable SEO URL and rename .htaccess and see if work.

Attachments

Screenshot_2019-01-31_13-07-56.png

Screenshot_2019-01-31_13-07-56.png (22.67 KiB) Viewed 560 times


My Extensions | OC 3.0.3.1, 3.0.2.0, 2.3.0.2 with bugs fixed | Buy me a beer or coffee


Active Member

Posts

Joined
Tue Jul 17, 2012 10:35 pm

Post by zoom » Wed Feb 06, 2019 10:57 am

I did this and still have the problem

Active Member

Posts

Joined
Mon Dec 27, 2010 8:46 am

Post by zoom » Wed Mar 13, 2019 10:16 am

So far the problem has not been solved :drunk:

I needed help to solve it ???

Active Member

Posts

Joined
Mon Dec 27, 2010 8:46 am

Post by letxobnav » Wed Mar 13, 2019 10:21 am

Access to XMLHttpRequest at 'https://zoom-c.com/index.php?route=exte ... g/cart/add' from origin 'https://www.zoom-c.com' has been blocked by CORS policy: Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource.

Crystal Light Centrum Taiwan
“Data security is paramount at [...], and we are committed to protecting the privacy of anyone who is associated with our [...]. We’ve made a lot of improvements and will continue to make them.”
When you know your life savings are gone.


Active Member
Online

Posts

Joined
Fri Aug 18, 2017 4:35 pm
Location - Taiwan

Post by letxobnav » Wed Mar 13, 2019 10:24 am

suggest you have a little chat with your template provider.

Crystal Light Centrum Taiwan
“Data security is paramount at [...], and we are committed to protecting the privacy of anyone who is associated with our [...]. We’ve made a lot of improvements and will continue to make them.”
When you know your life savings are gone.


Active Member
Online

Posts

Joined
Fri Aug 18, 2017 4:35 pm
Location - Taiwan

Post by zoom » Wed Mar 13, 2019 1:49 pm

The site was working properly
htaccess

I need to rewrite the code in this file htaccess correctly. Can anyone help me?

Active Member

Posts

Joined
Mon Dec 27, 2010 8:46 am

Post by letxobnav » Wed Mar 13, 2019 2:39 pm

Access to XMLHttpRequest at 'https://zoom-c.com/index.php?route=exte ... g/cart/add' from origin 'https://www.zoom-c.com' has been blocked by CORS policy: Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource.

you are requesting a cross origin data maipulatiom from www.zoom-c.com (origin) to zoom-c.com (target).
Suggest to either use www. on both or lose the www. on both.

btw. your google font api links return 400 as the links are partially encoded.

Crystal Light Centrum Taiwan
“Data security is paramount at [...], and we are committed to protecting the privacy of anyone who is associated with our [...]. We’ve made a lot of improvements and will continue to make them.”
When you know your life savings are gone.


Active Member
Online

Posts

Joined
Fri Aug 18, 2017 4:35 pm
Location - Taiwan

Post by zoom » Thu Mar 14, 2019 1:00 pm

The problem is in this file htaccess

Need settings settings with certificate SSL

Is there anyone who can help me do this ?

Active Member

Posts

Joined
Mon Dec 27, 2010 8:46 am

Post by letxobnav » Thu Mar 14, 2019 2:03 pm

if you use
https://zoom-c.com/index.php?route=prod ... uct_id=519

it adds just file.

https://www.zoom-c.com/index.php?route= ... uct_id=519

does not.

Like I said, you are cross-origin you requests which are rejected.

Crystal Light Centrum Taiwan
“Data security is paramount at [...], and we are committed to protecting the privacy of anyone who is associated with our [...]. We’ve made a lot of improvements and will continue to make them.”
When you know your life savings are gone.


Active Member
Online

Posts

Joined
Fri Aug 18, 2017 4:35 pm
Location - Taiwan

Post by joakimcom » Sat Mar 16, 2019 12:51 am

Adjust your .htaccess to redirect www.zoom-c.com to zoom-c.com, so no user lands on the www page and your issue would be resolved.

Newbie

Posts

Joined
Sat Mar 16, 2019 12:48 am

Who is online

Users browsing this forum: No registered users and 22 guests