Look in the #__menu table again. Do you have any entries with ids of 8 or 9? Do you have entries with ids of 108 or 109? What is the last entry id?
I suggest you copy the #__menu table to #__menu_bak so that you can easily revert to it if something goes wrong.
The following queries are used when a new installation is created. You will see where SELECT 8 and SELECT 9 are mentioned. If you do not have ids of 8 or 9 you can try these queries. If you do not have 108 and 109 you can change 8 and 9 to 108 and 109. If you do then try the next free ids after the last id in the table.
Replace #_ with your table prefix.
I suggest you copy the #__menu table to #__menu_bak so that you can easily revert to it if something goes wrong.
The following queries are used when a new installation is created. You will see where SELECT 8 and SELECT 9 are mentioned. If you do not have ids of 8 or 9 you can try these queries. If you do not have 108 and 109 you can change 8 and 9 to 108 and 109. If you do then try the next free ids after the last id in the table.
Replace #_ with your table prefix.
Code:
INSERT INTO `#__menu` (`id`, `menutype`, `title`, `alias`, `note`, `path`, `link`, `type`, `published`, `parent_id`, `level`, `component_id`, `browserNav`, `access`, `img`, `template_style_id`, `params`, `lft`, `rgt`, `home`, `language`, `client_id`, `publish_up`, `publish_down`)SELECT 8, 'main', 'com_contact_contacts', 'Contacts', '', 'Contacts/Contacts', 'index.php?option=com_contact&view=contacts', 'component', 1, 7, 2, `extension_id`, 0, 0, 'class:contact', 0, '', 12, 13, 0, '*', 1, NULL, NULL FROM `#__extensions` WHERE `name` = 'com_contact';INSERT INTO `#__menu` (`id`, `menutype`, `title`, `alias`, `note`, `path`, `link`, `type`, `published`, `parent_id`, `level`, `component_id`, `browserNav`, `access`, `img`, `template_style_id`, `params`, `lft`, `rgt`, `home`, `language`, `client_id`, `publish_up`, `publish_down`)SELECT 9, 'main', 'com_contact_categories', 'Categories', '', 'Contacts/Categories', 'index.php?option=com_categories&view=categories&extension=com_contact', 'component', 1, 7, 2, `extension_id`, 0, 0, 'class:contact-cat', 0, '', 14, 15, 0, '*', 1, NULL, NULL FROM `#__extensions` WHERE `name` = 'com_categories';
Statistics: Posted by ceford — Sat Jun 15, 2024 11:54 am