Actions

J2.5

Difference between revisions of "Reinstalling deleted Joomla 2.5 core extensions"

From Joomla! Documentation

(16 intermediate revisions by one user not shown)
Line 1: Line 1:
 
Some Joomla 2.5.x core components (Banners, Contacts, Newsfeeds, Smart Search, and Weblinks) can be deleted via the Back-end: Extensions > Extension Manager > Manage > (select + delete)
 
Some Joomla 2.5.x core components (Banners, Contacts, Newsfeeds, Smart Search, and Weblinks) can be deleted via the Back-end: Extensions > Extension Manager > Manage > (select + delete)
Core component installation packages don't exist because it's too much work to maintain.
 
  
= Reinstallation information per core-component =
+
Core component installation packages don't exist because it's too much work to maintain, and Joomla 2.5 has a nice feature called "discover".
With some FTP & phpMyAdmin knowledge you will be able to reinstall deleted core components.
+
In general, if you have deleted some core component by mistake, use the following steps to reinstall:
+
* Download & unzip the Joomla Full 2.5.x package of your current version
+
* Before following the next steps, backup your site (files + database)
+
* Re-upload the component's files for the front-end and the back-end (see info below)
+
* Re-create the reference to the component in your database with phpMyAdmin (see info below)
+
  
Next you will find the necessary information to reinstall a core component, all displayed in the format:
+
'''Note:''' The following method is recommended:  
* Name
+
* upload the contents of a Joomla full package (without /installation/ directory) to your website
* Directories + files to re-upload (front-end and back-end)
+
* use Extensions > Extension Manager > Discover to discover & install uninstalled extensions.
* SQL query to run in phpMyAdmin to restore the reference in the jos_components table ('''note:''' '''assuming that your table prefix is the default jos_''' )
+
* The components table structures + the component reference in #__extensions + the component menu items will all be created automatically.
 +
* The component reference in #__assets will not be created using "discover": to recreate, use Components > [component name] > [Options] (icon in upper right corner) > Permissions (tab) > [save & close]
  
== Banners ==
+
<noinclude>
Upload all files & directories under:
+
[[Category:Tips and tricks 2.5|Components]]
* /administrator/components/com_banners/
+
[[Category:Components]]
* /components/com_banners/
+
</noinclude>
 
+
Use phpMyAdmin to run the following SQL statements to recreate the references:
+
=== Banner reference in Assets table ===
+
<source lang="sql">INSERT INTO `jos_assets` VALUES(3, 1, 3, 6, 1, 'com_banners', 'com_banners', '{"core.admin":{"7":1},"core.manage":{"6":1},"core.create":[],"core.delete":[],"core.edit":[],"core.edit.state":[]}');</source>
+

Revision as of 18:48, 16 April 2012

Some Joomla 2.5.x core components (Banners, Contacts, Newsfeeds, Smart Search, and Weblinks) can be deleted via the Back-end: Extensions > Extension Manager > Manage > (select + delete)

Core component installation packages don't exist because it's too much work to maintain, and Joomla 2.5 has a nice feature called "discover".

Note: The following method is recommended:

  • upload the contents of a Joomla full package (without /installation/ directory) to your website
  • use Extensions > Extension Manager > Discover to discover & install uninstalled extensions.
  • The components table structures + the component reference in #__extensions + the component menu items will all be created automatically.
  • The component reference in #__assets will not be created using "discover": to recreate, use Components > [component name] > [Options] (icon in upper right corner) > Permissions (tab) > [save & close]