?
avatar joshelmich
joshelmich
27 Jul 2017

updatenotification.txt### PROBLEM

I get this info in an email which is repeatedly :( sent to my email address


this email IS NOT sent by Joomla.org. It is sent automatically by your own site,
BlahBlahBalh - http://www.blahblahblah.org/

================================================================================
UPDATE INFORMATION

Your site has discovered that there is an updated version of Joomla! available for download.

Joomla! version currently installed: 3.7.4
Joomla! version available for installation: 3.7.3

This email is sent to you by your site to remind you of this fact.
The Joomla! project will never contact you directly about available updates of Joomla! on your site.


SOLUTION

Email is sent by updatenotification.php line 148-152 is responsible for notifying me that there is older version than the one currently installed!

// Check the available version. If it's the same as the installed version we have no updates to notify about. Please change 'eq' operator. Thanks!!

if (version_compare($update->version, JVERSION, 'eq'))
{
	return;
}

Votes

# of Users Experiencing Issue
1/1
Average Importance Score
3.00

avatar joshelmich joshelmich - open - 27 Jul 2017
avatar joomla-cms-bot joomla-cms-bot - labeled - 27 Jul 2017
avatar joshelmich joshelmich - change - 27 Jul 2017
The description was changed
avatar joshelmich joshelmich - edited - 27 Jul 2017
avatar pacman10
pacman10 - comment - 2 Aug 2017

I'm getting exactly the same

Your site has discovered that there is an updated version of Joomla! available for download
Joomla! version currently installed: 3.7.4
Joomla! version available for installation: 3.7.3

several times a day but cannot work out from the steps under SOLUTION above what I have to do to stop it (who is supposed to change 'eq' operator, for example ?).

I've also spent quite some time going through the Joomla forum but cannot find any solutions I can understand. Everything seems to be in tech-speak and encrypted with obscure acronyms.

Surely there must be a simple solution with simple menu steps published somewhere.


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/17299.

avatar franz-wohlkoenig franz-wohlkoenig - change - 2 Aug 2017
Status New Discussion
avatar joshelmich
joshelmich - comment - 2 Aug 2017

file /plugins/system/updatenotification/updatenotification.php

is the culprit

where now is 'eq' should be 'gt' (see http://php.net/manual/en/function.version-compare.php)


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/17299.

avatar pacman10
pacman10 - comment - 2 Aug 2017

Thanks very much for this rapid answer. Much appreciated.

So if I understand correctly I should go to
file /plugins/system/updatenotification/updatenotification.php
and edit that file to change 'eq' to 'gt' and that will solve my problem until Joomla! is updated again (unless the Joomla! powers-that-be in the meantime change the error themselves) ? Is that correct ? If so, where do I find the folder
file /plugins/system/updatenotification ?
I've logged onto my site with FileZilla but cannot find it.

P.S. Aaaah, sorry. I've found a file with the same name at /public_html/plugins/system/updatenotification. So now I edit the updatenotification.php there, right ?

avatar joshelmich
joshelmich - comment - 2 Aug 2017

All correct. Good luck!


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/17299.

avatar joshelmich
joshelmich - comment - 2 Aug 2017

It could be that the operator needs to ">=" in stead of "gt". Anyway you know what to tweak.


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/17299.

avatar pacman10
pacman10 - comment - 2 Aug 2017

Thanks very much, also for the clear instructions. I've changed it to ">=". As several of those incorrect notification mails were coming in each day I should soon see whether the change has had the desired result.

avatar franz-wohlkoenig franz-wohlkoenig - change - 3 Aug 2017
Status Discussion Closed
Closed_Date 0000-00-00 00:00:00 2017-08-03 04:19:28
Closed_By franz-wohlkoenig
avatar joomla-cms-bot joomla-cms-bot - change - 3 Aug 2017
Closed_Date 2017-08-03 04:19:28 2017-08-03 04:19:29
Closed_By franz-wohlkoenig joomla-cms-bot
avatar joomla-cms-bot joomla-cms-bot - close - 3 Aug 2017
avatar joomla-cms-bot
joomla-cms-bot - comment - 3 Aug 2017
avatar franz-wohlkoenig
franz-wohlkoenig - comment - 3 Aug 2017

closed as having PR #17387


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/17299.

avatar pacman10
pacman10 - comment - 3 Aug 2017

Since implementing the solution suggested by joshelmich in this thread I have no longer received any of the incorrect notification mails. As they were coming in every couple of hours before implementing the solution, and as the previous "gt" was clearly wrong, and as implementing the solution (change to ">=") has stopped the problem I conclude that that "gt" was the source of the error.

Add a Comment

Login with GitHub to post a comment