VirtueMart Forum

VirtueMart 2 + 3 + 4 => General Questions => Topic started by: mbrando on April 09, 2014, 00:22:32 AM

Title: [solved] more than one user is set as vendor?
Post by: mbrando on April 09, 2014, 00:22:32 AM
Hello,

I see this error on the configuration screen.

QuoteYou are using single vendor mode, but it seems more than one user is set as vendor

The site was recently migrated from J15 and VM1.1 to J25 and VM2.x.

-Mike
Title: Re: more than one user is set as vendor?
Post by: jenkinhill on April 09, 2014, 11:40:23 AM
VM Configuration/Shop / Advanced Settings / Enable Multivendor (experimental only for developers)  = None
Title: Re: more than one user is set as vendor?
Post by: mbrando on April 09, 2014, 14:36:27 PM
Hello,

I have set this to 'none', saved twice and it still says,'You are using single vendor mode, but it seems more than one user is set as vendor'.

How can I see who is set as a vendor?

- Mike
Title: Re: more than one user is set as vendor?
Post by: jenkinhill on April 09, 2014, 15:28:21 PM
Turn multivendor on and then go to Orders & Shoppers/Shoppers where you will see a Vendor? column - that will show you who is set as vendor.
Title: Re: more than one user is set as vendor?
Post by: mbrando on April 09, 2014, 15:53:06 PM
Hello,

Thank you that worked. :-)

- Mike
Title: Re: [solved] more than one user is set as vendor?
Post by: rage76 on January 01, 2017, 19:43:24 PM
I am on J3.6.5 / VM3.0.18

I am also getting this Warning: You are using single vendor mode, but it seems more than one user is set as vendor.

This is after I restored my akeeba backup from localhost on to a webserver and I tried switching between single/multi vendor but no other user is marked as vendor and the issue is not getting resolved.

Any suggestions?

Title: Re: [solved] more than one user is set as vendor?
Post by: GJC Web Design on January 01, 2017, 23:11:16 PM
check directly the v#__virtuemart_vmusers -- look in the column  user_is_vendor and change to 0 the one that shouldn't be vendor
Title: Re: [solved] more than one user is set as vendor?
Post by: rage76 on January 02, 2017, 18:35:46 PM
Hello & thanks for replying.

I did what you said GJC, but there is only 1 (one) user who is vendor. What now?
Title: Re: [solved] more than one user is set as vendor?
Post by: VMTemplates.net on January 03, 2017, 11:33:55 AM
Hi,

check users ID in your sql. This issue sometimes occurs using akeeba backup.

Thanks,
Jason.
Title: Re: [solved] more than one user is set as vendor?
Post by: rage76 on January 03, 2017, 12:58:26 PM
What do I need to check for in the User ID?
Title: Re: [solved] more than one user is set as vendor?
Post by: blackrat999 on August 17, 2017, 13:52:46 PM
Did you fix this ? i have the same issue ?
Title: Re: [solved] more than one user is set as vendor?
Post by: Milbo on August 17, 2017, 15:02:56 PM
Use the new tool in "tools, update/migration" http://dev.virtuemart.net/attachments/download/1087/com_virtuemart.3.2.3.9624_extract_first.zip
Title: Re: [solved] more than one user is set as vendor?
Post by: rage76 on August 17, 2017, 19:42:52 PM
Dear Milbo, could you please clarify - what new tool?

Also, upon installing the AIO component, I got the following:

Warning
Duplicate entry '10235' for key 'PRIMARY'

Error
Error installing component
Title: Re: [solved] more than one user is set as vendor?
Post by: Milbo on August 18, 2017, 10:31:57 AM
https://docs.virtuemart.net/manual/tools-menu/70-tools-migration.html

the manual is now a bit outdated, because there is now a new tab to set the safepath and on the first tab, there is a command to set the vendorid 1 to a certain joomla user by id.
Title: Re: [solved] more than one user is set as vendor?
Post by: rage76 on August 18, 2017, 13:28:19 PM
After doing what you suggested, this is what I am getting:

The user with virtuemart_user_id = 42 is set as vendor, but has no referencing vendorId.
Title: Re: [solved] more than one user is set as vendor?
Post by: Studio 42 on August 18, 2017, 13:50:05 PM
virtuemart_user_id = 42 is default Joomla user id.
If you (the vendor) have another user id then change to this id. This can be see in YOURSITE/administrator/index.php?option=com_users&view=users ID column or when you edit your own account > ID at bottom
Title: Re: [solved] more than one user is set as vendor?
Post by: Milbo on August 18, 2017, 18:06:30 PM
Quote from: rage76 on August 18, 2017, 13:28:19 PM
After doing what you suggested, this is what I am getting:

The user with virtuemart_user_id = 42 is set as vendor, but has no referencing vendorId.

then go to the tools section. Search for the "set vendor" thing and enter 42 in the textfield and fire it.
Title: Re: [solved] more than one user is set as vendor?
Post by: Studio 42 on August 18, 2017, 19:25:51 PM
Quote from: Milbo on August 18, 2017, 18:06:30 PM
Quote from: rage76 on August 18, 2017, 13:28:19 PM
After doing what you suggested, this is what I am getting:

The user with virtuemart_user_id = 42 is set as vendor, but has no referencing vendorId.
then go to the tools section. Search for the "set vendor" thing and enter 42 in the textfield and fire it.
I had already the case, this is because some remove the admin account (id=42) and create another one.
So setting the vendor ID to 42 do not solve the problem.

Title: Re: [solved] more than one user is set as vendor?
Post by: Milbo on August 18, 2017, 19:38:49 PM
The new function just needs the joomla user. the vm user is now created, if missing.