ListMessenger Logo
ListMessenger For Joomla 1.5.x WordMark
Home FAQ Turbo! Blog About Contact

When trying to re-install mosDirectory I get DB Error 1062


If you have uninstalled mosDirectory and then you try to reinstall it you will get an error message like

 SQL Error DB function failed with error number 1062
Duplicate entry '1' for key 1 SQL=INSERT INTO

 This is because my components do NOT remove tables when you uninstall the component - this is by design and prevents you removing your data by mistake and then blaming me :-)

If you need to reinstall mosDirectory after uninstalling it you have two options:

  1. Manually remove the database tables that have "_dir_" in them (use phpMyAdmin) before trying to reinstall mosDirectory - this will DELETE all your data!!!!

  2. Maually edit the XML file in the zip file you download from our site, remove the INSERT lines , they start with <query> INSERT .....   or <query><![CDATA[ INSERT and end the line with </query>, then save the XML file back into the zip and reinstall.

 

 



Joomla! is Free Software released under the GNU/GPL License.
This is not an official Joomla! Site, or Product. The use of the
word Joomla! is intended to describe what the product is designed
for and should not be considered an endorsement by the Joomla Project.