Author Topic: Live Update: THEN (Access restricted to Vendor and Administrator only)  (Read 6847 times)

pindemon

  • Beginner
  • *
  • Posts: 5
Re: Live Update: THEN (Access restricted to Vendor and Administrator only)
« Reply #15 on: September 19, 2011, 15:02:57 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?

Milbo

  • Virtuemart Projectleader
  • Administrator
  • Super Hero
  • *
  • Posts: 9590
  • VM3.2 Cached and Optimized
    • VM3 Extensions
  • VirtueMart Version: VirtueMart 3 on joomla 3
Re: Live Update: THEN (Access restricted to Vendor and Administrator only)
« Reply #16 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:
Code: [Select]
/*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' );
}*/
I should fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/

pindemon

  • Beginner
  • *
  • Posts: 5
Re: Live Update: THEN (Access restricted to Vendor and Administrator only)
« Reply #17 on: September 19, 2011, 22:30:12 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:
Code: [Select]
/*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.