magento缺少外壳程序目录 [英] magento missing shell directory
本文介绍了magento缺少外壳程序目录的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我试图运行shell/log.php来清理我们magento网站之一上的日志,但它丢失了.我想知道为什么丢失了它,以及如何解决它.这是bash的输出:
I was trying to run shell/log.php to clean the logs on one of our magento websites and it's missing. I'm wondering why it's missing and how to fix that. here's the bash output:
[root@example.com www]# php shell/log.php
Could not open input file: shell/log.php
推荐答案
完整命令是
*php -f shell/log.php clean*
或者您可以通过phpMyAdmin或另一个清理日志.只需清空以下表格:
or you can clean logs via phpMyAdmin or another one. Just empty following tables:
dataflow_batch_export
dataflow_batch_import
log_customer
log_quote
log_summary
log_summary_type
log_url
log_url_info
log_visitor
log_visitor_info
log_visitor_online
report_viewed_product_index
report_compared_product_index
这篇关于magento缺少外壳程序目录的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文