× Please submit new Bug Reports on GitHub: github.com/Jensen-Technologies/component-creator-issues/issues

Error: JTableMenu::_getNode(1, ) failed.

7 năm 4 tháng trước #1580 bởi Russell English
Error: JTableMenu::_getNode(1, ) failed. was created by Russell English
When installing new versions of extensions (after building them in Component Creator) I'm being shown the following error message:

Error: JTableMenu::_getNode(1, ) failed.

This then doesn't install correctly.

This happens after the extension installs correctly for the first time.

Any ideas please?
Những thành viên sau(s) đã Cảm ơn: conNeTv, Ryan, Andrew Kershaw

Vui lòng Đăng nhập hoặc Tạo tài khoản để tham gia cuộc hội thoại.

6 năm 5 tháng trước - 6 năm 5 tháng trước #1786 bởi Steven Pignataro
Replied by Steven Pignataro on topic Error: JTableMenu::_getNode(1, ) failed.
This is normally because the root node has been deleted somehow - it happens with Component Creator from time to time (I think it is because of two views with the same name, not sure...). To fix this you need to manually reinsert the root node to the menus table:
INSERT INTO `MYPREFIX_menu` (`id`, `menutype`, `title`, `alias`, `note`, `path`, `link`, `type`, `published`, `parent_id`, `level`, `component_id`, `checked_out`, `checked_out_time`, `browserNav`, `access`, `img`, `template_style_id`, `params`, `lft`, `rgt`, `home`, `language`, `client_id`) VALUES (1, '', 'Menu_Item_Root', 'root', '', '', '', '', 1, 0, 0, 0, 0, '0000-00-00 00:00:00', 0, 0, '', 0, '', 0, 45, 0, '*', 0)

Then go admin->menus->all menu items and click "Rebuild" in the top menu.
Last edit: 6 năm 5 tháng trước by Steven Pignataro.

Vui lòng Đăng nhập hoặc Tạo tài khoản để tham gia cuộc hội thoại.

6 năm 5 tháng trước #1787 bởi David Vargas
Replied by David Vargas on topic Error: JTableMenu::_getNode(1, ) failed.

it happens with Component Creator from time to time (I think it is because of two views with the same name, not sure...)


I can confirm this is the reason why it happens.

The bug was submitted to GitHub and we are working on it.

Meantime, it can only be solved manually as Steven indicates, as it modifies some external tables on install and uninstall.

Vui lòng Đăng nhập hoặc Tạo tài khoản để tham gia cuộc hội thoại.

Thời gian tải trang: 0.097 giây
Powered by Kunena Forum

We use cookies so that you can place orders and we can provide a better service. You can control the use of cookies at the individual browser level. If you reject cookies, you may still use our website, but your ability to use some features or areas of our website may be limited.