Support

Pre-sales

#31768 LoginGuard installation warning, unclear how to proceed

Posted in ‘Pre-sales and Account Questions’
This is a public ticket

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

Latest post by nicholas on Wednesday, 18 September 2019 02:30 CDT

Ch3vr0n
Just grabbed LoginGuard. During initial installation the following warning appeared

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.
You already have a newer version of Akeeba Frontend Framework installed. If you want to downgrade please uninstall Akeeba Frontend Framework and install the older version.
If you see this message during the installation or update of an Akeeba extension please ignore it and the immediately following “Files Install: Custom install routine failure” message. They are expected but Joomla! won't allow us to prevent them from showing up.

Please look at the bold highlighted part. "and the immediately" is grammatically incorrect (should be "and then" ...?). I checked the documentation on github but couldn't find anything. Checked for over an hour, so with things being unclear on how to proceed after that error i had no choice but to uninstall again.

I also have the latest Akeeba backup and admin tools installed. I'd appreciate any guidance you are able to give.

Kind regards

nicholas
Akeeba Staff
Manager
A native English speaker with a very firm grasp of English grammar has confirmed that the message is grammatically correct. I understand why you might be confused, though. It's trying to succinctly convey a convoluted message. Here is the same message in a less ambiguous form.

If you see this message during either the installation or the update of an Akeeba extension you can safely ignore it. It is not, in fact, a real error. It is a direct consequence of Joomla lacking any sensible form of version management for extensions of the "library" type. We want to prevent accidental downgrades of library packages bundled with our software. Examples of such libraries are FOF and FEF. The only way to implement a safeguard against accidental downgrade is having their pre-installation script check if there is already an installed version. If there is an installed version and it is older than the version included in the package you are trying to install we have to return false from our pre-installation script check method. Joomla sees that and reports "Extension Update: Custom install routine failure." which, while factually correct, is confusing to the end user. Furthermore, this triggers another internal Joomla error reporting that has to do with extensions of the "package" type. A "package" extension is a collection of extensions that Joomla has to install all together. Since one of the included extensions (the "library" type extension) could not be installed Joomla reports “Files Install: Custom install routine failure”. This message will follow the "Extension Update: Custom install routine failure." error message. As explained in this paragraph, both of the error messages described in this paragraph and which should appear on your screen above and below this paragraph should be ignored. None of them signifies an error.

I would argue that this kind of long form error message is something nobody will read. In fact, I won't even argue. I already know because I've been there, done that and had to edit all error messages to 50 words or less. Hence the far more compact, grammatically correct message which explicitly tells you that what you see is not an error, just a stupid thing Joomla does.

Therefore the message you posted is BOTH grammatically correct AND answers your question: the installation did not fail, it succeeded.

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!