Support

Admin Tools

#11809 Update J2.5.3 to J.2.5.4 error 1062

Posted in ‘Admin Tools for Joomla! 4 & 5’
This is a public ticket

Everybody will be able to see its contents. Do not include usernames, passwords or any other sensitive information.

Environment Information

Joomla! version
n/a
PHP version
n/a
Admin Tools version
n/a

Latest post by nicholas on Tuesday, 03 April 2012 03:53 CDT

user7157
Mandatory information about my setup:

Have I read the related troubleshooter articles above before posting (which pages?)? NA
Have I searched the tickets before posting? No (not relevant)
Have I read the documentation before posting (which pages?)? Yes
Joomla! version: 2.5.4
PHP version: 5.2.17
MySQL version: 5.1.56
Host: (optional, but it helps us help you)HOSTGATOR
Admin Tools version: 2.2.2

Description of my issue:
When following the link emailed to me the updater errored with 1062 but it looks as if the update went throug any way? Do I have to do anything to the site (restore backup?) or is it ok to keep the site up and running. Please see attachment

Thx in advance

nicholas
Akeeba Staff
Manager
You have used jUpgrade to upgrade your formerly Joomla! 1.5 site to Joomla! 2.5. jUpgrade is buggy and squashes all IDs, including menu item IDs. This creates a big problem.

Joomla! 1.6 and later is built on the hypothesis that certain IDs in the menu, assets and extensions tables are free, because this is how its installation is designed to handle database the default contents. As a result, some SQL files in the update packages use those supposedly free IDs to install new features. Unfortunately, jUpgrade squashes those IDs, causing SQL errors during the update. Ergo, the problem is neither with Admin Tools, nor Joomla!. It is a problem created during the upgrade of your site.

In order to work around the issue caused by the 2.5.3 to 2.5.4 upgrade, you will have to run the following SQL command in phpMyAdmin:
INSERT INTO `#__menu` (`menutype`, `title`, `alias`, `note`, `path`, `link`, `type`, `published`, `parent_id`, `level`, `component_id`, `ordering`, `checked_out`, `checked_out_time`, `browserNav`, `access`, `img`, `template_style_id`, `params`, `lft`, `rgt`, `home`, `language`, `client_id`) VALUES
('menu', 'com_joomlaupdate', 'Joomla! Update', '', 'Joomla! Update', 'index.php?option=com_joomlaupdate', 'component', 0, 1, 1, 28, 0, 0, '0000-00-00 00:00:00', 0, 0, 'class:joomlaupdate', 0, '', 41, 42, 0, '*', 1);

replacing #__ with your site's database name prefix (the common part of your site's database table names, up to and including the underscore).

Nicholas K. Dionysopoulos

Lead Developer and Director

🇬🇷Greek: native 🇬🇧English: excellent 🇫🇷French: basic • 🕐 My time zone is Europe / Athens
Please keep in mind my timezone and cultural differences when reading my replies. Thank you!

user7157
Thx Nick. That is done. Do I have to reapply the joomla update patch?

Thanks for your help!!

nicholas
Akeeba Staff
Manager
You're welcome!

No, you don't have to reapply the update. The only thing which was missing was running this query.

Nicholas K. Dionysopoulos

Lead Developer and Director

🇬🇷Greek: native 🇬🇧English: excellent 🇫🇷French: basic • 🕐 My time zone is Europe / Athens
Please keep in mind my timezone and cultural differences when reading my replies. Thank you!

user7157
Thx

nicholas
Akeeba Staff
Manager
You're welcome!

Nicholas K. Dionysopoulos

Lead Developer and Director

🇬🇷Greek: native 🇬🇧English: excellent 🇫🇷French: basic • 🕐 My time zone is Europe / Athens
Please keep in mind my timezone and cultural differences when reading my replies. Thank you!

Support Information

Working hours: We are open Monday to Friday, 9am to 7pm Cyprus timezone (EET / EEST). Support is provided by the same developers writing the software, all of which live in Europe. You can still file tickets outside of our working hours, but we cannot respond to them until we're back at the office.

Support policy: We would like to kindly inform you that when using our support you have already agreed to the Support Policy which is part of our Terms of Service. Thank you for your understanding and for helping us help you!