【问题标题】:magento missing shell directorymagento 缺少 shell 目录
【发布时间】:2014-11-07 05:25:58
【问题描述】:

我试图运行 shell/log.php 来清理我们的一个 magento 网站上的日志,但它丢失了。我想知道为什么它丢失以及如何解决它。这是 bash 输出:

[root@example.com www]# php shell/log.php
Could not open input file: shell/log.php

【问题讨论】:

  • 它不存在。 shell 目录完全丢失

标签: php shell magento logging


【解决方案1】:

完整的命令是

*php -f shell/log.php clean*

或者您可以通过 phpMyAdmin 或另一个清理日志。只需清空下表:

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

【讨论】:

  • 根目录根本没有shell目录,所以我不能运行那个命令。但是,我可以按照建议手动清除数据库。所以答案被接受了。谢谢
猜你喜欢
  • 1970-01-01
  • 1970-01-01
  • 2017-04-25
  • 2015-11-01
  • 1970-01-01
  • 1970-01-01
  • 2023-03-03
  • 2013-09-08
  • 2019-02-06
相关资源
最近更新 更多