magento 通过命令行index的方法
来源:互联网 发布:淘宝上真正的原单包店 编辑:程序博客网 时间:2024/05/17 08:54
在magento中,reindex是经常需要使用的功能, 这个功能除了可在后台直接使用外,还能通过一个magento自带的脚本运行,这个脚本的位置在shell\indexer.php。
脚本的三个常用选项如下:
(1)查看哪些选项可以reindex
php indexer.php info
第一项是参数值,第二项是这个值的解释(也就和在后台上看到的一样)
(2)reindex 全部选项
php indexer.php reindexall
(3)reindex 其中的某一项
php indexer.php --reindex cataloginventory_stock
参数值可通过(1)查得
注意了,在reindex.php 的帮助中提示命令的格式应该如下:
php -f indexer.php --reindex cataloginventory_stock
但实际发现这个命令是没法运行的。
- magento 通过命令行index的方法
- magento index manager 报错,不能index的终极解决方案
- 通过magento后台的magento connect安装magento extension
- Magento加速的方法
- magento搬家的方法
- Magento的分页方法
- magento index.php 404
- 通过命令行给c的main方法传参数
- Xcode Instruments通过命令行执行UI自动测试的方法
- magento获取产品的方法
- Magento Rewrite Url的方法
- 调试magento程序的方法
- magento 发送邮件,通过magento的机制发送邮件 - magento send custom email
- Magento怎么去掉index.php
- 增加Magento方法的插件 - Remove Placeholder
- magento 添加customer attribute的方法
- magento数据库处理的一些方法
- Magento清除缓存的几种方法
- 《敏捷个人》学习笔记 - 如何经营博客
- (转)在虚拟机中添加一个hard disk
- ubuntu如何修改默认的文件关联打开程序
- oracle用户访问限制相关
- java对象与xml文件转换
- magento 通过命令行index的方法
- android 开发 短信发送器
- JAVA WEB开发----国际化
- Android学习——界面编程!
- Activemq配置——Jaas方式配置用户登录验证
- c++关键字之static
- VC++ 6.0 转VS2005以上版本(2)
- JDBC工具类
- 点击父分类前的图标时能够显示、折叠子分类。