【问题标题】:Magento 1.9.1 Cannot initialize the indexer process for Product Price onlyMagento 1.9.1 无法仅为产品价格初始化索引器进程
【发布时间】:2016-06-09 11:41:57
【问题描述】:

【问题讨论】:

    标签: indexing magento-1.9


    【解决方案1】:

    一些插件会改变数据库结构。 尝试以下脚本并检查错误(只需将此代码粘贴到页脚并运行)。

        $indexCollection = Mage::getModel('index/process')->getCollection();
        foreach ($indexCollection as $index)
        {
            try
            {
                $index->reindexAll();
            }
            catch(Exception $e)
            {
                print_r($e->getMessage());
    
            }
        }
    

    【讨论】:

      【解决方案2】:

      尝试使用 ssh 登录网站,然后转到 magento 根目录并使用命令 'php shell/indexer.php --reindexall'

      【讨论】:

        猜你喜欢
        • 1970-01-01
        • 1970-01-01
        • 1970-01-01
        • 1970-01-01
        • 2014-01-16
        • 1970-01-01
        • 1970-01-01
        • 1970-01-01
        • 1970-01-01
        相关资源
        最近更新 更多