Magento编辑类别问题

时间:2014-11-10 15:57:23

标签: php magento

我正在使用Magento CE版。 1.9.0.1对于我的一个商店,一切都运行良好,按预期但目录/类别。我无法在管理面板中编辑/删除类别。

控制台详细信息如下:

每次点击类别名称时都会点击网址:

BASE/index.php/admin/catalog_category/edit/key/<scurity_key>/?q=index.php%2Fadmin%2Fcatalog_category%2Findex%2Fkey%2Fbdf7b2cc9b890b6cb7e687a31bc7c35c%2Fid/3/&isAjax=true

获取参数:

isAjax : true

q : index.php/admin/catalog_category/index/key/bdf7b2cc9b890b6cb7e687a31bc7c35c/id/3/

POST Params:

active_tab_id : category_info_tabs_group_4

form_key : FeUR7dFe2MutCtcB

这总是带来一个空白的类别表格。

1 个答案:

答案 0 :(得分:2)

我有同样的问题。这是因为Nginx配置。 您可以找到以下行

location / {
    try_files $uri $uri/ /index.php?$query_string; 
  or
    try_files $uri $uri/ /index.php?q=$uri&$args;
}

在您网站的配置中(/etc/nginx/sites-available/yoursite.com)。

将其更改为

location / {
    try_files $uri $uri/ @handler; ## If missing pass the URI to Magento's front handler
}
location @handler { ## Magento uses a common front handler
    rewrite / /index.php;
}

使用http://www.magentocommerce.com/wiki/1_-_installation_and_configuration/configuring_nginx_for_magento

中的指南