new version notifications not working

Help with getting the CMS CORE package up and running. This does not include 3rd party modules, PHP scripts, anything downloaded via module manager or from any external source.
Locked
dannycms
New Member
New Member
Posts: 5
Joined: Thu Dec 23, 2010 12:06 am

new version notifications not working

Post by dannycms »

Just a small point... I've not been receiving new version notifications when logging in to the CMSMS Admin Console.

It appears that header.php is calling 'www.cmsmadesimple.org/latest_version.php' to get the latest version and exploding it to an array of strings to compare with the installed version given in version.php. Trouble is the exploded version number from cmsmadesimple.org contains whitespace and the installed version number from version.php doesn't - so the comparison using PHP's version_compare function doesn't evaluate as -1 to indicate a new version is available.

Stripping the whitespace from the latest version value in the exploded array generates the new version notification correctly. Observed and tested in 1.9.4.1

Maybe most people don't find this an issue though - there seem to be a few posts suggesting that the time taken to check versions in the backend is wasted?

Personally I would find it useful - I'd like the check to work on a development server even if it were switched off for a client server.
Locked

Return to “[locked] Installation, Setup and Upgrade”