VirtueMart Forum

VirtueMart 2 + 3 + 4 => Installation, Migration & Upgrade => Topic started by: MoneyMagnets on October 17, 2011, 09:04:11 AM

Title: [Solved] How to upgrade to 1.9.8i?
Post by: MoneyMagnets on October 17, 2011, 09:04:11 AM
Hi,

Joomla 1.7
VM 1.9.8H

when I upgraded to 1.9.8i before it caused all sorts of problems so I thought I'd ask before trying again how do I upgrade from 1.9.8H to 1.9.8i? I'm assuming it was the way I upgraded that caused the issues.

Thanks for your help,
Karen 
Title: Re: How to upgrade to 1.9.8i?
Post by: Adrian Cumpanasu on October 17, 2011, 14:49:36 PM
I upgraded by extracting component in temp on site, and installing from there.
The problem is that all subcategories where now belonging to just one category. So my categories appeared empty except one.

I purged catches first and because it was no change I reverted files an drequested a database restore from host provider. But waiting for the database restore I noticed that the tree of categories and all was working.
Was it because the files restore or because it needed time ti settle?

I don't remember when after upgrade I installed AIO and if it may be the reason for the repair.

So, how is best to upgrade?
Title: Re: How to upgrade to 1.9.8i?
Post by: Milbo on October 17, 2011, 15:36:31 PM
Why do you think so complex?

Just install it,. with j installer. NO extrating, no temp nothing. Just use the normal joomla installer.
Title: Re: How to upgrade to 1.9.8i?
Post by: MoneyMagnets on October 17, 2011, 21:06:02 PM
Quote from: Milbo on October 17, 2011, 15:36:31 PM
Why do you think so complex?

Just install it,. with j installer. NO extrating, no temp nothing. Just use the normal joomla installer.

Hi Milbo,

As I mentioned I did this last time and got all sort of errors with shipping module so I assumed that this was the wrong way to do it. I'll try again to upload it through joomla and see what happens this time.

Thanks,
Karen
Title: Re: How to upgrade to 1.9.8i?
Post by: MoneyMagnets on October 17, 2011, 21:28:16 PM
I upgraded through joomla and I have an error in the shopping cart:
Warning: Cannot use a scalar value as an array in /home/kaz101/public_html/...../plugins/vmshipper/weight_countries/weight_countries.php on line 404

This post here says that files need to be moved http://forum.virtuemart.net/index.php?topic=91898.0
which files and where do I move them too?

Thanks,
Karen
Title: Re: How to upgrade to 1.9.8i?
Post by: Milbo on October 17, 2011, 21:40:17 PM
Of course you must also update the plugins the same way as vm with the aio installer. It also works as updater. Please look here http://dev.virtuemart.net/projects/virtuemart/wiki/Tools
Title: Re: How to upgrade to 1.9.8i?
Post by: Milbo on October 17, 2011, 21:41:14 PM
Quote from: MoneyMagnets on October 17, 2011, 21:28:16 PM
This post here says that files need to be moved http://forum.virtuemart.net/index.php?topic=91898.0

This advice is only for svn users. So when you just use the AIO, then you dont have todo this.
Title: Re: How to upgrade to 1.9.8i?
Post by: ronin75 on October 17, 2011, 22:40:06 PM
hi
i have just upgraded from 1.9.8g to 1.9.8i. after upgrrade the frontend on the navigation menu is empty as in the site does no load anything. no error but nothing on the actual page. no even the template loads. any ideas would be appreciated.
thank you
Title: Re: How to upgrade to 1.9.8i?
Post by: MoneyMagnets on October 18, 2011, 00:20:36 AM
Quote from: Milbo on October 17, 2011, 21:41:14 PM
Quote from: MoneyMagnets on October 17, 2011, 21:28:16 PM
This post here says that files need to be moved http://forum.virtuemart.net/index.php?topic=91898.0

This advice is only for svn users. So when you just use the AIO, then you dont have todo this.

Hi Milbo,

I don't have any other extensions. It's a new joomla 1.7 installation with VM2 being the only extension.

How do I get rid of the error that I have?
Warning: Cannot use a scalar value as an array in /home/......../plugins/vmshipper/weight_countries/weight_countries.php on line 404   

Thanks,
Karen
Title: Re: How to upgrade to 1.9.8i?
Post by: Milbo on October 18, 2011, 00:31:01 AM
virtuemart is without extensions not useable, payment, shipment all done with extension, so you must use the aio
Title: Re: How to upgrade to 1.9.8i?
Post by: MoneyMagnets on October 18, 2011, 00:41:56 AM
Quote from: Milbo on October 18, 2011, 00:31:01 AM
virtuemart is without extensions not useable, payment, shipment all done with extension, so you must use the aio

Sorry to seem so stupid - when you say use the aio what do you mean? I have it there as a component but when I go into it there is nothing showing. No buttons or anything else other than the normal backend joomla menu. Should it be showing something?

How do I use it to load extensions or do I load extensions the usual way through joomla and then they are shown in the aio?
Where is the download for the extensions that I need for VM2?

Thanks,
Karen
Title: Re: How to upgrade to 1.9.8i?
Post by: Milbo on October 18, 2011, 09:29:35 AM
How did you used the aio the first time? you installed it. Now do exactly the same. The AIO (all in one installer) updates all extensions which are brought with it.
Title: Re: How to upgrade to 1.9.8i?
Post by: jelly on October 18, 2011, 11:36:20 AM
May be I am stupid too  ;D

I simply upgraded by pushing the button in VM2 backend, on the left side under the menubar, which now shows: You have the latest version 2.0.0-RC-2i.

However, the frontend of the website gives the following error message:

Warning: Cannot use a scalar value as an array in E:\xampp\htdocs\testsite\plugins\vmshipper\weight_countries\weight_countries.php on line 404

Catchable fatal error: Argument 2 passed to plgVmShipperWeight_countries::plgVmOnShipperSelectedCalculatePrice() must be an instance of TableShippingCarriers, array given in E:\xampp\htdocs\testsite\plugins\vmshipper\weight_countries\weight_countries.php on line 187


Karen, my Virtuemart/AIO installer component shows also nothing at all...
I also have no other plugins or extensions installed yet...

I must say the AIO thingy is very hazy, at first I did not even know where the abbreviation AIO stood for, that was the first thing I had to find out. ::)
Title: Re: How to upgrade to 1.9.8i?
Post by: alatak on October 18, 2011, 19:38:50 PM
Hi

Did you also installed the AIO component?
Can you do it?
Title: Re: How to upgrade to 1.9.8i?
Post by: Milbo on October 18, 2011, 19:39:28 PM
Quote from: jelly on October 18, 2011, 11:36:20 AM
Karen, my Virtuemart/AIO installer component shows also nothing at all...
I also have no other plugins or extensions installed yet...

I must say the AIO thingy is very hazy, at first I did not even know where the abbreviation AIO stood for, that was the first thing I had to find out. ::)

of course you have other plugins and extensions installed
Quote from: Milbo on October 18, 2011, 00:31:01 AM
virtuemart is without extensions not useable, payment, shipment all done with extension, so you must use the aio

The Aio installs for you the plugins and modules wich are provided with the core. The error above "Warning: Cannot use a scalar value as an array in /home/" is known and happens, when you use an old shipment plugin with the newer core.

To fix the error, go in joomla installation, choose install, choose the aio for installation, press install, done. You may have to reconfigure your plugins.

Quote from: alatak on October 18, 2011, 19:38:50 PM
Hi

Did you also installed the AIO component?
Can you do it?
they did because the error is on plugins\vmshipper\weight_countries\weight_countries.php on line 404, which they can only have using the svn or the aio.
Title: Re: How to upgrade to 1.9.8i?
Post by: MoneyMagnets on October 18, 2011, 20:02:50 PM
At long last I worked out what had happened after going through Milbo's comments again and again.

The file that I was told to upgrade to in the back office of VM2 was NOT the extract first file but the main zip file without the AIO (I assume it means All in One). When I downloaded the file from http://dev.virtuemart.net/projects/virtuemart/files then it includes the extract first file AND the AIO file and so I don't get an error when I install the AIO as well as the main extract zip file.

Thanks Milbo for pointing me in the correct direction.

In future when the VM2 component says that there's a file to upgrade it would be easier (and less time consuming for people like myself who are still getting to grips with it) if the extract first file was placed there or a simple link to the download files was used. If I had downloaded the correct file in the first place for the upgrade it would have saved us all some time!

Thanks,
Karen   
Title: Re: How to upgrade to 1.9.8i?
Post by: Milbo on October 18, 2011, 20:59:52 PM
The future is even more commod,... the AIO also gets an update function,... so you update vm with akeeba release system, then you go to the aio, there is one view with the possibility to update all extensions of the aio :-)
Title: Re: [Solved] How to upgrade to 1.9.8i?
Post by: jelly on October 31, 2011, 17:44:15 PM
After long searching and searching, also reading karens post over and over again (at first I did not understand what she meant by First File) I also saw that the zip-file on the VM site contains more than first thought: 2 files!

Indeed, I pressed the update button at the VM-backend which produced the error at the frontend, and obviously it lacks updating the AIO-thingy(?).

So I installed the com_virtuemart_ext_aio.1.9.8k.zip and I see something more at the AIO menu at the joomla backend, however I still don't see items installed there, should I see something listed in there?
Title: Re: [Solved] How to upgrade to 1.9.8i?
Post by: Milbo on November 01, 2011, 14:51:34 PM
No, is fine. You see the stuff listed in the joomla extension view.