简体   繁体   English

Joomla 2.5…Virtuemart2。您的Virtuemart安装中包含错误:

[英]Joomla 2.5… Virtuemart 2. Your Virtuemart installation contains an error:

Your Virtuemart installation contains an error: No user as marked as vendor. 您的Virtuemart安装中包含错误:没有用户标记为供应商。 Please fix this in your phpMyAdmin and 请在您的phpMyAdmin中解决此问题,然后

set #__virtuemart_vmusers.user_is_vendor = 1 and #__virtuemart_vmusers.virtuemart_vendor_id =1

to one of your administrator users. 给您的一个管理员用户。 Please update all users to be associated with virtuemart_vendor_id 1. 请更新所有用户,使其与constancemart_vendor_id 1关联。

Please help me to solv this issue 请帮我解决这个问题

There is now a way to do this from the front-end as well. 现在也有一种从前端进行此操作的方法。

In the Joomla back-end, 在Joomla后端,

  1. Navigate to Virtuemart > Tools > Tools & Migration > Migration 导航到Virtuemart>工具>工具和迁移>迁移
  2. Update the Joomla Admin ID in the "Write here the new store owner id" text field and click on the "Set Store Owner" Button 在“在此处写新的商店所有者ID”文本字段中更新Joomla管理员ID,然后单击“设置商店所有者”按钮
  3. DONE! DONE!

Look for the table _virtuemart_vmusers . 查找表_virtuemart_vmusers Inside it, you'll see one data exist. 在其中,您将看到一个数据存在。 Go ahead and 'Edit' the row 继续并“编辑”行

virtuemart_user_id : (depending on your Joomla Admin ID. In my case, the ID is 116 ) virtuemart_vendor_id : (since my Joomla Admin ID is 116 , here put 116 ) user_is_vendor: key in ' 1 ' virtuemart_user_id :(取决于您的Joomla管理员ID。在我的情况下,该ID为116virtuemart_vendor_id :(因为我的Joomla Admin ID为116 ,此处为116 )user_is_vendor:键入“ 1

See image for details 详见图片 在此处输入图片说明

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM