VirtueMart Forum

VirtueMart 2 + 3 + 4 => Virtuemart Development and bug reports => Topic started by: martin-nord on October 15, 2011, 13:00:03 PM

Title: 2.0.0-RC-2i: Error when activating Shopping Card Module
Post by: martin-nord on October 15, 2011, 13:00:03 PM
As soon as I activate the VM Shopping Card Module, I get this

QuoteWarning: Cannot use a scalar value as an array in /homepages/[path to Joomla]/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 /homepages/[path to Joomla]/plugins/vmshipper/weight_countries/weight_countries.php on line 187


VM: 2.0.0-RC-2i
J!: 1.7.1
Template: JSN Tendo Pro
Title: Re: 2.0.0-RC-2i: Error when activating Shopping Card Module
Post by: martin-nord on October 15, 2011, 14:04:00 PM
Ok, I found this thread...

http://forum.virtuemart.net/index.php?topic=91898.0
Max wrote:
QuoteHeyhoo Jörg, we dont have this problem using j1.5,
But this is not a j1.7 error, I am quite sure, that you forgot to move the files into the subdirectories.... hmm maybe I provide a windows shell doing that (hey linux geeks, of course lets also add a command file for linux).

In my case it's a fresh 1.7 Joomla, thus fresh VM2 installation.

Martin.
Title: Re: 2.0.0-RC-2i: Error when activating Shopping Card Module
Post by: Milbo on October 15, 2011, 15:46:34 PM
You dont need to copy the files, only people who use the svn must do that, but you must also use the aio installer to update your plugins.
Title: Re: 2.0.0-RC-2i: Error when activating Shopping Card Module
Post by: martin-nord on October 15, 2011, 16:53:35 PM
I did that... the problem persists.

Source:
http://dev.virtuemart.net/attachments/download/329/virtuemart1.9.8.RC2i_extract_first.zip
Title: Solved: Re: 2.0.0-RC-2i: Error when activating Shopping Card Module
Post by: martin-nord on October 15, 2011, 17:48:33 PM
I don't know why, I just installed AIO again (drübergebügelt). Now it works.

thanks a lot.
Title: Re: 2.0.0-RC-2i: Error when activating Shopping Card Module
Post by: Milbo on October 15, 2011, 18:53:05 PM
Btw, great avatar image, Martin.
Title: Re: 2.0.0-RC-2i: Error when activating Shopping Card Module
Post by: martin-nord on October 15, 2011, 20:31:25 PM
I called it "with VM daddys" ;-)