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

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

7 года 4 мес. назад #1580 от Russell English
Russell English создал тему: Error: JTableMenu::_getNode(1, ) failed.
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?
Спасибо сказали: conNeTv, Ryan, Andrew Kershaw

Пожалуйста Войти или Регистрация, чтобы присоединиться к беседе.

6 года 5 мес. назад - 6 года 5 мес. назад #1786 от Steven Pignataro
Steven Pignataro ответил в теме 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.
Последнее редактирование: 6 года 5 мес. назад пользователем Steven Pignataro.

Пожалуйста Войти или Регистрация, чтобы присоединиться к беседе.

6 года 5 мес. назад #1787 от David Vargas
David Vargas ответил в теме 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.

Пожалуйста Войти или Регистрация, чтобы присоединиться к беседе.

Время создания страницы: 0.070 секунд
Работает на Kunena форум

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.