Magento大量重新编制索引会导致内部服务器错误 [英] Magento mass reindexing gives internal server error

查看:71
本文介绍了Magento大量重新编制索引会导致内部服务器错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们如何重新索引Magento 1.7.02版本的站点,该站点包含24,000多种产品和数百个类别?

How can we reindex a Magento 1.7.02 version site having more than 24,000 products and hundreds of categories?

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

When I try to reindex the product price index in Magento Admin Index Management, it generates an internal Server Error 500. When I checked the server log for errors it shows up with messages:

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

任何人都可以帮助我解决它...或正确地重新编制索引吗?

Can anyone help me to solve it... or reindex correctly?

我还尝试了增加时间限制,内存限制,跳过安全性等,但是没有如我在.htaccess文件中所写的那样起作用:

I have also tried increasing time limit, memory limit, skipping security, etc. but didn't work as I wrote in .htaccess file:

   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

推荐答案

要进行大量重新索引编制,应始终尝试使用命令提示符.

For mass re-indexing you should always try command prompt.

通过命令行转到您的项目路径:

Go to your project path through command line:

cd path/to/your/project/folder

然后打开外壳"文件夹

cd shell

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

And then do the following command to re-index all indexes.

php indexer.php --reindexall

有关更多信息,请通过以下 链接 > .

For more info go through this link.

Magento链接

这篇关于Magento大量重新编制索引会导致内部服务器错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆