[Solved]After upgrade to 2.6.0a showing "UPDATE FOUND! CLICK TO UPDATE. 2.6.0a"

Started by gripped, May 10, 2014, 20:22:13 PM

Previous topic - Next topic

gripped

I updated using the live update button and also the aio component

I wasn't sure about the Live update part as no success message was given and there was still a button  "UPDATE FOUND! CLICK TO UPDATE. 2.6.0a"

So I updated again using the Joomla extension manager.
But it still shows "UPDATE FOUND! CLICK TO UPDATE. 2.6.0a"

I have checked and the files have been updated.
From administrator/components/com_virtuemart/version.php
class vmVersion {
/** @var string Product */
static $PRODUCT = 'VirtueMart';
/** @var int Release Number */
static $RELEASE = '2.6.0a';
/** @var string Development Status */
static $DEV_STATUS = 'MINOR';
/** @var string Codename */
static $CODENAME = 'PowerFox';
/** @var string Date */
static $RELDATE = 'May 08 2014';
/** @var string Time */
static $RELTIME = '1252';
/** @var string Timezone */
static $RELTZ = 'GMT';
/** @var string Revision */
static $REVISION = 'Revision: 7895';
/** @var string Copyright Text */
static $COPYRIGHT = 'Copyright (C) 2005-2012 VirtueMart Development Team  - All rights reserved.';
/** @var string URL */
static $URL = '<a href="http://virtuemart.net">VirtueMart</a> is a Free Component for Joomla! released under the GNU/GPL2 License.';
}


So why does the updater think I'm still on 2.6.0 ?

On a side note the Virtuemart 2 All in one Installer – Live Update screen now shows
"COM_VIRTUEMART_UPDATE_VMPLUGINTABLES" instead of "Update VM plugin tables"

jenkinhill

Do not use the live updater as it does not always work. Update using Joomla's extensions installer.

For the version message see http://forum.virtuemart.net/index.php?topic=120374.msg410089#msg410089
Kelvyn
Lowestoft, Suffolk, UK

Retired from forum life November 2023

Please mention your VirtueMart, Joomla and PHP versions when asking a question in this forum

gripped

OK. If it doesn't always work then maybe it should be removed and just tell people to download and install the update ?

I had already tried the steps suggested in the linked post. And tried rebooting the server.
It still shows "UPDATE FOUND! CLICK TO UPDATE. 2.6.0a"

Although it should probably say "UPDATE FOUND! CLICK TO UPDATE. 2.6.0a. MIGHT NOT WORK"  ;)

Where does the updater get the version from? I'll change it manually.

Thanks for your reply. :)

GJC Web Design

Personally I would just install again from the joomla installer - at least then you know it really has updated - and it can't do any harm...
GJC Web Design
VirtueMart and Joomla Developers - php developers https://www.gjcwebdesign.com
VM4 AusPost Shipping Plugin - e-go Shipping Plugin - VM4 Postcode Shipping Plugin - Radius Shipping Plugin - VM4 NZ Post Shipping Plugin - AusPost Estimator
Samport Payment Plugin - EcomMerchant Payment Plugin - ccBill payment Plugin
VM2 Product Lock Extension - VM2 Preconfig Adresses Extension - TaxCloud USA Taxes Plugin - Virtuemart  Product Review Component
https://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation

gripped

From my first post
QuoteSo I updated again using the Joomla extension manager.
Live update still thinks I'm on 2.6.0.

I've checked lots of files, they are all updated. The site works fine AFAICT.

gripped

OK I was wrong.

I hadn't used Joomla extention installer, I just thought I had.
I have Akeeba Backup Professional installed.
I knew it took backups automatically when upgrading components but it seems that it actually replaces the Joomla installer entirely.
Once I disabled the "System restore" plugin the installation was successful , but with a mysql error (which may be where the Live update and Akeeba installer were falling over). The database error was with the states table which I have changed in content and structure to better display UK counties.

I took a backup before and after and then did a diff. The only file which was different was administrator/components/com_virtuemart/virtuemart.xml. All the other files had been updated by the unfinished upgrades.

I'm just posting this a reference should anyone else have a similar issue.

GJC Web Design

GJC Web Design
VirtueMart and Joomla Developers - php developers https://www.gjcwebdesign.com
VM4 AusPost Shipping Plugin - e-go Shipping Plugin - VM4 Postcode Shipping Plugin - Radius Shipping Plugin - VM4 NZ Post Shipping Plugin - AusPost Estimator
Samport Payment Plugin - EcomMerchant Payment Plugin - ccBill payment Plugin
VM2 Product Lock Extension - VM2 Preconfig Adresses Extension - TaxCloud USA Taxes Plugin - Virtuemart  Product Review Component
https://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation

balai

Just for info Akeeba has stoped supporting the live update. They are doing it through the Joomla update process.
It would be good for VM to adopt this practice as well

jenkinhill

Kelvyn
Lowestoft, Suffolk, UK

Retired from forum life November 2023

Please mention your VirtueMart, Joomla and PHP versions when asking a question in this forum