【问题标题】:Magento mass reindexing gives internal server errorMagento 大规模重新索引会导致内部服务器错误
【发布时间】:2014-06-06 07:42:52
【问题描述】:

我们如何重新索引拥有超过 24,000 种产品和数百个类别的 Magento 1.7.02 版本网站?

当我尝试在 Magento Admin Index Management 中重新索引产品价格索引时,它会生成内部服务器错误 500。当我检查服务器日志是否有错误时,它会显示以下消息:

home2/mysitete/public_html/403.shtml
[Wed Jun 04 22:15:03 2014] [error] [client 101.0.79.114] client denied by server configuration: /home2/mysitete/public_html/ultimate4wheel/app/etc/local.xml
[Wed Jun 04 22:14:37 2014] [error] [client 202.191.65.162] File does not exist: /home2/mysitete/public_html/404.shtml
[Wed Jun 04 22:14:37 2014] [error] [client 202.191.65.162] File does not exist: /home2/mysitete/public_html/favicon.ico
[Wed Jun 04 22:14:36 2014] [error] [client 202.191.65.162] File does not exist: /home2/mysitete/public_html/500.shtml, referer: http://mysitetest.com.au/ultimate4wheel/index.php/admin/process/edit/process/4/key/e7cfe1aaf5b456e018f28e488e42a4bd/
[Wed Jun 04 22:13:51 2014] [error] [client 101.0.79.114] File does not exist: /home2/mysitete/public_html/403.shtml
[Wed Jun 04 22:13:51 2014] [error] [client 101.0.79.114] client denied by server configuration: /home2/mysitete/public_html/ultimate4wheel/app/etc/local.xml
[Wed Jun 04 22:13:48 2014] [error] [client 101.0.79.114] File does not exist: /home2/mysitete/public_html/403.shtml
[Wed Jun 04 22:13:48 2014] [error] [client 101.0.79.114] client denied by server configuration: /home2/mysitete/public_html/ultimate4wheel/app/etc/local.xml
[Wed Jun 04 22:13:43 2014] [error] [client 101.0.79.114] File does not exist: /home2/mysitete/public_html/403.shtml
[Wed Jun 04 22:13:43 2014] [error] [client 101.0.79.114] client denied by server configuration: /home2/mysitete/public_html/ultimate4wheel/app/etc/local.xml
[Wed Jun 04 22:13:35 2014] [error] [client 101.0.79.114] File does not exist: /home2/mysitete/public_html/403.shtml
[Wed Jun 04 22:13:35 2014] [error] [client 101.0.79.114] client denied by server configuration: /home2/mysitete/public_html/ultimate4wheel/app/etc/local.xml
[Wed Jun 04 22:13:21 2014] [error] [client 101.0.79.114] File does not exist: /home2/mysitete/public_html/403.shtml
[Wed Jun 04 22:13:21 2014] [error] [client 101.0.79.114] client denied by server configuration: /home2/mysitete/public_html/ultimate4wheel/app/etc/local.xml
[Wed Jun 04 22:12:06 2014] [error] [client 101.0.79.114] File does not exist: /home2/mysitete/public_html/403.sht

谁能帮我解决它...或正确重新索引?

我也尝试过增加时间限制、内存限制、跳过安全等,但没有像我在 .htaccess 文件中写的那样工作:

   php_value memory_limit 2836M
   php_value max_execution_time 2592000
   php_value max_input_time 2592000
   php_value session.gc_maxlifetime 864000
   php_value session.cookie_lifetime 864000
   php_value max_input_vars 50000

【问题讨论】:

    标签: php magento reindex


    【解决方案1】:

    对于大规模重新索引,您应该始终尝试命令提示符。

    通过命令行进入你的项目路径:

    cd path/to/your/project/folder
    

    然后打开“Shell”文件夹

    cd shell
    

    然后执行以下命令重新索引所有索引。

    php indexer.php --reindexall
    

    欲了解更多信息,请访问此link

    Magento link

    【讨论】:

      猜你喜欢
      • 2020-04-19
      • 2014-01-11
      • 2013-09-25
      • 2013-07-14
      • 2016-01-28
      • 1970-01-01
      • 1970-01-01
      • 2014-11-26
      • 1970-01-01
      相关资源
      最近更新 更多