[Skip to main content](#vessel-content)

#   Ajax problem with SEF 403 error and more

##

- **[woodman](/forum/user/5893-woodman "View woodman's Profile")**
- [![woodman's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/5893-woodman "View woodman's Profile") Topic Author
- [ Offline](/forum/user/5893-woodman)

Less More

- Posts: 9
- Thank you received: 0
-
-

14 years 9 months ago [\#37847](#37847) by [woodman](/forum/user/5893-woodman "View woodman's Profile")  *[Ajax problem with SEF 403 error and more](/forum/3-bug-report/37847-ajax-problem-with-sef-403-error-and-more#37847 "Hi,  Whenever I setup &quot;Use AJAX when possible for add to cart buttons&quot; to Yes, two things happen:  1st: It does not do anything when I click add to cart. If I open Chrome's inspector, it says I am getting a 403 error. If I turn off SEF, it will add the item to the cart, but then I get into a second problem.  2nd: There is no pop up window when I add something to the cart. I've changed &quot;Notice popup display time&quot; up and down with no luck.  The only other components running on the site are Mosets Tree, AcyMailing, Akeeba, JoomFish! and FPSS.  I have looked through the forum and the only answers to similar questions were that there was a directory that crashed with SEF and some other components messing with it. Neither look like our problem.")* was created by *[woodman](/forum/user/5893-woodman "View woodman's Profile")*

Hi,

Whenever I setup "Use AJAX when possible for add to cart buttons" to Yes, two things happen:

1st: It does not do anything when I click add to cart. If I open Chrome's inspector, it says I am getting a 403 error.
If I turn off SEF, it will add the item to the cart, but then I get into a second problem.

2nd: There is no pop up window when I add something to the cart. I've changed "Notice popup display time" up and down with no luck.

The only other components running on the site are Mosets Tree, AcyMailing, Akeeba, JoomFish! and FPSS.

I have looked through the forum and the only answers to similar questions were that there was a directory that crashed with SEF and some other components messing with it. Neither look like our problem.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMtYnVnLXJlcG9ydC8zNzg0Ny1hamF4LXByb2JsZW0td2l0aC1zZWYtNDAzLWVycm9yLWFuZC1tb3JlP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86541
- Thank you received: 14304
-
-

14 years 9 months ago [\#38007](#38007) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: Ajax problem with SEF 403 error and more](/forum/3-bug-report/37847-ajax-problem-with-sef-403-error-and-more#38007 "Hi,  Whenever I setup &quot;Use AJAX when possible for add to cart buttons&quot; to Yes, two things happen:  1st: It does not do anything when I click add to cart. If I open Chrome's inspector, it says I am getting a 403 error. If I turn off SEF, it will add the item to the cart, but then I get into a second problem.  2nd: There is no pop up window when I add something to the cart. I've changed &quot;Notice popup display time&quot; up and down with no luck.  The only other components running on the site are Mosets Tree, AcyMailing, Akeeba, JoomFish! and FPSS.  I have looked through the forum and the only answers to similar questions were that there was a directory that crashed with SEF and some other components messing with it. Neither look like our problem.")*

Hi,

If you set the option "After a product is added to the cart" to "stay and display a popup notice", you should get the popup notice after adding a product to the cart regardless of that "Use AJAX when possible for add to cart buttons" option.

Did you activate it ?

Could you give a link to a product page with that problem so that we can see the javascript error ?

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMtYnVnLXJlcG9ydC8zNzg0Ny1hamF4LXByb2JsZW0td2l0aC1zZWYtNDAzLWVycm9yLWFuZC1tb3JlP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[woodman](/forum/user/5893-woodman "View woodman's Profile")**
- [![woodman's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/5893-woodman "View woodman's Profile") Topic Author
- [ Offline](/forum/user/5893-woodman)

Less More

- Posts: 9
- Thank you received: 0
-
-

14 years 9 months ago [\#38015](#38015) by [woodman](/forum/user/5893-woodman "View woodman's Profile")  Replied by *[woodman](/forum/user/5893-woodman "View woodman's Profile")* on topic *[Re: Ajax problem with SEF 403 error and more](/forum/3-bug-report/37847-ajax-problem-with-sef-403-error-and-more#38015 "Hi,  Whenever I setup &quot;Use AJAX when possible for add to cart buttons&quot; to Yes, two things happen:  1st: It does not do anything when I click add to cart. If I open Chrome's inspector, it says I am getting a 403 error. If I turn off SEF, it will add the item to the cart, but then I get into a second problem.  2nd: There is no pop up window when I add something to the cart. I've changed &quot;Notice popup display time&quot; up and down with no luck.  The only other components running on the site are Mosets Tree, AcyMailing, Akeeba, JoomFish! and FPSS.  I have looked through the forum and the only answers to similar questions were that there was a directory that crashed with SEF and some other components messing with it. Neither look like our problem.")*

Ok, now I've updated it to show the pop up and now I see the error (Forbiden) in a popup.

[ goo.gl/gc2ma](http://goo.gl/gc2ma)

Ajax seems to be working fine as the pop up for image viewing is working.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMtYnVnLXJlcG9ydC8zNzg0Ny1hamF4LXByb2JsZW0td2l0aC1zZWYtNDAzLWVycm9yLWFuZC1tb3JlP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86541
- Thank you received: 14304
-
-

14 years 9 months ago [\#38100](#38100) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: Ajax problem with SEF 403 error and more](/forum/3-bug-report/37847-ajax-problem-with-sef-403-error-and-more#38100 "Hi,  Whenever I setup &quot;Use AJAX when possible for add to cart buttons&quot; to Yes, two things happen:  1st: It does not do anything when I click add to cart. If I open Chrome's inspector, it says I am getting a 403 error. If I turn off SEF, it will add the item to the cart, but then I get into a second problem.  2nd: There is no pop up window when I add something to the cart. I've changed &quot;Notice popup display time&quot; up and down with no luck.  The only other components running on the site are Mosets Tree, AcyMailing, Akeeba, JoomFish! and FPSS.  I have looked through the forum and the only answers to similar questions were that there was a directory that crashed with SEF and some other components messing with it. Neither look like our problem.")*

Hi,

The problem seems to be in your template.
The popup uses the link:
[ www.ovide.com/es/ventas/categorias-h/che...otice/tmpl-component](http://www.ovide.com/es/ventas/categorias-h/checkout/notice/tmpl-component)
The /tmpl-component part of the URL tells joomla to use the component.php file of the template instead of the index.php file of the template so that only the main area is displayed. If you remove that part of the URL, you will see the same page inside the template. So the URL becomes:
[ www.ovide.com/es/ventas/categorias-h/checkout/notice](http://www.ovide.com/es/ventas/categorias-h/checkout/notice)
As you can see, it displays the popup notice inside the template.

So in conclusion, there seems to be a problem with the component.php file of the template. I don't know why though.
I suppose that if you use another template it works correctly right ?

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMtYnVnLXJlcG9ydC8zNzg0Ny1hamF4LXByb2JsZW0td2l0aC1zZWYtNDAzLWVycm9yLWFuZC1tb3JlP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[woodman](/forum/user/5893-woodman "View woodman's Profile")**
- [![woodman's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/5893-woodman "View woodman's Profile") Topic Author
- [ Offline](/forum/user/5893-woodman)

Less More

- Posts: 9
- Thank you received: 0
-
-

14 years 9 months ago [\#38161](#38161) by [woodman](/forum/user/5893-woodman "View woodman's Profile")  Replied by *[woodman](/forum/user/5893-woodman "View woodman's Profile")* on topic *[Re: Ajax problem with SEF 403 error and more](/forum/3-bug-report/37847-ajax-problem-with-sef-403-error-and-more#38161 "Hi,  Whenever I setup &quot;Use AJAX when possible for add to cart buttons&quot; to Yes, two things happen:  1st: It does not do anything when I click add to cart. If I open Chrome's inspector, it says I am getting a 403 error. If I turn off SEF, it will add the item to the cart, but then I get into a second problem.  2nd: There is no pop up window when I add something to the cart. I've changed &quot;Notice popup display time&quot; up and down with no luck.  The only other components running on the site are Mosets Tree, AcyMailing, Akeeba, JoomFish! and FPSS.  I have looked through the forum and the only answers to similar questions were that there was a directory that crashed with SEF and some other components messing with it. Neither look like our problem.")*

Hi,

I've tried three different templates besides the one we're using (Youmania): beez, JA_Purity and rhuk_milkyway

And I always get the same error message: "You don't have permission to access /es/ventas/categorias-h/checkout/notice/tmpl-component on this server."

I am completely lost

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMtYnVnLXJlcG9ydC8zNzg0Ny1hamF4LXByb2JsZW0td2l0aC1zZWYtNDAzLWVycm9yLWFuZC1tb3JlP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86541
- Thank you received: 14304
-
-

14 years 9 months ago [\#38266](#38266) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: Ajax problem with SEF 403 error and more](/forum/3-bug-report/37847-ajax-problem-with-sef-403-error-and-more#38266 "Hi,  Whenever I setup &quot;Use AJAX when possible for add to cart buttons&quot; to Yes, two things happen:  1st: It does not do anything when I click add to cart. If I open Chrome's inspector, it says I am getting a 403 error. If I turn off SEF, it will add the item to the cart, but then I get into a second problem.  2nd: There is no pop up window when I add something to the cart. I've changed &quot;Notice popup display time&quot; up and down with no luck.  The only other components running on the site are Mosets Tree, AcyMailing, Akeeba, JoomFish! and FPSS.  I have looked through the forum and the only answers to similar questions were that there was a directory that crashed with SEF and some other components messing with it. Neither look like our problem.")*

Mmmm, then it must be something else creating the problem.
Did you install plugins ? or did you modify the default htaccess to add security checks ?

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMtYnVnLXJlcG9ydC8zNzg0Ny1hamF4LXByb2JsZW0td2l0aC1zZWYtNDAzLWVycm9yLWFuZC1tb3JlP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[woodman](/forum/user/5893-woodman "View woodman's Profile")**
- [![woodman's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/5893-woodman "View woodman's Profile") Topic Author
- [ Offline](/forum/user/5893-woodman)

Less More

- Posts: 9
- Thank you received: 0
-
-

14 years 9 months ago [\#38319](#38319) by [woodman](/forum/user/5893-woodman "View woodman's Profile")  Replied by *[woodman](/forum/user/5893-woodman "View woodman's Profile")* on topic *[Re: Ajax problem with SEF 403 error and more](/forum/3-bug-report/37847-ajax-problem-with-sef-403-error-and-more#38319 "Hi,  Whenever I setup &quot;Use AJAX when possible for add to cart buttons&quot; to Yes, two things happen:  1st: It does not do anything when I click add to cart. If I open Chrome's inspector, it says I am getting a 403 error. If I turn off SEF, it will add the item to the cart, but then I get into a second problem.  2nd: There is no pop up window when I add something to the cart. I've changed &quot;Notice popup display time&quot; up and down with no luck.  The only other components running on the site are Mosets Tree, AcyMailing, Akeeba, JoomFish! and FPSS.  I have looked through the forum and the only answers to similar questions were that there was a directory that crashed with SEF and some other components messing with it. Neither look like our problem.")*

No special plugins. I did modify the htaccess, but just to redirect different domains to our main domain and 301 redirects for old contents.

I found that if I turn SEF off, it works.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMtYnVnLXJlcG9ydC8zNzg0Ny1hamF4LXByb2JsZW0td2l0aC1zZWYtNDAzLWVycm9yLWFuZC1tb3JlP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86541
- Thank you received: 14304
-
-

14 years 9 months ago [\#38430](#38430) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: Ajax problem with SEF 403 error and more](/forum/3-bug-report/37847-ajax-problem-with-sef-403-error-and-more#38430 "Hi,  Whenever I setup &quot;Use AJAX when possible for add to cart buttons&quot; to Yes, two things happen:  1st: It does not do anything when I click add to cart. If I open Chrome's inspector, it says I am getting a 403 error. If I turn off SEF, it will add the item to the cart, but then I get into a second problem.  2nd: There is no pop up window when I add something to the cart. I've changed &quot;Notice popup display time&quot; up and down with no luck.  The only other components running on the site are Mosets Tree, AcyMailing, Akeeba, JoomFish! and FPSS.  I have looked through the forum and the only answers to similar questions were that there was a directory that crashed with SEF and some other components messing with it. Neither look like our problem.")*

So maybe there really is a problem with the htaccess ?

I don't have other ideas. Even with SEF turned on, it works on other websites. So there must be something outside of HikaShop which does that on your website when SEF is turned on.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMtYnVnLXJlcG9ydC8zNzg0Ny1hamF4LXByb2JsZW0td2l0aC1zZWYtNDAzLWVycm9yLWFuZC1tb3JlP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[woodman](/forum/user/5893-woodman "View woodman's Profile")**
- [![woodman's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/5893-woodman "View woodman's Profile") Topic Author
- [ Offline](/forum/user/5893-woodman)

Less More

- Posts: 9
- Thank you received: 0
-
-

14 years 9 months ago [\#38724](#38724) by [woodman](/forum/user/5893-woodman "View woodman's Profile")  Replied by *[woodman](/forum/user/5893-woodman "View woodman's Profile")* on topic *[Re: Ajax problem with SEF 403 error and more](/forum/3-bug-report/37847-ajax-problem-with-sef-403-error-and-more#38724 "Hi,  Whenever I setup &quot;Use AJAX when possible for add to cart buttons&quot; to Yes, two things happen:  1st: It does not do anything when I click add to cart. If I open Chrome's inspector, it says I am getting a 403 error. If I turn off SEF, it will add the item to the cart, but then I get into a second problem.  2nd: There is no pop up window when I add something to the cart. I've changed &quot;Notice popup display time&quot; up and down with no luck.  The only other components running on the site are Mosets Tree, AcyMailing, Akeeba, JoomFish! and FPSS.  I have looked through the forum and the only answers to similar questions were that there was a directory that crashed with SEF and some other components messing with it. Neither look like our problem.")*

Hi,

Just fixed it. Our ISP was running a security module that prevented this from working fine. It works now, but now something different happens: when adding an item to the cart, the Euro symbol in the cart module is changed for strange symbols (â‚¬). If I reload the page, it comes back to the € symbol.

Any idea of what's wrong?

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMtYnVnLXJlcG9ydC8zNzg0Ny1hamF4LXByb2JsZW0td2l0aC1zZWYtNDAzLWVycm9yLWFuZC1tb3JlP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86541
- Thank you received: 14304
-
-

14 years 9 months ago [\#38903](#38903) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: Ajax problem with SEF 403 error and more](/forum/3-bug-report/37847-ajax-problem-with-sef-403-error-and-more#38903 "Hi,  Whenever I setup &quot;Use AJAX when possible for add to cart buttons&quot; to Yes, two things happen:  1st: It does not do anything when I click add to cart. If I open Chrome's inspector, it says I am getting a 403 error. If I turn off SEF, it will add the item to the cart, but then I get into a second problem.  2nd: There is no pop up window when I add something to the cart. I've changed &quot;Notice popup display time&quot; up and down with no luck.  The only other components running on the site are Mosets Tree, AcyMailing, Akeeba, JoomFish! and FPSS.  I have looked through the forum and the only answers to similar questions were that there was a directory that crashed with SEF and some other components messing with it. Neither look like our problem.")*

That's because of the charset set by your server.

If you turn off the option "Use AJAX when possible for add to cart buttons" in the configuration of HikaShop, the cart module won't be loaded in ajax and you should not have that problem.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMtYnVnLXJlcG9ydC8zNzg0Ny1hamF4LXByb2JsZW0td2l0aC1zZWYtNDAzLWVycm9yLWFuZC1tb3JlP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

Board Categories HikaShop Install &amp; Update Product &amp; Category Display Content Creation Sales and Orders Orders management Reports &amp; Statistics Customers Checkout Payment Methods Shipping Methods Import &amp; Export (CSV, XLS…) Specific Features Affilation Taxes Wishlist Vote Carousel &amp; Slider Mass Actions Filters &amp; Search Discount &amp; Coupon Feature Request Integrations Showcase General Talk about HikaShop Development HikaShop 3.0 Beta Translation Commercial Jobs HikaShop Components HikaMarket Market: Feature requests Market: How to? Market: Bug Report HikaSerial General talk about HikaSerial Serial: Bug Report Serial: How to? Support en Français de HikaSerial (French Support) HikaSubscription HikaAuction Auction: Feature requests Auction: How to? Auction: Bug report Hikashop around the world Support en Français (French Support) Russian FAQ. Курс выживания с Hikashop. Частые вопросы и о Расширения Hikashop Наши сайты на Hikashop 日本語版サポート(Japanese Support) Thai German Archives Bug Report How to?

[](/forum/topics/feed/mode-topics?format=feed&type=rss)

Time to create page: 0.066 seconds

[Powered by](/forum/credits) [Kunena Forum](https://www.kunena.org)
