Manual Removal Guide
Table of Contents
Overview
Sometimes a component will fail to install correctly for a variety of reasons such as a server timeout, insufficient resources or a permissions issue just to name a few. Another scenario is that the system does not completely remove all the related component data while uninstalling. In cases such as these you can do it manually with the following steps.
Database Records
To manually remove all references to component in the database a series of SQl queries can be executed using a tool such as phpMyAdmin. Before doing this, it's important that you are familiar with the basic principals and commands of SQL.
Example
Here is an example for removing the database records related to the CoalaWeb Traffic component.
-- Experienced database users only
-- Run these queries in a database editor such phpMyAdmin
-- Manual removal of CoalaWeb Traffic component from a Joomla database
-- Change the #__ to your current Joomla database prefix
DELETE FROM `#__schemas` WHERE `extension_id` = (SELECT `extension_id` FROM `#__extensions` WHERE `type` = 'component' AND `name` = 'com_coalawebtraffic');
DELETE FROM `#__extensions` WHERE `name` = 'com_coalawebtraffic';
DELETE FROM `#__assets` WHERE `name` = 'com_coalawebtraffic';
DELETE FROM `#__menu` WHERE `type` = 'component' AND `title` LIKE '%com_coalawebtraffic%';
DELETE FROM `#__session` WHERE `data` LIKE '%com_coalawebtraffic%';
Menu Fix
Occasionally component menu links are not displayed in the Joomla components menu, to fix this try running these SQL queries:
-- Experienced database users only
-- Run these queries in a database editor such phpMyAdmin
-- Manually publishing of the CoalaWeb Traffic component menu items
-- Change the #__ to your current Joomla database prefix
UPDATE `#__menu` SET `published` = '1' WHERE `type` = 'component' AND `title` LIKE '%com_coalawebtraffic%';
UPDATE `#__menu` SET `component_id` = (SELECT `extension_id` FROM `#__extensions` WHERE `type` = 'component' AND `name` = 'com_coalawebtraffic') WHERE `type` = 'component' AND `title` LIKE '%com_coalawebtraffic%';
File Removal
If you are removing the component manually, it is possible that some files and folders of the related component will remain on your server. In cases such as these you can connect to your server with a FTP client and delete them manually.
Example
For example, if you wanted to remove the CoalaWeb Traffic component you would delete the following folders:
components/com_coalawebtraffic
administrator/components/com_coalawebtraffic
media/coalawebtraffic
and these files:
language/en-GB/en-GB.com_coalawebtraffic.ini
language/en-GB/en-GB.com_coalawebtraffic.sys.ini
administrator/language/en-GB/en-GB.com_coalawebtraffic.ini
administrator/language/en-GB/en-GB.com_coalawebtraffic.sys.ini
TMP Folder
Sometimes you may need to empty the main tmp folder which is normally found in root of your Joomla installation but if you are not sure of its exact location you can check by going to:
Global Configuration -> Server Server Settings -> Path to Temp Folder
It only contains temporary files and folders so there shouldn't be any important data stored here and so it's safe to be cleaned up if needed.