Support

Admin Tools

#35085 Error on update to v.6.0.4

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 on Wednesday, 19 May 2021 20:17 CDT

komir

Hi when try to update to the latest version v.6.0.4 get an error

 
Warning

You have a newer version of FOF installed. If you want to downgrade please uninstall FOF and install the older version.

Extension Update: Custom install routine failure. Duplicate entry '0' for key '#__extensions.PRIMARY' Package Update: There was an error installing an extension: com_admintools-pro.zip × Error Error installing package

4M CAD profesionalni CAD alat

tampe125
Akeeba Staff

Hello,

just to be sure, did you try to install Admin Tools twice in a row? Even if you get the error, does Admin Tools show the correct version inside the Control Panel?

Davide Tampellini

Developer and Support Staff

🇮🇹Italian: native 🇬🇧English: good • 🕐 My time zone is Europe / Rome (UTC +1)
Please keep in mind my timezone and cultural differences when reading my replies. Thank you!

komir

Now I remove full Admintools and try fresh install but get error

Warning Duplicate entry '0' for key '#__extensions.PRIMARY' Package Install: There was an error installing an extension: com_admintools-pro.zip × Error Error installing package

4M CAD profesionalni CAD alat

tampe125
Akeeba Staff

After some research, I suspect the problem comes from your database. By default, row ID are created automatically by the database, incrementing the value, the application passes a NULL (or 0) value for the row to be inserted and the database on the fly assigns a new ID.

Looking at your error, it seems that you host enable the flag NO_AUTO_VALUE_ON_ZERO (https://dev.mysql.com/doc/refman/5.7/en/sql-mode.html#sqlmode_no_auto_value_on_zero). You should contact them and report the error, since Joomla won't run at all.

Finally, please note that this error comes from Joomla itself, not our extension. You shouldn't be able to create new items (articles, modules etc etc) in Joomla itself, so you should really contact your host and ask him to fix it.

Davide Tampellini

Developer and Support Staff

🇮🇹Italian: native 🇬🇧English: good • 🕐 My time zone is Europe / Rome (UTC +1)
Please keep in mind my timezone and cultural differences when reading my replies. Thank you!

System Task
system
This ticket has been automatically closed. All tickets which have been inactive for a long time are automatically closed. If you believe that this ticket was closed in error, please contact us.

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!