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

#   404 Error return on customer login attempt

##

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

Less More

- Posts: 90
- Thank you received: 2
-
-

3 years 11 months ago [\#347048](#347048) by [gielhier](/forum/user/9811-gielhier "View gielhier's Profile")  *[404 Error return on customer login attempt](/forum/33-customers/905450-404-error-return-on-customer-login-attempt#347048 "-- url of the page with the problem -- :   jetsebremer.nl/  -- HikaShop version -- : 4.7.0 -- Joomla version -- : 4.2.5 -- PHP version -- : 8.1.12 -- Browser(s) name and version -- : Chrome -- Error-message(debug-mod must be tuned on) -- : 404 error on Hikashop User Control Panel menu item  Hi,  After migrating our webshop to Joomla 4, users aren't able to log-in using the &quot;Hikashop user control panel&quot; menu item. it returns a 404.  Now as a quick fix on our live site, we've added a hidden &quot;Joomla user login form&quot; menu item. into the same menu used by the &quot;Hikashop user control panel&quot; item. see below:  However we're still curious as to how and why this happens.  On our staging site:   joomla4.jetsebremer.nl/  you can still recreate the issue by clicking on &quot;Customer login&quot; in the sidebar.")* was created by *[gielhier](/forum/user/9811-gielhier "View gielhier's Profile")*

-- url of the page with the problem -- : [ jetsebremer.nl/](https://jetsebremer.nl/)
-- HikaShop version -- : 4.7.0
-- Joomla version -- : 4.2.5
-- PHP version -- : 8.1.12
-- Browser(s) name and version -- : Chrome
-- Error-message(debug-mod must be tuned on) -- : 404 error on Hikashop User Control Panel menu item

Hi,

After migrating our webshop to Joomla 4, users aren't able to log-in using the "Hikashop user control panel" menu item. it returns a 404.

Now as a quick fix on our live site, we've added a hidden "Joomla user login form" menu item. into the same menu used by the "Hikashop user control panel" item. see below:
[ ![sidebar-menu-en.png](/forum/attachment/56009) ](/forum/attachment/56009 "...ar-menu-en.png")

However we're still curious as to how and why this happens.

On our staging site: [ joomla4.jetsebremer.nl/](https://joomla4.jetsebremer.nl/) you can still recreate the issue by clicking on "Customer login" in the sidebar.
This message contains confidential information

- [ ![sidebar-menu-en.png](/forum/attachment/56009) ](/forum/attachment/56009 "...ar-menu-en.png") [ ](/forum/attachment/56009?download=1 "...ar-menu-en.png")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMzLWN1c3RvbWVycy85MDU0NTAtNDA0LWVycm9yLXJldHVybi1vbi1jdXN0b21lci1sb2dpbi1hdHRlbXB0P3RtcGw9bWFya2Rvd24=) 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: 86584
- Thank you received: 14325
-
-

3 years 11 months ago [\#347053](#347053) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[404 Error return on customer login attempt](/forum/33-customers/905450-404-error-return-on-customer-login-attempt#347053 "-- url of the page with the problem -- :   jetsebremer.nl/  -- HikaShop version -- : 4.7.0 -- Joomla version -- : 4.2.5 -- PHP version -- : 8.1.12 -- Browser(s) name and version -- : Chrome -- Error-message(debug-mod must be tuned on) -- : 404 error on Hikashop User Control Panel menu item  Hi,  After migrating our webshop to Joomla 4, users aren't able to log-in using the &quot;Hikashop user control panel&quot; menu item. it returns a 404.  Now as a quick fix on our live site, we've added a hidden &quot;Joomla user login form&quot; menu item. into the same menu used by the &quot;Hikashop user control panel&quot; item. see below:  However we're still curious as to how and why this happens.  On our staging site:   joomla4.jetsebremer.nl/  you can still recreate the issue by clicking on &quot;Customer login&quot; in the sidebar.")*

Hi,

The issue is with the routing of SEF URLs.
When you try to access a HikaShop menu item which requires the user to be logged in, HikaShop needs to redirect you to the login page. Since that's a Joomla page, it's better if there is a menu item available for that so that it can use the URL of that menu item.
You can see that the component/users part of the URL is replaced by the alias of the menu item on your live website, and this precisely mean that it found the login menu item and uses it instead of redirecting to the login page while keeping the HikaShop control panel Itemid.
I'm not entirely sure why Joomla's router doesn't like that the current menu item is not the same as the component of the page being requested and generate a 404. It seems to depend on how the website is setup as this could also happen for some on Joomla 3.

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

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