Solved

Magento Role Resources not saving

Posted on 2011-09-05
8
1,026 Views
Last Modified: 2012-05-12
I have a new install of the Magento community edition (1.6) on a Mac PHP 5.3 installation. I am unable to get it to save Role Resources.

When I go to the Admin panel, then System->Web Services->Roles, and change to All (or choose anything custom) and click Save Role, it will say it has saved. However, going back into the settings shows nothing was actually saved. Occassionally a duplicate role will be created as well.

I have just wiped everything clean, dropped the magento database and set everything back up from scratch and it doesn't make any difference. Any ideas?
0
Comment
Question by:ktwdallas
  • 5
  • 2
8 Comments
 
LVL 13

Expert Comment

by:LinuxGuru
ID: 36486412
Hi,

It seems to be an issue with Magento. Could you please refer the following url?

http://www.magentocommerce.com/boards/viewthread/2556/
0
 

Author Comment

by:ktwdallas
ID: 36488065
I looked at that thread. Unfortunately they list it as "fixed" as of 1.3, but I'm on 1.6 and still have the issue.
0
 
LVL 12

Expert Comment

by:miked2004
ID: 36488598
Enable Logging and see if anything is logged. There may be an error thrown, that will show up in the logs. Report back what you find.
0
 

Author Comment

by:ktwdallas
ID: 36491410
I've had logging turned on under Developer->Log Settings for a while, it's not generating anything for this issue.
0
Find Ransomware Secrets With All-Source Analysis

Ransomware has become a major concern for organizations; its prevalence has grown due to past successes achieved by threat actors. While each ransomware variant is different, we’ve seen some common tactics and trends used among the authors of the malware.

 

Author Comment

by:ktwdallas
ID: 36491418
0
 
LVL 12

Expert Comment

by:miked2004
ID: 36491452
Do you have any add-on modules installed?
If so I would try disabling them, then see if this issue still exists. To disable edit the file for the module in /app/etc/modules/moduleFile.xml


Then you should see a line like
<active>true</active>

Open in new window


change it to
<active>false</active>

Open in new window


Clear/disable cache and try saving the permissions again.
0
 

Accepted Solution

by:
ktwdallas earned 0 total points
ID: 36497692
It appears that part of the issue is they've renamed the columns in the api_rule table and made "permissions" and "privileges" now "api_permissions" and "api_privileges". But this renaming was apparently incomplete since the web page doesn't pay attention to those columns. Manually renaming the columns back makes the web page work properly, but I haven't tested the actual effect on the operation of Magento.
0
 

Author Closing Comment

by:ktwdallas
ID: 37923279
Confirmed in 1.6
0

Featured Post

6 Surprising Benefits of Threat Intelligence

All sorts of threat intelligence is available on the web. Intelligence you can learn from, and use to anticipate and prepare for future attacks.

Join & Write a Comment

Suggested Solutions

E-commerce is quite a gambling world, and you should never entrust your business to a lucky chance. In order to outrun your competitors in a race to attract as many customers as possible, you need to have a well thought-out strategy under your belt.…
Nothing in an HTTP request can be trusted, including HTTP headers and form data.  A form token is a tool that can be used to guard against request forgeries (CSRF).  This article shows an improved approach to form tokens, making it more difficult to…
Learn how to match and substitute tagged data using PHP regular expressions. Demonstrated on Windows 7, but also applies to other operating systems. Demonstrated technique applies to PHP (all versions) and Firefox, but very similar techniques will w…
The viewer will learn how to create and use a small PHP class to apply a watermark to an image. This video shows the viewer the setup for the PHP watermark as well as important coding language. Continue to Part 2 to learn the core code used in creat…

706 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now