Magento CLI索引器catalog_url制动器url重写

时间:2012-11-04 22:02:57

标签: php magento url-rewriting

我对Magento 1.7.0.2有一个奇怪的问题

当我通过cli

重新索引“目录网址重写”时
  

php shell / indexer.php --reindex catalog_url

我获得了没有.html 生成的广告,商店中的链接无效。

当我在管理中使用索引管理工具重新编制索引时,一切正常。

产品网址后缀类别网址后缀设置为 .html

任何人都有线索吗?

解决

问题是任何脚本都无法使用任何配置 法师:: getStoreConfig()

刷新Magento缓存和缓存存储解决了问题。

0 个答案:

没有答案