访问用户角色部分时 Magento 错误
我有一个 Magento 站点,其中安装了大约 20-25 个扩展,其中 7 个是商业扩展,这意味着这 7 个扩展是完全加密的。此外,这些扩展均不使用用户角色和用户角色。管理区域中的权限部分。
现在,几天前,我遇到了一个愚蠢的问题,这确实对我造成了影响。我想创建一个新的用户角色(从“系统”>“权限”>“角色”),其中我已经设置了 14 个其他角色。现在,每当我单击“添加新角色”按钮或尝试编辑任何现有角色时,我都会收到以下错误:-
<my-magento-site-domain>: This script is locked to another domain.
我非常确定此错误与扩展的使用有关,但我不知道不知道&无法理解它来自哪里。我尝试通过禁用所有扩展程序来解决此错误清除完整缓存和删除“/var/”文件夹中的所有文件夹,但没有任何反应。
Magento 版本:1.3.2.3
我知道 Magento 升级是必要的,但由于这些扩展而无法这样做。
有人可以在这件事上帮助我吗?非常感谢任何帮助。
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. 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. 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.
Magento version: 1.3.2.3
I know that Magento upgradation is necessary, but can't do so due to those extensions.
Can somebody please help me in this matter? Any help is greatly appreciated.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
当您说禁用所有扩展时,您是如何执行该步骤的?我发现
System>Config>Advanced
状态值经常被扩展忽略,其他各种尝试禁用也是如此。您可以确定禁用扩展的唯一方法(恕我直言)是从etc/modules
中删除其 .xml 文件。听起来您收到的错误是 Javascript 生成的错误。您可以 grep
/js
文件夹来查找错误文本,看看是否可以找到错误的来源。同样,使用Firebug(或Chrome Inspector,选择您的浏览器毒药)来调试JS错误。在这里发布您找到的内容...另一种选择是使用 phpmyadmin 手动创建新角色。通过检查 admin_role 表,您将相当快地计算出语法(例如
tree_level
="1",role_type
= "G"。然后看看是否可以编辑通过 UI 的新角色。
京东
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. The only way that you can be certain of disabling the extension (IMHO) is to remove their .xml files frometc/modules
.It sounds like the error that you are getting is a Javascript generated error. You could grep the
/js
folder to find that error text to see if you can track down the source of the error. Likewise, use Firebug (or Chrome Inspector, choose your browser poison) to debug the JS error. Post what you find here...One more option is to manually create the new role using phpmyadmin. By inspecting the admin_role table, you'll work out the syntax fairly quickly (e.g.
tree_level
="1",role_type
= "G". Then see if you can edit the new role through the UI.Cheers,
JD
您可以尝试使用干净的 magento 安装而不使用商业扩展。添加一个角色,看看是否会出现这种情况。然后一一添加商业扩展并测试何时出现此错误。
我假设您已经搜索了所有 magento 文件(至少是未加密的文件)以查看是否有包含您的错误消息的文件...
You can try with clean magento install without commercial extensions. 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...