J3.x

Difference between revisions of "AJAX and Content History menu items are displaying in the components menu"

From Joomla! Documentation

(Provided SQL statement)
m (→‎How to fix: added source tags)
Line 6: Line 6:
  
 
You can remove that using phpMyAdmin dropping the row in #__menu that refers to com_ajax.
 
You can remove that using phpMyAdmin dropping the row in #__menu that refers to com_ajax.
 
+
<source lang="sql">
SQL: DELETE FROM `#__menu` WHERE component_id = (SELECT extension_id FROM `#__extensions` WHERE `name` = 'com_ajax')
+
DELETE FROM `#__menu` WHERE component_id = (SELECT extension_id FROM `#__extensions` WHERE `name` = 'com_ajax')
 +
</source>
 
Replace #_ with your prefix
 
Replace #_ with your prefix
  

Revision as of 12:37, 21 November 2013

What is the cause[edit]

When a site is upgraded from Joomla 3.1 to 3.2 using FTP or another manual upgrade, a number of extensions show up through the discover install method. When Discovery Install is used for those extensions, AJAX and Content History show up in Components sub-menu.

How to fix[edit]

Create a backup, then delete the "com_ajax" entry in the _menu table (you can search for it in the title column). Afterward, delete the "com_contenthistory" entry in the same table.

You can remove that using phpMyAdmin dropping the row in #__menu that refers to com_ajax.

DELETE FROM `#__menu` WHERE component_id = (SELECT extension_id FROM `#__extensions` WHERE `name` = 'com_ajax')

Replace #_ with your prefix