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.
Tuesday, 17 September 2019 14:40 CDT
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
 
Ch3vr0n
Wednesday, 18 September 2019 02:30 CDT
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



Please keep in mind my timezone and cultural differences when reading my replies. Thank you!



nicholas
This ticket is closed, therefore read-only. You can no longer reply to it. If you need to provide more information, please open a new ticket and mention this ticket's number.

Support Information

Working hours: Typically we work Monday to Friday, 9am to 7pm Cyprus timezone (EEST). Support is provided by the same developers writing the software, all of which live in Europe. You can still file tickets, but we cannot respond to them, outside of our working hours.

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!

Cookies Notification - Action required

This website uses cookies to provide user authentication and improve your user experience. Please indicate whether you consent to our site placing these cookies on your device. You can change your preference later, from the controls which will be made available to you at the bottom of every page of our site.