Author Topic: [ SOLVED ] vmError: You are not an admin or the correct vendor, storing products  (Read 3984 times)

Debayne

  • Beginner
  • *
  • Posts: 11
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

jenkinhill

  • UK Web Developer & Consultant
  • Global Moderator
  • Super Hero
  • *
  • Posts: 27572
  • Always on vacation
    • Jenkin Hill Internet
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).
Kelvyn

Jenkin Hill Internet,
Lowestoft, Suffolk, UK

Unsolicited PMs/emails will be ignored.

Please mention your VirtueMart, Joomla and PHP versions when asking a question in this forum

Currently using VM 3.6.8 10204 on Joomla 3.9.13 PHP 7.0.33

Debayne

  • Beginner
  • *
  • Posts: 11
Hi Kelvyn,

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


jenkinhill

  • UK Web Developer & Consultant
  • Global Moderator
  • Super Hero
  • *
  • Posts: 27572
  • Always on vacation
    • Jenkin Hill Internet
Do you get the error when multivendor is turned on?
Kelvyn

Jenkin Hill Internet,
Lowestoft, Suffolk, UK

Unsolicited PMs/emails will be ignored.

Please mention your VirtueMart, Joomla and PHP versions when asking a question in this forum

Currently using VM 3.6.8 10204 on Joomla 3.9.13 PHP 7.0.33

Debayne

  • Beginner
  • *
  • Posts: 11
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 :)