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

#   Error 404: when clicking on "add to cart" button

##

- **[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
-
-

15 years 8 months ago [\#10589](#10589) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: Error 404: when clicking on "add to cart" button](/forum/3-bug-report/8379-error-404-when-clicking-on-add-to-cart-button?start=40#10589 "After installing the free version of Hikashop and following the documentation, when I click on the &quot;add to cart&quot; button for my first product it takes me to a page that says:  &quot;404 - Component not found  You may not be able to visit this page because of:  1. an out-of-date bookmark/favourite 2. a search engine that has an out-of-date listing for this site 3. a mistyped address 4. you have no access to this page 5. The requested resource was not found. 6. An error has occurred while processing your request.  Please try one of the following pages:  &#42; Home Page  If difficulties persist, please contact the System Administrator of this site.  Component not found&quot;  with the url of &quot;.../checkout&quot;  I've gone over the documentation and I can't see that I've done anything wrong. Am I missing a step?  Any help would be much appreciated.  bradley")*

Hi Matt,

Your problem seems to be related to a SEF issue. How did you set it up ? Do you use some kind of extension for it ?

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

- **[mt\_robson](/forum/user/1292-mt-robson "View mt&#95;robson's Profile")**
- [![mt&#95;robson's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar1292.jpg)](/forum/user/1292-mt-robson "View mt&#95;robson's Profile")
- [ Offline](/forum/user/1292-mt-robson)

Less More

- Posts: 31
- Thank you received: 0
-
- [](http://www.buch-comptoir.de)
-

15 years 8 months ago [\#10594](#10594) by [mt\_robson](/forum/user/1292-mt-robson "View mt&#95;robson's Profile")  Replied by *[mt\_robson](/forum/user/1292-mt-robson "View mt&#95;robson's Profile")* on topic *[Re: Error 404: when clicking on "add to cart" button](/forum/3-bug-report/8379-error-404-when-clicking-on-add-to-cart-button?start=40#10594 "After installing the free version of Hikashop and following the documentation, when I click on the &quot;add to cart&quot; button for my first product it takes me to a page that says:  &quot;404 - Component not found  You may not be able to visit this page because of:  1. an out-of-date bookmark/favourite 2. a search engine that has an out-of-date listing for this site 3. a mistyped address 4. you have no access to this page 5. The requested resource was not found. 6. An error has occurred while processing your request.  Please try one of the following pages:  &#42; Home Page  If difficulties persist, please contact the System Administrator of this site.  Component not found&quot;  with the url of &quot;.../checkout&quot;  I've gone over the documentation and I can't see that I've done anything wrong. Am I missing a step?  Any help would be much appreciated.  bradley")*

Hm, you mean SEO configuration (see attached screenshot)?

Well, the point is that I didn't change anything in these settings the last days. Thus it worked well with these settings until I did some changes (which of course - shame on me - I can't retrace anymore) apparently in the shop content module (?) or somewhere else.

Could be that it has something to do with the "Associated products listing for categories listing menus" (see attached file)?

M.

[P.S.: If you are interested resp. if this problem is of interest for Hikashop development, feel free to check by yourself. I can provide you with a login via PM.]  [ ![&#91;img](http://www.hikashop.com/media/kunena/attachments/legacy/images/configuration_joomla.jpg) ](http://www.hikashop.com/media/kunena/attachments/legacy/images/configuration_joomla.jpg "&#91;img")

---

[ www.buch-comptoir.de](http://www.buch-comptoir.de)

[ shop.buch-comptoir.de](http://shop.buch-comptoir.de)

\[Weltweiter Versand seltener Bücher\]

- [ ![configuration&#95;joomla.jpg](/forum/attachment/691) ](/forum/attachment/691 "...ion&#95;joomla.jpg") [ ](/forum/attachment/691?download=1 "...ion&#95;joomla.jpg")

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

- **[mt\_robson](/forum/user/1292-mt-robson "View mt&#95;robson's Profile")**
- [![mt&#95;robson's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar1292.jpg)](/forum/user/1292-mt-robson "View mt&#95;robson's Profile")
- [ Offline](/forum/user/1292-mt-robson)

Less More

- Posts: 31
- Thank you received: 0
-
- [](http://www.buch-comptoir.de)
-

15 years 8 months ago -  15 years 8 months ago [\#10595](#10595) by [mt\_robson](/forum/user/1292-mt-robson "View mt&#95;robson's Profile")  Replied by *[mt\_robson](/forum/user/1292-mt-robson "View mt&#95;robson's Profile")* on topic *[Re: Error 404: when clicking on "add to cart" button](/forum/3-bug-report/8379-error-404-when-clicking-on-add-to-cart-button?start=40#10595 "After installing the free version of Hikashop and following the documentation, when I click on the &quot;add to cart&quot; button for my first product it takes me to a page that says:  &quot;404 - Component not found  You may not be able to visit this page because of:  1. an out-of-date bookmark/favourite 2. a search engine that has an out-of-date listing for this site 3. a mistyped address 4. you have no access to this page 5. The requested resource was not found. 6. An error has occurred while processing your request.  Please try one of the following pages:  &#42; Home Page  If difficulties persist, please contact the System Administrator of this site.  Component not found&quot;  with the url of &quot;.../checkout&quot;  I've gone over the documentation and I can't see that I've done anything wrong. Am I missing a step?  Any help would be much appreciated.  bradley")*

Addendum: It works again, if I turn off the option "search engine friendly URLs" - strange.

---

[ www.buch-comptoir.de](http://www.buch-comptoir.de)

[ shop.buch-comptoir.de](http://shop.buch-comptoir.de)

\[Weltweiter Versand seltener Bücher\]

Last edit: 15 years 8 months ago by [mt\_robson](/forum/user/1292-mt-robson "View mt&#95;robson's Profile"). Reason: mistype

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMtYnVnLXJlcG9ydC84Mzc5LWVycm9yLTQwNC13aGVuLWNsaWNraW5nLW9uLWFkZC10by1jYXJ0LWJ1dHRvbj9zdGFydD00MCZ0bXBsPW1hcmtkb3du) 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
-
-

15 years 8 months ago [\#10614](#10614) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: Error 404: when clicking on "add to cart" button](/forum/3-bug-report/8379-error-404-when-clicking-on-add-to-cart-button?start=40#10614 "After installing the free version of Hikashop and following the documentation, when I click on the &quot;add to cart&quot; button for my first product it takes me to a page that says:  &quot;404 - Component not found  You may not be able to visit this page because of:  1. an out-of-date bookmark/favourite 2. a search engine that has an out-of-date listing for this site 3. a mistyped address 4. you have no access to this page 5. The requested resource was not found. 6. An error has occurred while processing your request.  Please try one of the following pages:  &#42; Home Page  If difficulties persist, please contact the System Administrator of this site.  Component not found&quot;  with the url of &quot;.../checkout&quot;  I've gone over the documentation and I can't see that I've done anything wrong. Am I missing a step?  Any help would be much appreciated.  bradley")*

So it's really related to SEF. Maybe you could try to enable mod_rewrite ?
There is a new little doc which explains how to set it up there: [ docs.joomla.org/SEF\_URLs\_in\_Joomla!\_1.5](http://docs.joomla.org/SEF_URLs_in_Joomla!_1.5)

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

- **[mt\_robson](/forum/user/1292-mt-robson "View mt&#95;robson's Profile")**
- [![mt&#95;robson's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar1292.jpg)](/forum/user/1292-mt-robson "View mt&#95;robson's Profile")
- [ Offline](/forum/user/1292-mt-robson)

Less More

- Posts: 31
- Thank you received: 0
-
- [](http://www.buch-comptoir.de)
-

15 years 8 months ago [\#10665](#10665) by [mt\_robson](/forum/user/1292-mt-robson "View mt&#95;robson's Profile")  Replied by *[mt\_robson](/forum/user/1292-mt-robson "View mt&#95;robson's Profile")* on topic *[Re: Error 404: when clicking on "add to cart" button](/forum/3-bug-report/8379-error-404-when-clicking-on-add-to-cart-button?start=40#10665 "After installing the free version of Hikashop and following the documentation, when I click on the &quot;add to cart&quot; button for my first product it takes me to a page that says:  &quot;404 - Component not found  You may not be able to visit this page because of:  1. an out-of-date bookmark/favourite 2. a search engine that has an out-of-date listing for this site 3. a mistyped address 4. you have no access to this page 5. The requested resource was not found. 6. An error has occurred while processing your request.  Please try one of the following pages:  &#42; Home Page  If difficulties persist, please contact the System Administrator of this site.  Component not found&quot;  with the url of &quot;.../checkout&quot;  I've gone over the documentation and I can't see that I've done anything wrong. Am I missing a step?  Any help would be much appreciated.  bradley")*

Ok thx, I will give it a try although I don't see too much of a relation to SEF as it worked well with the old settings for quite some time.

Regards, M. ![B)](/media/kunena/emoticons/9.png "B)")

---

[ www.buch-comptoir.de](http://www.buch-comptoir.de)

[ shop.buch-comptoir.de](http://shop.buch-comptoir.de)

\[Weltweiter Versand seltener Bücher\]

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

- **[brainforge](/forum/user/423-brainforge "View brainforge's Profile")**
- [![brainforge's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar423.jpg)](/forum/user/423-brainforge "View brainforge's Profile")
- [ Offline](/forum/user/423-brainforge)

Less More

- Posts: 298
- Thank you received: 5
-
-
-
- [](https://brainforge.co.uk)
-

15 years 6 months ago [\#14976](#14976) by [brainforge](/forum/user/423-brainforge "View brainforge's Profile")  Replied by *[brainforge](/forum/user/423-brainforge "View brainforge's Profile")* on topic *[Re: Error 404: when clicking on "add to cart" button](/forum/3-bug-report/8379-error-404-when-clicking-on-add-to-cart-button?start=40#14976 "After installing the free version of Hikashop and following the documentation, when I click on the &quot;add to cart&quot; button for my first product it takes me to a page that says:  &quot;404 - Component not found  You may not be able to visit this page because of:  1. an out-of-date bookmark/favourite 2. a search engine that has an out-of-date listing for this site 3. a mistyped address 4. you have no access to this page 5. The requested resource was not found. 6. An error has occurred while processing your request.  Please try one of the following pages:  &#42; Home Page  If difficulties persist, please contact the System Administrator of this site.  Component not found&quot;  with the url of &quot;.../checkout&quot;  I've gone over the documentation and I can't see that I've done anything wrong. Am I missing a step?  Any help would be much appreciated.  bradley")*

I have had this problem on/off on one dev system, but worked fine on live.
Just had this problem occur on another dev system which has been Ok until now.
So decided time for a bit of debug tracing was needed - this is what I found....

> $\_SERVER /\* string \*/ = /XXXXXXXX/XXXX/XXXX\_joomla/index.php/shop/checkout/notice/tmpl-component
> $\_SERVER /\* string \*/ = /shop/checkout/notice/tmpl-component
>
> $\_REQUEST /\* string \*/ = 335
> $\_REQUEST /\* string \*/ = com\_hikashop
> $\_REQUEST /\* string \*/ = notice
> $\_REQUEST /\* string \*/ = component
>
> In router.php parse()
> =====================
> $this-&gt;\_mode /\* string \*/ = 1 (=== JROUTER\_MODE\_SEF)
> $uri-&gt;\_path /\* string \*/ = shop/checkout/notice/tmpl-component
>
> In router.php \_parseSefRoute()
> ==============================
> $route /\* string \*/ = shop/checkout/notice/tmpl-component
>
> Hikashop parse route call
> =========================
> hikashopParseRoute(array('notice', 'component'))
>
> hikashop.php line 37
> ====================
> File does not exist: HIKASHOP\_CONTROLLER.'notice.php'

Turns out the problem is due to a *Checkout* menu item underneath a *shop* menu item as show in the attached screenshot. Disabling the *checkout* menu item solves the porblem.

Changing the alias for the *C*  [ ![&#91;img](http://www.hikashop.com/media/kunena/attachments/legacy/images/menu.jpg) ](http://www.hikashop.com/media/kunena/attachments/legacy/images/menu.jpg "&#91;img")

heckout menu item to *checkoutmain* solved the problem.
See attached screenshot.

- [ ![menu.jpg](/forum/attachment/998) ](/forum/attachment/998 "menu.jpg") [ ](/forum/attachment/998?download=1 "menu.jpg")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMtYnVnLXJlcG9ydC84Mzc5LWVycm9yLTQwNC13aGVuLWNsaWNraW5nLW9uLWFkZC10by1jYXJ0LWJ1dHRvbj9zdGFydD00MCZ0bXBsPW1hcmtkb3du) 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
-
-

15 years 6 months ago [\#14983](#14983) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: Error 404: when clicking on "add to cart" button](/forum/3-bug-report/8379-error-404-when-clicking-on-add-to-cart-button?start=40#14983 "After installing the free version of Hikashop and following the documentation, when I click on the &quot;add to cart&quot; button for my first product it takes me to a page that says:  &quot;404 - Component not found  You may not be able to visit this page because of:  1. an out-of-date bookmark/favourite 2. a search engine that has an out-of-date listing for this site 3. a mistyped address 4. you have no access to this page 5. The requested resource was not found. 6. An error has occurred while processing your request.  Please try one of the following pages:  &#42; Home Page  If difficulties persist, please contact the System Administrator of this site.  Component not found&quot;  with the url of &quot;.../checkout&quot;  I've gone over the documentation and I can't see that I've done anything wrong. Am I missing a step?  Any help would be much appreciated.  bradley")*

Ah yes, the problem is a SEF alias conflict because joomla translates the notice popup to the same URL as this menu so what it unSEF it for processing, it tries to use the menu itemid which in turns removes the "checkout" parameter at the beginning of the URL. That, in turns makes the hikashop system believe that the controller is the next parameter "notice" instead of using it as the task of the checkout controller. So, finally, when it tries to load the controller, it doesn't find it since it's not the good one.
That's a tricky one !
Thanks for posting the solution.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMtYnVnLXJlcG9ydC84Mzc5LWVycm9yLTQwNC13aGVuLWNsaWNraW5nLW9uLWFkZC10by1jYXJ0LWJ1dHRvbj9zdGFydD00MCZ0bXBsPW1hcmtkb3du) 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.090 seconds

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