Magento 1.7 - getModel in script outside web application fails

后端 未结 7 1837
猫巷女王i
猫巷女王i 2021-01-17 04:31

    
        
            Starmall_Shipment_Model
            s         


        
7条回答
  •  鱼传尺愫
    2021-01-17 05:16

    The problem is indeed in app/etc/local.xml, but it shouldn't be solved by calling Mage::app()->loadModules().

    The real issue is that someone (most likely for debugging purposes) disabled local modules.

    Just change

    true
    

    to

    false
    

    in app/etc/local.xml.

提交回复
热议问题