VirtueMart Forum

VirtueMart 2 + 3 + 4 => General Questions => Topic started by: Debayne on August 15, 2013, 12:16:50 PM

Title: [ SOLVED ] vmError: You are not an admin or the correct vendor, storing products
Post by: Debayne on August 15, 2013, 12:16:50 PM
Hi,

I have taken over a VM website from another developer and have been working on it fine since I updated to VM 2.0.22a (Joomla! 2.5.14, PHP 5.3.26)

Since then I am getting the "vmError: You are not an administrator or the correct vendor, storing of product cancelled" error when adding/editing child variations." and any updates to the children are being over written when the parent is saved.

I think the previous developer had set Enable Multivendor (experimental only for developers) on, and something has messed up in the database.

There is only 1 vendor set and Multivendor is now off.

What do I need to do to fix the tables?

Thanks in advance
Title: Re: vmError: You are not an administrator or the correct vendor, storing of product
Post by: jenkinhill on August 15, 2013, 12:56:30 PM
With Multivendor turned on look in Orders & Shoppers/Shoppers to make sure that you are set as Vendor. If not then add yourself in Tools/Tools & Migration, on Migration panel at the bottom. You must have your address etc configured in Shop/Shopper information.

If that is all OK then turn on Enable database Update tools in Configuration/Shop and then in Tools-/Tools & Migration/Tools panel click the option "Install tables or if necessary update them" (try this on on a backup, of course).
Title: Re: vmError: You are not an administrator or the correct vendor, storing of product
Post by: Debayne on August 15, 2013, 13:41:27 PM
Hi Kelvyn,

I have just tried that and it didn't work, still getting the vmError :(

Title: Re: vmError: You are not an administrator or the correct vendor, storing of product
Post by: jenkinhill on August 15, 2013, 15:14:41 PM
Do you get the error when multivendor is turned on?
Title: Re: vmError: You are not an administrator or the correct vendor, storing of product
Post by: Debayne on August 19, 2013, 12:32:15 PM
Hi,

Yes, but it has now been fixed by changing **_virtuemart_products_en_gb  product_name(180) to product_name Text type.

I have since worked out a better of way of producing variations by using the cart variation custom field type.

Thanks for looking though :)