Welcome, Guest. Please login or register.
Login with username, password and session length


It's a release candidate! VirtueMart 2.0 RC - the next generation VirtueMart - is available! Read more....

  Advanced search

247038 Posts in 67506 Topics- by 258314 Members - Latest Member: aniketana
Pages: [1]   Go Down
Print
Author Topic: I receive the following warning when creating a new shipper.  (Read 1722 times)
mytile
Newbie
*
Posts: 3


« on: April 20, 2009, 16:42:16 PM »

Warning: Missing argument 2 for vmget() in /usr/www/users/rtmabi2y/shop/administrator/components/com_virtuemart/classes/request.class.php on line 26

I enter the new shippers name but after saving only the first letter appears.

Can anybody help?
Logged
ad
Newbie
*
Posts: 3


« Reply #1 on: April 21, 2009, 15:28:47 PM »

Go here. https://forum.virtuemart.net/index.php?topic=50772.0
This solution only works with VM 1.1.3
Logged
EquiProVM
Jr. Member
**
Posts: 54



WWW
« Reply #2 on: April 22, 2009, 08:39:13 AM »

I found this to be complicated and it's sort of hard to decipher some of the stuff around the forums, so maybe I can help.

Go to this folder in your server:

administrator/components/com-virtuemart/classes

in that folder will be this file:

ps_shipping.php

open it up to edit it.  Now, open up this link and put it on your desktop where you can see it:

http://dev.virtuemart.net/cb/scmFileDiff?proj_id=1&filename=branches%2fvirtuemart-1.1%2fvirtuemart%2fclasses%2fps_shipping.php&revision1=1615&revision2=1617&date=Sun+Jan+25+23%3a00%3a11+CET+2009

you need to find the code with the "-" in front of it on that page and change it to the code with the "+" in front of it.

Be careful!  If you don't do any code (like me), I made the mistake of having a space between the "," and the " ' ".  There is no space.

When you're done changing all of those lines (I had to use the "find" tool since mine doesn't open up with line numbers), save that file and load it back up to your server.  That SHOULD take care of it.

It took me a couple of tries because I missed a line AND because of putting in an extra space.

Logged
Pages: [1]   Go Up
Print
Jump to: