Forum
Welcome, Guest
Please Login to access forum.
Re:Error creating admin menus (1 viewing) 
Go to bottom
TOPIC: Re:Error creating admin menus
#1755
Smel
Fresh Boarder
Posts: 9
User Offline
Error creating admin menus Karma: 0  
Jsitemap pro 3.2 cannot create Admin Menus in Joomla 3.4.0 although component is successfully installed.
The error message is
Code:

exception 'UnexpectedValueException' with message 'JTableMenu::_getNode(1, ) failed.' in C:\wamp\www\site\libraries\joomla\table\nested.php:1542 Stack trace: #0 C:\wamp\www\site\libraries\joomla\table\nested.php(783): JTableNested->_getNode(1) #1 C:\wamp\www\site\libraries\legacy\table\menu.php(215): JTableNested->store(false) #2 C:\wamp\www\site\libraries\cms\installer\adapter\component.php(1236): JTableMenu->store() #3 C:\wamp\www\site\libraries\cms\installer\adapter\component.php(966): JInstallerAdapterComponent->_createAdminMenuItem(Array, 1) #4 C:\wamp\www\site\libraries\cms\installer\adapter\component.php(307): JInstallerAdapterComponent->_buildAdminMenus(10110) #5 C:\wamp\www\site\libraries\cms\installer\adapter.php(754): JInstallerAdapterComponent->finaliseInstall() #6 C:\wamp\www\site\libraries\cms\installer\installer.php(469): JInstallerAdapter->install() #7 C:\wamp\www\site\administrator\components\com_installer\models\install.php(156): JInstaller->install('C:\\wamp\\www\\site...') #8 C:\wamp\www\site\administrator\components\com_installer\controllers\install.php(33): InstallerModelInstall->install() #9 C:\wamp\www\site\libraries\legacy\controller\legacy.php(728): InstallerControllerInstall->install() #10 C:\wamp\www\site\administrator\components\com_installer\installer.php(19): JControllerLegacy->execute('install') #11 C:\wamp\www\site\libraries\cms\component\helper.php(380): require_once('C:\\wamp\\www\\site...') #12 C:\wamp\www\site\libraries\cms\component\helper.php(360): JComponentHelper::executeComponent('C:\\wamp\\www\\site...') #13 C:\wamp\www\site\libraries\cms\application\administrator.php(98): JComponentHelper::renderComponent('com_installer') #14 C:\wamp\www\site\libraries\cms\application\administrator.php(152): JApplicationAdministrator->dispatch() #15 C:\wamp\www\site\libraries\cms\application\cms.php(251): JApplicationAdministrator->doExecute() #16 C:\wamp\www\site\administrator\index.php(42): JApplicationCms->execute() #17 {main}
Can you notice the double backslashes in the error code?
 
Logged Logged  
  The administrator has disabled public write access.
#1756
John Dagelmore
Admin
Posts: 3722
User Offline
Re:Error creating admin menus Karma: 79  
Hello,

what kind of error is this and where it appears? During installation of the component?
Post some more details....

John
 
Logged Logged  
  The administrator has disabled public write access.
#1757
Smel
Fresh Boarder
Posts: 9
User Offline
Re:Error creating admin menus Karma: 0  
It is a post-installation/reinstallation message.
 
Logged Logged  
  The administrator has disabled public write access.
#1758
John Dagelmore
Admin
Posts: 3722
User Offline
Re:Error creating admin menus Karma: 79  
Ok,

it looks like a Joomla issue on the database, when the Joomla class JTableMenu is used to create menu items. There could be a broken table with wrong relations, the file path is not a problem if you are using a local WAMP environment the file path with double backslashes is normal.
 
Logged Logged  
  The administrator has disabled public write access.
#1759
Smel
Fresh Boarder
Posts: 9
User Offline
Re:Error creating admin menus Karma: 0  
Attached is the post-install screenshot.
I had cleaned all db-related records before reinstallation.
Anyway can you post sql that will install Jsitemap-related ones in #__menu so that I can manually finish the process?
 
Logged Logged  
  The administrator has disabled public write access.
#1760
John Dagelmore
Admin
Posts: 3722
User Offline
Re:Error creating admin menus Karma: 79  
The creation of records for menus during the installation of extensions is done directly by Joomla not by the extension itself. Joomla build the admin menus, that warning could mean that some tables are not cleared. Eventually check that the following entry is not present in the table #__menu and also clear the table #__assets
 
Logged Logged  
  The administrator has disabled public write access.
Go to top