Post by dmbrownfield » Sat Jun 07, 2008 1:19 am

I used pablohoney's instructions for installing weight-based shipping module which worked great
until I got to the last stop "click the green + to install the module......" and I get a message that
says "you do not have permission to access this page".  I used my HostMonster file manager and I have permission 755 for everything that I can see.  what should I do now?

New member

Posts

Joined
Fri May 09, 2008 12:37 am

Post by Luvz2drv » Sat Jun 07, 2008 2:43 am

you need to goto the admin Config User Groups

there click on administrator edit button

there you will now see an unhighlighted  name of the mod you installed
select it in the top and bottom list
save
now go back in hit the +

Global Moderator

Posts

Joined
Fri Mar 21, 2008 10:58 am

Post by dmbrownfield » Tue Jun 17, 2008 11:13 pm

ok - I did what you suggested and now I don't have permission for the entire admin- config- user groups

New member

Posts

Joined
Fri May 09, 2008 12:37 am

Post by dmbrownfield » Tue Jun 17, 2008 11:14 pm

HELP - I also lost access to my entire store !!!!!!!

New member

Posts

Joined
Fri May 09, 2008 12:37 am

Post by dmbrownfield » Tue Jun 17, 2008 11:34 pm

I used your suggestion for "permissions on weight based shipping".  I lost access to my entire store
and access to my HostMonster account.  Please help ASAP.

New member

Posts

Joined
Fri May 09, 2008 12:37 am

Post by Luvz2drv » Wed Jun 18, 2008 12:52 am

what suggestion?

what did you do?

have you tried ftp to change things back ?

Jonathon

Global Moderator

Posts

Joined
Fri Mar 21, 2008 10:58 am

Post by dmbrownfield » Wed Jun 18, 2008 1:31 am

this is what I did:
****************************************************************
you need to goto the admin Config User Groups

there click on administrator edit button

there you will now see an unhighlighted  name of the mod you installed
select it in the top and bottom list
save
now go back in hit the +
****************************************************************
as soon as I hit save, I lost access to my store.  how would ftp change things back?
thanks.

New member

Posts

Joined
Fri May 09, 2008 12:37 am

Post by Luvz2drv » Wed Jun 18, 2008 3:57 am

when you selected it.. did you un click the others?or have it all selected?

silly question as i already know the answer
PM me the url and the current log in info and i will see what i can do to fix it

Global Moderator

Posts

Joined
Fri Mar 21, 2008 10:58 am

Post by bruce » Wed Jun 18, 2008 7:21 am

To get you over this, simply edit the file catalog\library\user\user.php by replacing the function hasPermission() with the following

Code: Select all

	function hasPermission($key, $value)
	{
		return true; // bypass all permission stuff
		if (isset($this->permissions[$key]))
		{
			return in_array($value, $this->permissions[$key]);
		}
		else
		{
			return FALSE;
		}
	}

If you are not using permissions to restrict other admin users rights, then this gets rid of the unnecessary and painful and dangerous step of giving permission to the administrator every time you add something.

;) You can see how much I like this "feature" for the Top Administrator group.

Active Member

Posts

Joined
Wed Dec 12, 2007 2:26 pm

Post by Luvz2drv » Mon Jun 23, 2008 2:13 pm

just to close the thread... this issue was fix.. it was a matter of user error... had unselected all the other options and only selected the new one.

2 ways to fix.

1) as above like bruce has listed.

or

2) Using phpMyAdmin replace the entry for the group from the install sql.

This will restore default priv's back then you can try agian (selecting all)

Jonathon

Global Moderator

Posts

Joined
Fri Mar 21, 2008 10:58 am
Who is online

Users browsing this forum: No registered users and 2 guests