VirtueMart Forum

VirtueMart 2 + 3 + 4 => Virtuemart Development and bug reports => Topic started by: extonjaez on September 19, 2019, 23:53:32 PM

Title: Error COM_VIRTUEMART_ALERTNOTAUTHOR in VM 3.6.1.10152_package
Post by: extonjaez on September 19, 2019, 23:53:32 PM
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
Title: Re: Error COM_VIRTUEMART_ALERTNOTAUTHOR in VM 3.6.1.10152_package
Post by: GJC Web Design on September 20, 2019, 11:43:56 AM
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??
Title: Re: Error COM_VIRTUEMART_ALERTNOTAUTHOR in VM 3.6.1.10152_package
Post by: extonjaez on September 20, 2019, 17:54:32 PM
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!
Title: Re: Error COM_VIRTUEMART_ALERTNOTAUTHOR in VM 3.6.1.10152_package
Post by: Milbo on September 23, 2019, 18:41:14 PM
The other question is, why do you get this message? Do you have multivendor activated?
Title: Re: Error COM_VIRTUEMART_ALERTNOTAUTHOR in VM 3.6.1.10152_package
Post by: extonjaez on September 24, 2019, 21:03:41 PM
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

... ;)


Title: Re: Error COM_VIRTUEMART_ALERTNOTAUTHOR in VM 3.6.1.10152_package
Post by: extonjaez on October 08, 2019, 12:48:52 PM
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!!
Title: Re: Error COM_VIRTUEMART_ALERTNOTAUTHOR in VM 3.6.1.10152_package
Post by: 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
Title: Re: Error COM_VIRTUEMART_ALERTNOTAUTHOR in VM 3.6.1.10152_package
Post by: extonjaez on October 19, 2019, 14:55:48 PM
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
Title: Re: Error COM_VIRTUEMART_ALERTNOTAUTHOR in VM 3.6.1.10152_package
Post by: hellorain on October 19, 2019, 15:08:49 PM
Hello,


I can help you!!!


Best Regards,
hellorain.
Title: Re: Error COM_VIRTUEMART_ALERTNOTAUTHOR in VM 3.6.1.10152_package
Post by: jenkinhill on October 19, 2019, 16:21:30 PM
https://extensions.virtuemart.net/support-updates/virtuemart-membership
Title: Re: Error COM_VIRTUEMART_ALERTNOTAUTHOR in VM 3.6.1.10152_package
Post by: pointspread on June 17, 2020, 23:21:55 PM
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.
Title: Re: Error COM_VIRTUEMART_ALERTNOTAUTHOR in VM 3.6.1.10152_package
Post by: jenkinhill on June 18, 2020, 12:14:45 PM
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