HTTP 404 after update

  • Posts: 15
  • Thank you received: 0
  • Hikashop Business
2 days 14 hours ago #367119

-- HikaShop version -- : 5.1.6
-- Joomla version -- : 5.3.0
-- PHP version -- : 8.3.21
-- Browser(s) name and version -- : Firefox 138.0.3
-- Error-message(debug-mod must be tuned on) -- : -

After Joomlaupdate the URL-s of some of the single article type pages are changed, the suffix id-xxx is added to the URL, where xxx is the article id. This results in a HTTP 404 error.
When I open the menu, I see that the menu item type is Hikashop >> Article. (see attachement Before.png)
When I open the menu item and save it without any modification, the menu item type is changed to Articles >> Single Article, the suffix disappears from the URL and everything works fine. (see attachment After.png).
I use the Hikashop Default Menus, and I think this is the reason, but can you please help me, how to solve this permanently?
Thank you in advance.

Attachments:

Please Log in or Create an account to join the conversation.

  • Posts: 83798
  • Thank you received: 13570
  • MODERATOR
2 days 9 hours ago #367121

Hi,

I don't think it has anything to do with HikaShop.
HikaShop doesn't normally intervene when the URL of a Joomla article is generated or when Joomla is routing the URLs for menu items not linked with a menu item type of HikaShop.
To me this could indicate that the extension id of com_content (the component which handles Joomla articles) was changed and that it is now com_hikashop which has that id in the extension table (where all the installed extensions are listed) in the database.
And when you save a menu item, based on the selected type it is able to get the new extension id linked to the menu item and thus it works fine again.
So I think it might be something wrong in the Joomla extensions table which led to this issue during the update process.
I would recommend to :
- save your Joomla article menu items one by one to fix the link problem
- Try to use the "rebuild" button of the Joomla menu manager, maybe it can help so that the problem doesn't come up again in the future:
docs.joomla.org/Help4.x:Menus#Toolbar
- Try to use the "Fix" button of the Administrator → System → Maintenance → Database menu. Maybe it can help if the problem comes from a table structure issue in the database. It can sometimes happen with migrations / website copy.

Please Log in or Create an account to join the conversation.

  • Posts: 15
  • Thank you received: 0
  • Hikashop Business
2 days 3 hours ago #367129

Hi Nicolas,
Thank you for your answer.
If I save the menu items, it will solve the problem - until the next update.
Database is up-to-date. Menu rebulid done.
In database the component is com-content, see

.
Any idea? Isn't this pre-created "Hikashop default menus" menu different than the normal menu?

Regards,
Ildikó

Attachments:

Please Log in or Create an account to join the conversation.

  • Posts: 15
  • Thank you received: 0
  • Hikashop Business
2 days 2 hours ago #367130

One more information. To test this, I created another menu with the menu items that have the type of Single article. Then I modified the menu item types for the same menus items in Hikashop menu to Mnu item alias and selected the appropriate menu items from the other menu, then performed the Joomla update and now the menu works as expected.

Please Log in or Create an account to join the conversation.

  • Posts: 83798
  • Thank you received: 13570
  • MODERATOR
1 day 14 hours ago #367133

Hi,

Thank you for the extra details. I know understand better what the problem is.
I've made a patch for the next version of HikaShop so that this issue won't happen anymore.

Please Log in or Create an account to join the conversation.

Time to create page: 0.069 seconds
Powered by Kunena Forum