Warning: file_get_contents(/data/phpspider/zhask/data//catemap/1/php/289.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Php magento缺少shell目录_Php_Shell_Magento_Logging - Fatal编程技术网

Php magento缺少shell目录

Php magento缺少shell目录,php,shell,magento,logging,Php,Shell,Magento,Logging,我试图运行shell/log.php来清理我们的一个magento网站上的日志,但它不见了。我想知道为什么它丢失了,以及如何修复它。下面是bash输出: [root@example.com www]# php shell/log.php Could not open input file: shell/log.php 全权指挥 *php -f shell/log.php clean* 或者,您可以通过phpMyAdmin或其他方式清理日志。只需清空以下表格: dataflow_batch_e

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

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

*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目录完全丢失根目录根本没有shell目录,因此我无法运行该命令。但是,我可以按照建议手动清除数据库。所以答案被接受了。谢谢