Magento Forum

   
access denied
 
placebot
Jr. Member
 
Total Posts:  29
Joined:  2008-10-30
 

Hello,

I have an “access denied” problem in system/configuration/Post Affiliate Pro

I’m using magento 1.4.1.1 and my admin account

I already made :
1- Merge the files and directories into the root of your Magento installation
2- Go to System->Cache Management and refresh the cache (AND, delete the var/cache var/sessions folder via FTP)
3- log out/ log in admin
3- reset magento role permission
4- check 664 for files and 775 for folders

I still have an “access denied”

I probably find the problem : I can not see “Post Affiliate Pro” in System->Permissions->Roles. So I can not activate the role permission.
Why I can not see “Post Affiliate Pro” in System->Permissions->Roles ? How to fix it ?

Thanks

 
Magento Community Magento Community
Magento Community
Magento Community
 
MageGuys
Guru
 
Avatar
Total Posts:  380
Joined:  2008-06-07
 

Double check the role and make sure the user actually has access to the PAP configuration, then log out/in again.

 
Magento Community Magento Community
Magento Community
Magento Community
 
placebot
Jr. Member
 
Total Posts:  29
Joined:  2008-10-30
 

I already double ckecked the role and log out/login 10 times.
The module do not appear in role hmmm

Any other idea ?

 
Magento Community Magento Community
Magento Community
Magento Community
 
MageGuys
Guru
 
Avatar
Total Posts:  380
Joined:  2008-06-07
 
placebot - 10 November 2010 12:24 PM

The module do not appear in role hmmm

This is the root problem then. Until you can get the permissions to show up, you won’t be able to assign permissions to the role, and therefore won’t be able to access the settings..
1. Reset your administrator permissions:
a. System > Permissions > Roles > Administrators.
b. Click on Role Resources and set Resource Access to All.
c. Click on Save Role.
2. Clear your Magento cache
3. Clear your browser cache and cookies (will cause you to be logged out)
4. Log in as the original admin (the first account created)

 
Magento Community Magento Community
Magento Community
Magento Community
 
placebot
Jr. Member
 
Total Posts:  29
Joined:  2008-10-30
 

I made :
1. Reset your administrator permissions:
a. System > Permissions > Roles > Administrators.
b. Click on Role Resources and set Resource Access to All.
c. Click on Save Role.
2. Clear your Magento cache
3. Clear your browser cache and cookies (will cause you to be logged out)
4. Log in as the original admin (the first account created)

I still do not have “pap” in the permission.

I check in the Database. On a clean magento setup, pap is in “admin_rule” -> “admin/sales/connectaffiliate”.
This is not on my live database :-(

Is can help you ?

 
Magento Community Magento Community
Magento Community
Magento Community
 
MageGuys
Guru
 
Avatar
Total Posts:  380
Joined:  2008-06-07
 

My best guess is that your admin permissions are corrupted. The steps above should have reset them. I’m not sure what else to tell you.

Did you install the module manually, or via Magento Connect? If you used Magento Connect, try a manual install instead. (I’ve seen Magento Connect completely fail the install process enough times that I don’t trust it.)

 
Magento Community Magento Community
Magento Community
Magento Community
 
placebot
Jr. Member
 
Total Posts:  29
Joined:  2008-10-30
 

I installed the module via Magento Connect and then I also copy all the file via FTP.

 
Magento Community Magento Community
Magento Community
Magento Community
 
MageGuys
Guru
 
Avatar
Total Posts:  380
Joined:  2008-06-07
 

I’m sorry, I don’t know what else to try. It sounds to me like Magento is pretty messed up. I can tell you with absolute confidence that this isn’t caused by any error in the module’s code. Most likely Magento itself is in a bad state, or else there is an installation problem. If the previously mentioned steps don’t fix it though, then I don’t know what will.

 
Magento Community Magento Community
Magento Community
Magento Community
 
placebot
Jr. Member
 
Total Posts:  29
Joined:  2008-10-30
 

Ok, thanks :(

 
Magento Community Magento Community
Magento Community
Magento Community
 
placebot
Jr. Member
 
Total Posts:  29
Joined:  2008-10-30
 

I found the solution !

I add an ‘adminhtml.xml’ file. This topic helped me : http://www.magentocommerce.com/boards/viewthread/78703/

 
Magento Community Magento Community
Magento Community
Magento Community
 
jchgo
Jr. Member
 
Avatar
Total Posts:  2
Joined:  2008-12-01
 

1. add an ‘adminhtml.xml’ :

<?xml version=\"1.0\"?>
<config>
  <
acl>
    <
resources>
      <
all>
        <
title>Allow Everything</title>
      </
all>
      <
admin>
        <
children>
          <
system>
            <
children>
              <
config>
                <
children>
                  <
example translate=\"title\">
                    <
title>An Example Section</title>
                    <
sort_order>100</sort_order>
                  </
example>
                </
children>
              </
config>
            </
children>
          </
system>
        </
children>
      </
admin>
    </
resources>
  </
acl>
</
config>

in to app/code/local/Mage/Pap/etc
2. go to System > Permissions > Roles > Administrators
3. click on Role Resources and set Resource Access to All
4. save the Role
and you have Pap permission

 
Magento Community Magento Community
Magento Community
Magento Community
Magento Community
Magento Community
    Back to top