Warning: file_get_contents(/data/phpspider/zhask/data//catemap/0/jpa/2.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 CLI索引器目录\u url制动器url重写_Php_Magento_Url Rewriting - Fatal编程技术网

Php Magento CLI索引器目录\u url制动器url重写

Php Magento CLI索引器目录\u url制动器url重写,php,magento,url-rewriting,Php,Magento,Url Rewriting,我对Magento 1.7.0.2有一个奇怪的问题 当我通过cli重新索引“目录URL重写”时 php shell/indexer.php--reindex目录url 我在没有.html的情况下生成了路径,并且商店中的链接不起作用 当我在administration中使用索引管理工具对其重新编制索引时,一切正常 产品URL后缀和类别URL后缀设置为.html 有人有线索吗 已解决 问题是,任何脚本都无法使用 Mage::getStoreConfig() 刷新Magento缓存和缓存存储解决了问题

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

当我通过cli重新索引“目录URL重写”时

php shell/indexer.php--reindex目录url

我在没有.html的情况下生成了路径,并且商店中的链接不起作用

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

产品URL后缀类别URL后缀设置为.html

有人有线索吗

已解决

问题是,任何脚本都无法使用 Mage::getStoreConfig()

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