×
Please submit new Bug Reports on GitHub: github.com/Jensen-Technologies/component-creator-issues/issues
Error Building Administrator Menus
Richard Hellyer
Gæst
7 år 4 måneder siden #1603
af Richard Hellyer
Error Building Administrator Menus blev oprettet af Richard Hellyer
I've just upgraded to the premium version.
When I install my component (using Joomla 3.6.5) I get an error "Error Building Administrator Menus" and the component does not show up in my 'Components' menu in the backend.
The associated error messages are as follows
Message
Plugin musictrackmanager was installed successfully
Installation of the component was successful.
×
Error
exception 'UnexpectedValueException' with message 'JTableMenu::_getNode(1, ) failed.' in C:\wamp\www\ronit2017\libraries\joomla\table\nested.php:1523 Stack trace: #0 C:\wamp\www\ronit2017\libraries\joomla\table\nested.php(768): JTableNested->_getNode(1) #1 C:\wamp\www\ronit2017\libraries\legacy\table\menu.php(252): JTableNested->store(false) #2 C:\wamp\www\ronit2017\libraries\cms\installer\adapter\component.php(1291): JTableMenu->store() #3 C:\wamp\www\ronit2017\libraries\cms\installer\adapter\component.php(983): JInstallerAdapterComponent->_createAdminMenuItem(Array, 1) #4 C:\wamp\www\ronit2017\libraries\cms\installer\adapter\component.php(307): JInstallerAdapterComponent->_buildAdminMenus(10059) #5 C:\wamp\www\ronit2017\libraries\cms\installer\adapter.php(756): JInstallerAdapterComponent->finaliseInstall() #6 C:\wamp\www\ronit2017\libraries\cms\installer\installer.php(482): JInstallerAdapter->install() #7 C:\wamp\www\ronit2017\administrator\components\com_installer\models\install.php(187): JInstaller->install('C:\\wamp\\www\\ron...') #8 C:\wamp\www\ronit2017\administrator\components\com_installer\controllers\install.php(33): InstallerModelInstall->install() #9 C:\wamp\www\ronit2017\libraries\legacy\controller\legacy.php(702): InstallerControllerInstall->install() #10 C:\wamp\www\ronit2017\administrator\components\com_installer\installer.php(19): JControllerLegacy->execute('install') #11 C:\wamp\www\ronit2017\libraries\cms\component\helper.php(405): require_once('C:\\wamp\\www\\ron...') #12 C:\wamp\www\ronit2017\libraries\cms\component\helper.php(380): JComponentHelper::executeComponent('C:\\wamp\\www\\ron...') #13 C:\wamp\www\ronit2017\libraries\cms\application\administrator.php(98): JComponentHelper::renderComponent('com_installer') #14 C:\wamp\www\ronit2017\libraries\cms\application\administrator.php(152): JApplicationAdministrator->dispatch() #15 C:\wamp\www\ronit2017\libraries\cms\application\cms.php(261): JApplicationAdministrator->doExecute() #16 C:\wamp\www\ronit2017\administrator\index.php(51): JApplicationCms->execute() #17 {main}
Warning
Error building Administrator Menus.
When I install my component (using Joomla 3.6.5) I get an error "Error Building Administrator Menus" and the component does not show up in my 'Components' menu in the backend.
The associated error messages are as follows
Message
Plugin musictrackmanager was installed successfully
Installation of the component was successful.
×
Error
exception 'UnexpectedValueException' with message 'JTableMenu::_getNode(1, ) failed.' in C:\wamp\www\ronit2017\libraries\joomla\table\nested.php:1523 Stack trace: #0 C:\wamp\www\ronit2017\libraries\joomla\table\nested.php(768): JTableNested->_getNode(1) #1 C:\wamp\www\ronit2017\libraries\legacy\table\menu.php(252): JTableNested->store(false) #2 C:\wamp\www\ronit2017\libraries\cms\installer\adapter\component.php(1291): JTableMenu->store() #3 C:\wamp\www\ronit2017\libraries\cms\installer\adapter\component.php(983): JInstallerAdapterComponent->_createAdminMenuItem(Array, 1) #4 C:\wamp\www\ronit2017\libraries\cms\installer\adapter\component.php(307): JInstallerAdapterComponent->_buildAdminMenus(10059) #5 C:\wamp\www\ronit2017\libraries\cms\installer\adapter.php(756): JInstallerAdapterComponent->finaliseInstall() #6 C:\wamp\www\ronit2017\libraries\cms\installer\installer.php(482): JInstallerAdapter->install() #7 C:\wamp\www\ronit2017\administrator\components\com_installer\models\install.php(187): JInstaller->install('C:\\wamp\\www\\ron...') #8 C:\wamp\www\ronit2017\administrator\components\com_installer\controllers\install.php(33): InstallerModelInstall->install() #9 C:\wamp\www\ronit2017\libraries\legacy\controller\legacy.php(702): InstallerControllerInstall->install() #10 C:\wamp\www\ronit2017\administrator\components\com_installer\installer.php(19): JControllerLegacy->execute('install') #11 C:\wamp\www\ronit2017\libraries\cms\component\helper.php(405): require_once('C:\\wamp\\www\\ron...') #12 C:\wamp\www\ronit2017\libraries\cms\component\helper.php(380): JComponentHelper::executeComponent('C:\\wamp\\www\\ron...') #13 C:\wamp\www\ronit2017\libraries\cms\application\administrator.php(98): JComponentHelper::renderComponent('com_installer') #14 C:\wamp\www\ronit2017\libraries\cms\application\administrator.php(152): JApplicationAdministrator->dispatch() #15 C:\wamp\www\ronit2017\libraries\cms\application\cms.php(261): JApplicationAdministrator->doExecute() #16 C:\wamp\www\ronit2017\administrator\index.php(51): JApplicationCms->execute() #17 {main}
Warning
Error building Administrator Menus.
Venligst Log på eller Opret en konto for at deltage i samtalen
Richard Hellyer
Gæst
7 år 4 måneder siden #1604
af Richard Hellyer
Besvaret af Richard Hellyer på emne Error Building Administrator Menus
It turns out that this is a Joomla issue and not a problem with component-creator.
I tested by trying to install a completely different component (non-component-creator) and got the same error.
On investigation it appeared that my joomla #__menu table has become corrupted earlier (it was missing a record at id=1) and I had to fix that and rebuild the tables, which fixed the issue.
So, now I can install my component-creator component just fine and it works perfectly!
I tested by trying to install a completely different component (non-component-creator) and got the same error.
On investigation it appeared that my joomla #__menu table has become corrupted earlier (it was missing a record at id=1) and I had to fix that and rebuild the tables, which fixed the issue.
So, now I can install my component-creator component just fine and it works perfectly!
Venligst Log på eller Opret en konto for at deltage i samtalen
Tid til at oprette siden: 0.052 sekunder