VirtueMart Forum

VirtueMart 2 + 3 + 4 => Installation, Migration & Upgrade => Topic started by: PRO on August 29, 2011, 14:53:41 PM

Title: Live Update: THEN (Access restricted to Vendor and Administrator only)
Post by: PRO on August 29, 2011, 14:53:41 PM
Just did the live update then got that error message when trying to go to shop.

I am "super user"

J1.7
Title: Re: Live Update: THEN (Access restricted to Vendor and Administrator only)
Post by: PRO on August 30, 2011, 21:42:47 PM
No idea what I need to do?

Title: Re: Live Update: THEN (Access restricted to Vendor and Administrator only)
Post by: Milbo on August 31, 2011, 00:38:30 AM
sorry no idea.
Title: Re: Live Update: THEN (Access restricted to Vendor and Administrator only)
Post by: Minh BlackRed on August 31, 2011, 05:46:00 AM
The same to me with clean new intallation, j17 + vm 198f
Title: Re: Live Update: THEN (Access restricted to Vendor and Administrator only)
Post by: PRO on September 01, 2011, 16:57:28 PM
This happened with a migrated site.

There were 2 users with my same admin login. (dunno how)

I had to edit one, and set it to super and admin.

Solved
Title: Re: Live Update: THEN (Access restricted to Vendor and Administrator only)
Post by: Studio 42 on September 02, 2011, 12:11:24 PM
Hi,
Sorry this give you a problem.
I added this for security reason the time whe add multivendor and you can only going in vrituemart 2 BE as Vendor or admin to prevent shop to be hacked by simple joomla BE editor's.
Title: Re: Live Update: THEN (Access restricted to Vendor and Administrator only)
Post by: earthrat on September 06, 2011, 21:20:27 PM
I think it is a shame that once again an extension is playing Mom and making life tougher on those of use who need MORE functionality NOT less! Please make this a parameter that we can decide if we need the added security rather than forcing us to now create a separate user just to work in VM...;(

Regardless of what you do if the extensions are built with clean code then it is the site owners responsibility to ensure their site is secure and that they are not using a trash host so they can save a dollar.

The bottom line is your efforts are not working because I can randomly get in with a super admin and it looks like as long as only one super admin is logged in there is no problem. It only throws a super admin out if there are two logged in.
Title: Re: Live Update: THEN (Access restricted to Vendor and Administrator only)
Post by: Milbo on September 07, 2011, 10:37:06 AM
interesting. hihi I like your attitude man. You say my arguments, so either we will remove it or enhance it.
Title: Re: Live Update: THEN (Access restricted to Vendor and Administrator only)
Post by: earthrat on September 07, 2011, 11:09:01 AM
No I say it because it worked before perfectly well the way it was and now it is a friggen pain in my backside! I mean there was enough things that were broke in VM that needed to be fixed and to take the power away from the super admin for security reason does not even make sense? My God man, if someone hacks a site and can get control of any user then how is it going to make it all better because you think you made it safer? FYI, The super admin that installed VM still has access to the control panel, it is just other super admins that don't, so tell me you fixed this and that makes it all better?
Title: Re: Live Update: THEN (Access restricted to Vendor and Administrator only)
Post by: Milbo on September 07, 2011, 12:15:24 PM
?? LOL, just reread my post.
Title: Re: Live Update: THEN (Access restricted to Vendor and Administrator only)
Post by: earthrat on September 07, 2011, 15:21:47 PM
 8)
Title: Re: Live Update: THEN (Access restricted to Vendor and Administrator only)
Post by: pindemon on September 16, 2011, 15:20:31 PM
Same problem here: "Access restricted to Vendor and Administrator only".

How am I supposed to fix this? What should be done???
Title: Re: Live Update: THEN (Access restricted to Vendor and Administrator only)
Post by: pepe2907 on September 17, 2011, 19:31:06 PM
"How am I supposed to fix this? What should be done???"
Give "admin" rights FOR THE SHOP /they have nothing to do with the general Joomla user groups/ for the users you want to be able to edit your shop. It's in Orders & Shoppers >> Shoppers
Title: Re: Live Update: THEN (Access restricted to Vendor and Administrator only)
Post by: pindemon on September 19, 2011, 14:33:25 PM
Quote from: pepe2907 on September 17, 2011, 19:31:06 PM
"How am I supposed to fix this? What should be done???"
Give "admin" rights FOR THE SHOP /they have nothing to do with the general Joomla user groups/ for the users you want to be able to edit your shop. It's in Orders & Shoppers >> Shoppers

But where is "Orders & Shoppers"? If it is in Joomla > Components > Virtuemart I'm not allowed to enter (as superuser)

How I'm supposed to give "admin" rights if I cannot enter in virtuemart settings?

Am I missing something?
Title: Re: Live Update: THEN (Access restricted to Vendor and Administrator only)
Post by: PRO on September 19, 2011, 14:53:04 PM
LOOK in your joomla user manager, and see if YOU have 2 users there, and set the other one to superadmin
Title: Re: Live Update: THEN (Access restricted to Vendor and Administrator only)
Post by: pindemon on September 19, 2011, 15:02:57 PM
Quote from: BanquetTables.pro on September 19, 2011, 14:53:04 PM
LOOK in your joomla user manager, and see if YOU have 2 users there, and set the other one to superadmin

I have 2 users:

1 - Super User that is assigned to ALL the groups (Public - Manager - Administrator - Vendor - Registered - Author - Editor - Publisher - Shop Suppliers (Example) - Customer Group (Example) - Super Users)

2 - pindemon

If I set "pindemon" to super user it doesn't work

EDIT ----

I'm trying various combinations but still nothing... there's no way I can login

EDIT 2 ----

I deleted user "pindemon", created a new one, set it to super user and still nothing...

I'm unable to login in virtuemart, any other ideas?
Title: Re: Live Update: THEN (Access restricted to Vendor and Administrator only)
Post by: Milbo on September 19, 2011, 20:15:53 PM
I dont have any idea, because we removed it, afaik already in the G version.

When you are superadmin it should work. You may go in the Backend to admin.virtuemart.php and comment the lines 32- 35. Maybe with stars, like I did here:
/*if(!class_exists('Permissions')) require(JPATH_VM_ADMINISTRATOR.DS.'helpers'.DS.'permissions.php');
if(!Permissions::getInstance()->check('admin','storeowner')){
die( 'Access restricted to Vendor and Administrator only' );
}*/
Title: Re: Live Update: THEN (Access restricted to Vendor and Administrator only)
Post by: pindemon on September 19, 2011, 22:30:12 PM
Quote from: Milbo on September 19, 2011, 20:15:53 PM
I dont have any idea, because we removed it, afaik already in the G version.

When you are superadmin it should work. You may go in the Backend to admin.virtuemart.php and comment the lines 32- 35. Maybe with stars, like I did here:
/*if(!class_exists('Permissions')) require(JPATH_VM_ADMINISTRATOR.DS.'helpers'.DS.'permissions.php');
if(!Permissions::getInstance()->check('admin','storeowner')){
die( 'Access restricted to Vendor and Administrator only' );
}*/


Thank you very much! That did it... updating now to G.