VirtueMart Forum

VirtueMart 2 + 3 + 4 => Virtuemart Development and bug reports => Topic started by: K&K media production on April 13, 2012, 01:06:55 AM

Title: error when i save/update shipping addresses
Post by: K&K media production on April 13, 2012, 01:06:55 AM
I use joomla 2.5.4 with vm 2.0.4 and it is a migration from joomla 1.5 with vm 1.

When i will use and update the stored shipping addresses from an account from vm 1 i get 4 errors:

vmError: COM_VIRTUEMART_NOT_ABLE_TO_SAVE_USER_DATA
vmError: TableVendors The given Vendor name already exists.
vmError: VmTableData Sef Alias in record is missing ! Can't save the record with no Sef Alias.
vmError: store vendor

When i add a new shipping address, i get the same errors.

When i logged in with an other account, where no shipping address is stored from vm 1, i can add a shipping address without errors and the shop redirects to the cart. But the address is not stored in the account.

In vm 1 it was possible to storage different shipping addresses in the user account. Now in vm 2 i can't storage it and can't update the stored shipping addresses from vm 1.

Is this a bug or is this feature removed in vm 2?
Title: Re: error when i save/update shipping adresses
Post by: K&K media production on April 14, 2012, 11:49:04 AM
Is here anybody who can storage different shipping adresses in the user accounts in vm2 ?
Title: Re: error when i save/update shipping adresses
Post by: Milbo on April 14, 2012, 12:21:34 PM
This sounds like a bug for me, maybe the userfield tables are not reflecting correctly the userfields.
Title: Re: error when i save/update shipping adresses
Post by: Renata on April 14, 2012, 20:00:01 PM
Dear Milbo

I have same problem. I have 2 websites exactly the same but:

1 is still Virtuemart 2.0.2
2 is exact copy of 1 but upgraded to virtuemart 2.0.4

Attached please find 2 printscreens:

1: Here you can see everything went fine after changing shipping address
2: here you can see the errors after changing shipping address

I hope you can fix this bug and hope to hear from you soon.

Kind regards
Renata

[attachment cleanup by admin]
Title: Re: error when i save/update shipping adresses
Post by: Renata on April 14, 2012, 22:17:05 PM
Here more information after testing:

This only happens when a registered user changes his/her shipping adress. if you fill in shipping adres as a quest/visitor than there is no error.

Kind regards
Renata
Title: Re: error when i save/update shipping adresses
Post by: PRO on April 14, 2012, 22:55:33 PM
Renata,

does this ONLY happen when you are doing your vendor acount on the frontend?
Title: Re: error when i save/update shipping adresses
Post by: Renata on April 14, 2012, 23:22:31 PM
Quote from: BanquetTables.pro on April 14, 2012, 22:55:33 PM
Renata,

does this ONLY happen when you are doing your vendor acount on the frontend?

Dear BanquetTables.pro

Good question, so i logged in with a "normal" account. Added my shipping address and after that tried to change my shipping address. In this case no error and everything went well.

So answer is yes: this only happens when i use my vendor/superuser account.

Kind regards
renata
Title: Re: error when i save/update shipping adresses
Post by: Renata on April 14, 2012, 23:28:35 PM
Here i am again..sorry

I dont know whether or not this should happen:

as a regular user I added 1 product in the shopping cart...changed shipping adress and logged out again. After that i logged in and the product in shopping cart has disappeared.

Kind regards
Renata
Title: Re: error when i save/update shipping adresses
Post by: K&K media production on April 15, 2012, 01:45:47 AM
In my case the errors happens when I logged in frontend as administrator btw vendor.

But in both cases, when I logged in as admin or as normal user, the addresses are not stored in the accounts. The shipping address is only saved temporary.
Title: Re: error when i save/update shipping addresses
Post by: Milbo on April 15, 2012, 14:16:56 PM
Quote from: Renata on April 14, 2012, 23:28:35 PM
as a regular user I added 1 product in the shopping cart...changed shipping adress and logged out again. After that i logged in and the product in shopping cart has disappeared.

This is correct, when you log out, you get a new session (by the browser).

Quote from: kkmediaproduction on April 15, 2012, 01:45:47 AM
In my case the errors happens when I logged in frontend as administrator btw vendor.
When you login as admin in the normal vendor mode, the admin is treated as shopowner. Editing of admin users in FE is just not correctly working. In facht, imho not needed. We should add it, or display a message showing that people should not do it. Anyway it is planned to fix this with the upcoming multivendor.
Title: Re: error when i save/update shipping addresses
Post by: Renata on April 17, 2012, 08:57:56 AM
Dear Milbo

Thanks for your reply.

I agree vendor details shouldn't be changed in the frontend. But in the past no error message was shown. And now as from version 2.0.4 it does which causes confusion as you can see.

I will inform my customer accordingly.

I see there is a new stable version of VM, so again looking forward for testing.

Thanks for everything Milbo. I want to thank you and your team for all the good work you are doing.

Kind regards
Renata
Title: Re: please help me too
Post by: davinder.omsttech on July 27, 2012, 12:49:28 PM
Can anyone tell where the shipping information is stored in joomla virtual-mart 2.0.6
Title: Re: error when i save/update shipping addresses
Post by: PRO on July 27, 2012, 19:43:00 PM
Quote from: davinder.omsttech on July 27, 2012, 12:49:28 PM
Can anyone tell where the shipping information is stored in joomla virtual-mart 2.0.6

stored?

or how you can add a shipping rate?

The rate is stored in the plugin parameters i believe.

to add a new rate

go to shipment methods and click "new"
Title: Re: error when i save/update shipping addresses
Post by: davinder.omsttech on July 28, 2012, 07:07:53 AM
I want to get the shipping address of the customer .. can anyone tell how to get?? i am new to joomla/virtual mart 2.0.6
Title: Re: error when i save/update shipping addresses
Post by: sandstorm on October 17, 2012, 12:56:05 PM
I am using 2.0.12b and still get this error in front end when logged in as Admin/Main vendor.

Is there a fix for this or some settings that can be done in the back?

I also cant change vendor information in the backend either.  My admin user is set as the vendor and when I save, I get errors there too.  I already posted this question in another VM forum as initially thoug it was something to do with upgrading from VM1.1.9 in a J1.5.26 site?
Title: Re: error when i save/update shipping addresses
Post by: slinkybambi on October 18, 2012, 04:09:05 AM
Hi There. I am using VM 2.0.12b   

I am having the same trouble with the shipping address it stops my customers form being able to proceed through to the payment and freight options.

Can someone PLEASE tell me how to delete the "ship to" address so that my customers only have to enter the billing address? My website cannot be used by my customers until this is fixed so hence we are getting no orders!!! HELP PLEASE!!!

Is there any way I can delete the shipping address option? I am very frustrated by this version of Virtuemart as it is not as easy to setup as the older versions!! 
Title: Re: error when i save/update shipping addresses
Post by: Renata on October 18, 2012, 08:36:04 AM
Please read flwg topic:
*click* (http://forum.virtuemart.net/index.php?topic=104216.msg347190#msg347190)

Please note the VM version used overthere is an older version. I do not know whether or not this will help you with your current version.

Kind regards
Renata
Title: Re: error when i save/update shipping addresses
Post by: KevinJAaron on October 18, 2012, 10:39:23 AM
Quote from: Milbo on April 15, 2012, 14:16:56 PM
Quote from: Renata on April 14, 2012, 23:28:35 PM
as a regular user I added 1 product in the shopping cart...changed shipping adress and logged out again. After that i logged in and the product in shopping cart has disappeared.

This is correct, when you log out, you get a new session (by the browser).

Quote from: kkmediaproduction on April 15, 2012, 01:45:47 AM
In my case the errors happens when I logged in frontend as administrator btw vendor.
When you login as admin in the normal vendor mode, the admin is treated as shopowner. Editing of admin users in FE is just not correctly working. In facht, imho not needed. We should add it, or display a message showing that people should not do it. Anyway it is planned to fix this with the upcoming multivendor.
Seeing is believing! Tks you
Title: Re: error when i save/update shipping addresses
Post by: Stonedfury on February 09, 2013, 00:03:23 AM
Quote from: Presta23 on February 05, 2013, 09:12:27 AM
I get this answer for your problem .You must upload and install again your virtuemart in your joomla .I try this and 100% work 8)
And how does this affect an already running and established online store with products? I noticed this error is only when joomla sef is on. Maybe there is a place to start looking?



Mod edit: that spam message was deleted