VirtueMart Forum

VirtueMart 2 + 3 + 4 => Product creation => Topic started by: wbyers on August 23, 2017, 17:17:14 PM

Title: Receiving vmError: You are not an administrator on a single vendor
Post by: wbyers on August 23, 2017, 17:17:14 PM
This issue only appears on a single program category ID. All others work as intended. We have a single vendor based user account that has the proper permissions. Does anyone know what could be the issue here?
Quote2017-08-21 16:19:05 ERROR vmError: You are not an administrator or the correct vendor, storing of product cancelled
2017-08-21 17:35:19 ERROR vmError: prepareCartData virtuemart_product_id is empty
2017-08-21 19:10:52 ERROR vmError: You are not an administrator or the correct vendor, storing of product cancelled
2017-08-21 20:07:40 ERROR vmError: prepareCartData virtuemart_product_id is empty
2017-08-21 20:30:54 ERROR vmError: You are not an administrator or the correct vendor, storing of product cancelled

We've only got a single vendor and that vendor has a single user that has the appropriate permissions.
Does anyone know what on earth could be causing the issue this Time?
Title: Re: Receiving vmError: You are not an administrator on a single vendor
Post by: wbyers on August 31, 2017, 16:02:21 PM
Anyone?
Title: Re: Receiving vmError: You are not an administrator on a single vendor
Post by: Milbo on September 01, 2017, 08:16:38 AM
Which vendorId is set for the category? Can you check the db entry? btw, which vm version? which joomla version?
Title: Re: Receiving vmError: You are not an administrator on a single vendor
Post by: wbyers on September 01, 2017, 14:27:40 PM
vendor ID 1. we have joomla 3.7.2 and virtuemart 3.2.

Also I don't know if it matters but the issue also seems to be intermittent
Title: Re: Receiving vmError: You are not an administrator on a single vendor
Post by: Milbo on September 01, 2017, 16:02:26 PM
Try to change your alias to something really unique.
Title: Re: Receiving vmError: You are not an administrator on a single vendor
Post by: wbyers on September 01, 2017, 16:03:56 PM
what do you mean by change my alias?
Title: Re: Receiving vmError: You are not an administrator on a single vendor
Post by: Milbo on September 01, 2017, 18:29:30 PM
the alias, slug of the product.
Title: Re: Receiving vmError: You are not an administrator on a single vendor
Post by: wbyers on September 01, 2017, 20:55:47 PM
ah,
We already have the unique slug for each category

Nevermind, looking at the slug solved the problem.
The slug for the category had something extra on the end.
Removed that extra bit solved it. Thanks for pointing me to it.

Forget that Doesn't work for more than a single entry, any idea why that would be.
It's unique already, so I can't quite make heads or tales of what's wrong.
Title: Re: Receiving vmError: You are not an administrator on a single vendor
Post by: Milbo on September 03, 2017, 13:24:24 PM
When the slug is not unique, it adds a number and tries to create a unique slug, but it stops after 20 tries.
Title: Re: Receiving vmError: You are not an administrator on a single vendor
Post by: wbyers on September 05, 2017, 14:20:27 PM
okay, so if the slug is good, what's the issue?
Title: Re: Receiving vmError: You are not an administrator on a single vendor
Post by: wbyers on September 12, 2017, 19:36:55 PM
Because It's still just this one category
Title: Re: Receiving vmError: You are not an administrator on a single vendor
Post by: ajeje989 on October 26, 2017, 17:24:00 PM
Quote from: Milbo on September 03, 2017, 13:24:24 PM
When the slug is not unique, it adds a number and tries to create a unique slug, but it stops after 20 tries.

it's possibile increase this 20 tries ?

please help i have same error.