简体   繁体   English

访问用户角色部分时出现Magento错误

[英]Magento Error when Accessing User Roles Section

I have a Magento site in which there are about 20-25 extensions installed, among which 7 are commercial, which means that those 7 extensions are fully encrypted. 我有一个Magento网站,其中安装了大约20-25个扩展,其中7个是商业化的,这意味着这7个扩展已完全加密。 Also none of these extensions use the User Roles & Permissions section, in the Admin area. 同样,这些扩展都不使用“管理员”区域中的“用户角色和权限”部分。

Now, a few days back, I got into a silly problem which is really taking a toll on me. 现在,几天前,我遇到了一个愚蠢的问题,这确实使我付出了代价。 I wanted to create a new User Role (from System > Permissions > Roles), where I already have 14 other Roles set. 我想创建一个新的用户角色(从“系统”>“权限”>“角色”),其中已经设置了14个其他角色。 Now whenever I click the "Add New Role" button or try to edit any of the existing roles, I get the following error:- 现在,每当我单击“添加新角色”按钮或尝试编辑任何现有角色时,都会出现以下错误:

<my-magento-site-domain>: This script is locked to another domain.

What I'm pretty sure is that this error is somewhere related to the use of extensions, but I don't know & can't understand where it is coming from. 我敢肯定,这个错误与扩展名的使用有关,但是我不知道也不知道它的来源。 I have tried to solve this error by disabling all the extensions & clearing the full cache & deleting all the folders in the "/var/" folder, but nothing has happened. 我试图通过禁用所有扩展名并清除完整的缓存并删除“ / var /”文件夹中的所有文件夹来解决此错误,但没有任何反应。

Magento version: 1.3.2.3 Magento版本: 1.3.2.3
I know that Magento upgradation is necessary, but can't do so due to those extensions. 我知道Magento升级是必要的,但由于这些扩展而不能这样做。

Can somebody please help me in this matter? 在这件事上有人可以帮我吗? Any help is greatly appreciated. 任何帮助是极大的赞赏。

When you say that you disabled all the extensions, how did you perform that step? 当您说禁用所有扩展时,您是如何执行该步骤的? I've found that the System>Config>Advanced status values are often ignored by extensions, as are various other attempts to disable. 我发现System>Config>Advanced状态值经常被扩展忽略,其他各种禁用尝试也是如此。 The only way that you can be certain of disabling the extension (IMHO) is to remove their .xml files from etc/modules . 确定禁用扩展名(IMHO)的唯一方法是从etc/modules删除其.xml文件。

It sounds like the error that you are getting is a Javascript generated error. 听起来您得到的错误是Javascript生成的错误。 You could grep the /js folder to find that error text to see if you can track down the source of the error. 您可以grep /js文件夹来找到该错误文本,以查看是否可以跟踪错误源。 Likewise, use Firebug (or Chrome Inspector, choose your browser poison) to debug the JS error. 同样,请使用Firebug(或Chrome Inspector,选择您的浏览器毒药)调试JS错误。 Post what you find here... 发表您在这里找到的...

One more option is to manually create the new role using phpmyadmin. 另一种选择是使用phpmyadmin手动创建新角色。 By inspecting the admin_role table, you'll work out the syntax fairly quickly (eg tree_level ="1", role_type = "G". Then see if you can edit the new role through the UI. 通过检查admin_role表,您可以很快地算出语法(例如tree_level =“ 1”, role_type =“ G”。然后查看是否可以通过UI编辑新角色。

Cheers, JD 欢呼,京东

You can try with clean magento install without commercial extensions. 您可以尝试使用不带商业扩展的全新magento安装。 Add a role and see if this happens. 添加一个角色,看看是否发生这种情况。 Then add commercial extensions one by one and test when this error occurs. 然后一个接一个地添加商业扩展,并在发生此错误时进行测试。

I assume that you have already searched all magento files (at least non encrypted ones) to see if there is any containing your error message... 我假设您已经搜索了所有的magento文件(至少是未加密的文件),看是否有包含您的错误消息的文件...

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM