Actions

J2.5

Reinstalling deleted Joomla 2.5 core extensions

From Joomla! Documentation

Revision as of 17:22, 16 April 2012 by Pe7er (Talk | contribs)

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

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:

  • Name
  • Directories + files to re-upload (front-end and back-end)
  • 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_ )

Banners

Upload all files & directories under:

  • /administrator/components/com_banners/
  • /components/com_banners/

Use phpMyAdmin to run the following SQL statements to recreate the references:

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":[]}');