2.2.1: Version still shown as "there is an update"
Moderator: mkoch227
2.2.1: Version still shown as "there is an update"
Hi
I downloaded the latest version from your site, translated (German translation is posted) but in the settings I still get the message, that "Mods for HESK Version: 2.2.1 - Aktualisierung verfügbar" - there IS an update available - which does not seem to be correct.
Olaf
I downloaded the latest version from your site, translated (German translation is posted) but in the settings I still get the message, that "Mods for HESK Version: 2.2.1 - Aktualisierung verfügbar" - there IS an update available - which does not seem to be correct.
Olaf
* Datenbankentwicklung *
* Individuell, Hochwertig, Transparent, Regional *
* http://www.datenbank-projekt.de *
* Individuell, Hochwertig, Transparent, Regional *
* http://www.datenbank-projekt.de *
Re: 2.2.1: Version still shown as "there is an update"
Well that's strange... I just check the latest version being returned on the Mods for HESK website, and it is returning 2.2.1. Try deleting __latest-mfh.txt from your attachments directory (it holds a cached version of the latest version) and refresh the page. It should re-cache the latest version.
Mike, Lead Developer of
HESK: A surprisingly simple, user-friendly and FREE help desk software with integrated knowledgebase.
Re: 2.2.1: Version still shown as "there is an update"
Hi
your suggestion did not work:

Olaf
your suggestion did not work:

Olaf
* Datenbankentwicklung *
* Individuell, Hochwertig, Transparent, Regional *
* http://www.datenbank-projekt.de *
* Individuell, Hochwertig, Transparent, Regional *
* http://www.datenbank-projekt.de *
Re: 2.2.1: Version still shown as "there is an update"
It looks like your instance isn't properly caching the latest version. Instead of storing:
it should be storing
Just out of curiosity, change __latest-mfh.txt to:
and see if it still says Update Available. Be sure to delete this though after testing, as it will be never be re-cached until 2038!
Code: Select all
1430149471|
Code: Select all
1430149471|2.2.1
Code: Select all
1599688800|2.2.1
Mike, Lead Developer of
HESK: A surprisingly simple, user-friendly and FREE help desk software with integrated knowledgebase.
Re: 2.2.1: Version still shown as "there is an update"
Hi,
yes, this worked: Mods for HESK Version: 2.2.1 - Mods for HESK ist aktuell
Olaf
yes, this worked: Mods for HESK Version: 2.2.1 - Mods for HESK ist aktuell
Olaf
* Datenbankentwicklung *
* Individuell, Hochwertig, Transparent, Regional *
* http://www.datenbank-projekt.de *
* Individuell, Hochwertig, Transparent, Regional *
* http://www.datenbank-projekt.de *
Re: 2.2.1: Version still shown as "there is an update"
Ok, so the issue is definitely with the version not being appended to the file. Create a new file in the root folder of your helpdesk called "test.php", and copy and paste the following into it:
then, go to http://<your helpdesk location>/test.php, and let me know if anything is displayed on the screen.
Code: Select all
<?php
echo file_get_contents("http://mods-for-hesk.mkochcs.com/latestversion.php");
Mike, Lead Developer of
HESK: A surprisingly simple, user-friendly and FREE help desk software with integrated knowledgebase.
Re: 2.2.1: Version still shown as "there is an update"
Hi
no, absolutey nothing.
Olaf
no, absolutey nothing.
Olaf
* Datenbankentwicklung *
* Individuell, Hochwertig, Transparent, Regional *
* http://www.datenbank-projekt.de *
* Individuell, Hochwertig, Transparent, Regional *
* http://www.datenbank-projekt.de *
Re: 2.2.1: Version still shown as "there is an update"
Ok, so it looks like file_get_contents isn't working externally. Do you know if you hvae cURL enabled? That can be checked by updating test.php to be:
If cURL is enabled, then we can see what cURL is doing with the request. Otherwise, it appears that you will have to disable auto-update checking for Mods for HESK (which I will need to add a setting for in 2.3.0
)
Code: Select all
<?php
var_dump(function_exists('curl_version'));

Mike, Lead Developer of
HESK: A surprisingly simple, user-friendly and FREE help desk software with integrated knowledgebase.
Re: 2.2.1: Version still shown as "there is an update"
Hi
it returns: boolean true
Olaf
it returns: boolean true
Olaf
* Datenbankentwicklung *
* Individuell, Hochwertig, Transparent, Regional *
* http://www.datenbank-projekt.de *
* Individuell, Hochwertig, Transparent, Regional *
* http://www.datenbank-projekt.de *
Re: 2.2.1: Version still shown as "there is an update"
Ok, now try this code (sorry for so many different tests, however each result is helpful
)

Code: Select all
<?php
if (function_exists('curl_init'))
{
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, 'http://mods-for-hesk.mkochcs.com/latestversion.php');
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
curl_setopt($ch, CURLOPT_CONNECTTIMEOUT, 6);
$latest = curl_exec($ch);
curl_close($ch);
echo $latest;
}
else
{
echo 'cURL not available';
}
Mike, Lead Developer of
HESK: A surprisingly simple, user-friendly and FREE help desk software with integrated knowledgebase.
Re: 2.2.1: Version still shown as "there is an update"
Hi
the result is ... nothing, a totally empty page again.
Olaf
the result is ... nothing, a totally empty page again.
Olaf
* Datenbankentwicklung *
* Individuell, Hochwertig, Transparent, Regional *
* http://www.datenbank-projekt.de *
* Individuell, Hochwertig, Transparent, Regional *
* http://www.datenbank-projekt.de *
Re: 2.2.1: Version still shown as "there is an update"
Hi Mike,
just to let you know: It seemed that it was a configuration error on the server (there was a server switch). HESK and other software were for example also unable to retrieve mail from an SMTP server.
I am not sure what was the reason, but it's working just fine.
Thanks
Olaf
just to let you know: It seemed that it was a configuration error on the server (there was a server switch). HESK and other software were for example also unable to retrieve mail from an SMTP server.
I am not sure what was the reason, but it's working just fine.
Thanks
Olaf
* Datenbankentwicklung *
* Individuell, Hochwertig, Transparent, Regional *
* http://www.datenbank-projekt.de *
* Individuell, Hochwertig, Transparent, Regional *
* http://www.datenbank-projekt.de *
Re: 2.2.1: Version still shown as "there is an update"
So HESK is now properly caching the latest version?
Mike, Lead Developer of
HESK: A surprisingly simple, user-friendly and FREE help desk software with integrated knowledgebase.
Re: 2.2.1: Version still shown as "there is an update"
Hi
it seems so. The problem was it could probably just not connect to the server and because of this the variable stayed empty.
Olaf
it seems so. The problem was it could probably just not connect to the server and because of this the variable stayed empty.
Olaf
* Datenbankentwicklung *
* Individuell, Hochwertig, Transparent, Regional *
* http://www.datenbank-projekt.de *
* Individuell, Hochwertig, Transparent, Regional *
* http://www.datenbank-projekt.de *