Error COM_VIRTUEMART_ALERTNOTAUTHOR in VM 3.6.1.10152_package

Started by extonjaez, September 19, 2019, 23:53:32 PM

Previous topic - Next topic

extonjaez

Hello,

I have this error when i want to click on "Product Name" in "products" in VM :
Error COM_VIRTUEMART_ALERTNOTAUTHOR
Thanks for your help!!!

System Information
com_virtuemart.3.6.1.10152_package
PHP Built On   Linux info 3.0 #1337 SMP Tue Jan 01 00:00:00 CEST 2000 all GNU/Linux
Database Type   mysql
Database Version   5.7.27-log
Database Collation   utf8_general_ci
Database Connection Collation   utf8mb4_general_ci
PHP Version   7.2.22
Web Server   Apache
WebServer to PHP Interface   cgi-fcgi
Joomla! Version   Joomla! 3.9.11 Stable [ Amani ] 13-August-2019 15:00 GMT
Joomla! Platform Version   Joomla Platform 13.1.0 Stable [ Curiosity ] 24-Apr-2013 00:00 GMT
User Agent   Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/76.0.3809.132 Safari/537.36

GJC Web Design

comes from administrator\components\com_virtuemart\views\product\view.html.php

            $superVendor =  vmAccess::isSuperVendor();
            $vendorId = vmAccess::getVendorId();

            if(!empty($product->virtuemart_vendor_id) and $superVendor !=1 and $vendorId!=$product->virtuemart_vendor_id){
               $app->redirect( 'index.php?option=com_virtuemart&view=virtuemart', vmText::_('COM_VIRTUEMART_ALERTNOTAUTHOR'), 'error');
            }

appears to be something wrong with your vendor setup?
the product doesn't belong to the logged in vendor??
GJC Web Design
VirtueMart and Joomla Developers - php developers https://www.gjcwebdesign.com
VM4 AusPost Shipping Plugin - e-go Shipping Plugin - VM4 Postcode Shipping Plugin - Radius Shipping Plugin - VM4 NZ Post Shipping Plugin - AusPost Estimator
Samport Payment Plugin - EcomMerchant Payment Plugin - ccBill payment Plugin
VM2 Product Lock Extension - VM2 Preconfig Adresses Extension - TaxCloud USA Taxes Plugin - Virtuemart  Product Review Component
https://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation

extonjaez

Hello,

Is this last update com_virtuemart.3.6.2.10155_package installed, i have not "Error COM_VIRTUEMART_ALERTNOTAUTHOR" BUT i have this error message (with super User Account) :  "You are not the vendor that added this product. Access denied".

with the number of package version (3.6.2.10155), perhaps the change RĂ©vision 10156 to fix the issue in virtuemart products wasn't yet implemented....

thanks for your help!

Milbo

The other question is, why do you get this message? Do you have multivendor activated?
Should I fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/

extonjaez

Quote from: Milbo on September 23, 2019, 18:41:14 PM
The other question is, why do you get this message? Do you have multivendor activated?

Same error with com_virtuemart.3.6.2.10159 : "Error You are not the vendor that added this product. Access denied."

In Joomla Parameters i have :

Error Reporting = Maximum
Debug System = Yes

In VM Parameters i have :
Enable Multi-vendor = administrated multi-vendor
Multi-vendor cart handling = Cart belongs always to the main vendor

... ;)



extonjaez

Have you an idea please because i have always the same error under com_virtuemart.3.6.3.10163 update..
Many thanks for your help!!

Milbo

You have multivendor activated. The strange thing is, a super user is always allowed to change products of other vendors. Hmmm
Should I fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/

extonjaez

Quote from: Milbo on October 08, 2019, 18:53:59 PM
You have multivendor activated. The strange thing is, a super user is always allowed to change products of other vendors. Hmmm

Hello,

I have disabled all VM plugins or VM extension of third party devs.
Do you propose paid to fix for this and what is the cost (VIRTUEMART SUPPORTER MEMBERSHIP, which type Bronze..gold) or Others...?
Many thanks for your help!... :D
Arnaud

hellorain

Raincreatives - Virtuemart & Mobile Commerce Experts

jenkinhill

Kelvyn
Lowestoft, Suffolk, UK

Retired from forum life November 2023

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

pointspread

I apologize for bumping an old topic, but it was the only thread I could find matching my store.

When logged in as Super User, if I go to Products and click New, I get the same message returned.

"You are not the vendor that added this product. Access denied."

How can I correct this so that I am able to add a product? I would hate to think I just spent an hour setting this up only to have to start over.

jenkinhill

Quote from: pointspread on June 17, 2020, 23:21:55 PM
I would hate to think I just spent an hour setting this up only to have to start over.

Only an hour? It should take a lot longer than that.

You don't provide much information but I'm guessing, except fo that you have used a quick install package? If so they can cause so many problems that we would never recommend their use except for the package provided by VM developers to allow new users to see how the system works:  http://dev.virtuemart.net/attachments/download/1254/VirtueMart3.8.0_Joomla_3.9.18-Stable-Full_Package.zip

This is a very old post, but may work for you.  http://forum.virtuemart.net/index.php?topic=119579.msg407007#msg407007
Kelvyn
Lowestoft, Suffolk, UK

Retired from forum life November 2023

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