【问题标题】:Magento Edit Category IssueMagento 编辑类别问题
【发布时间】:2014-11-10 15:57:23
【问题描述】:

我正在使用 Magento CE 版本。 1.9.0.1 对于我的一家商店,一切正常,如预期的那样,但目录/类别。我无法从管理面板编辑/删除类别。

控制台详情如下:

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

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 参数:

active_tab_id : category_info_tabs_group_4

form_key : FeUR7dFe2MutCtcB

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

【问题讨论】:

    标签: php magento


    【解决方案1】:

    我遇到了同样的问题。那是因为 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的指南

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2015-04-06
      • 1970-01-01
      • 1970-01-01
      • 2017-02-20
      • 2014-09-22
      相关资源
      最近更新 更多