HikaShop component menu disappeared after update

  • Posts: 3
  • Thank you received: 0
9 years 4 months ago #236365

After installing the latest version I get the following error message:

1064 You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1 SQL=UPDATE `#__menu` SET `rgt`=`rgt`-0 WHERE `rgt`>=

After that, the HikaShop menu item disappears from the Component menu in the back-end.

At least he front-end seems to be working now.

Any ideas where to go with this?

Thanks

Andrew

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

  • Posts: 84233
  • Thank you received: 13675
  • MODERATOR
9 years 4 months ago #236379

Hi,

This means that there is a problem with the menu item structure on your website. Try to click on the "rebuild" button of the Joomla menu manager and then run the install of HikaShop again and that might be better.
Note that you can also directly access the backend of HikaShop with the URL www.mywebsite.com/administrator/index.php?option=com_hikashop

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

  • Posts: 3
  • Thank you received: 0
9 years 4 months ago #236502

I tried that and got the following error message:

Error

Rebuild failed: exception 'UnexpectedValueException' with message 'MenusTableMenu::getRootId' in /home/########/public_html/libraries/joomla/table/nested.php:1260 Stack trace: #0 /home/########/public_html/libraries/joomla/table/nested.php(1287): JTableNested->getRootId() #1 /home/########/public_html/administrator/components/com_menus/models/item.php(1103): JTableNested->rebuild() #2 /home/########/public_html/administrator/components/com_menus/controllers/menus.php(108): MenusModelItem->rebuild() #3 /home/########/public_html/libraries/legacy/controller/legacy.php(728): MenusControllerMenus->rebuild() #4 /home/########/public_html/administrator/components/com_menus/menus.php(18): JControllerLegacy->execute('rebuild') #5 /home/########/public_html/libraries/cms/component/helper.php(405): require_once('/home/########/...') #6 /home/########/public_html/libraries/cms/component/helper.php(380): JComponentHelper::executeComponent('/home/########/...') #7 /home/########/public_html/libraries/cms/application/administrator.php(98): JComponentHelper::renderComponent('com_menus') #8 /home/########/public_html/libraries/cms/application/administrator.php(152): JApplicationAdministrator->dispatch() #9 /home/########/public_html/libraries/cms/application/cms.php(257): JApplicationAdministrator->doExecute() #10 /home/########/public_html/administrator/index.php(51): JApplicationCms->execute() #11 {main}

I tried re-uploading the latest HikaShop update again with no luck.

Any ideas?

Thanks

Andrew

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

  • Posts: 84233
  • Thank you received: 13675
  • MODERATOR
9 years 4 months ago #236505

Hi,

If even the rebuild button of Joomla is not able to fix your menu item structure, it's pretty messed up.
Apparently, you're missing the root entry of your menu items in the menus table of Joomla.
You could try this solution in your PHPMyAdmin:
www.nonumber.nl/forum/nonumberextensionm...ble-to-install#50033
That will manually add the root menu item to that table. Then, run the rebuild process again, and then install HikaShop again.

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

  • Posts: 3
  • Thank you received: 0
9 years 4 months ago #236683

That worked perfectly - thanks.

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

Time to create page: 0.058 seconds
Powered by Kunena Forum