module:无法打开流:没有这样的文件或目录

时间:2016-08-23 20:44:57

标签: php magento logging error-handling

我确保文件存在。权限也设置正确。

 Warning: include(Mage/olc/Search/Helper/Data.php): failed to open stream: No such file or directory  in /home/te/public_html/lib/Varien/Autoload.php on line 93

这太令人困惑了,任何人都可以找到解决这个问题的方法。

#0 /home/te/public_html/lib/Varien/Autoload.php(93): mageCoreErrorHandler(2, 'include(Mage/Vo...', '/home/te...', 93, Array)
#1 /home/te/public_html/lib/Varien/Autoload.php(93): Varien_Autoload::autoload()
#2 [internal function]: Varien_Autoload->autoload('Mage_olc_Sea...')
#3 /home/te/public_html/app/Mage.php(547): spl_autoload_call('Mage_olc_Sea...')
#4 /home/te/public_html/app/design/frontend/enterprise/olc/template/page/html/head.phtml(34): Mage::helper('olc_search')
#5 /home/te/public_html/app/code/core/Mage/Core/Block/Template.php(241): include('/home/te...')
#6 /home/te/public_html/app/code/core/Mage/Core/Block/Template.php(272): Mage_Core_Block_Template->fetchView('frontend/enterp...')
#7 /home/te/public_html/app/code/core/Mage/Core/Block/Template.php(286): Mage_Core_Block_Template->renderView()
#8 /home/te/public_html/app/code/local/Mage/Core/Block/Abstract.php(919): Mage_Core_Block_Template->_toHtml()
#9 /home/te/public_html/app/code/local/Mage/Core/Block/Abstract.php(637): Mage_Core_Block_Abstract->toHtml()
#10 /home/te/public_html/app/code/local/Mage/Core/Block/Abstract.php(581): Mage_Core_Block_Abstract->_getChildHtml('head', true)
#11 /home/te/public_html/app/design/frontend/enterprise/olc/template/page/1column.phtml(35): Mage_Core_Block_Abstract->getChildHtml('head')
#12 /home/te/public_html/app/code/core/Mage/Core/Block/Template.php(241): include('/home/te...')
#13 /home/te/public_html/app/code/core/Mage/Core/Block/Template.php(272): Mage_Core_Block_Template->fetchView('frontend/enterp...')
#14 /home/te/public_html/app/code/core/Mage/Core/Block/Template.php(286): Mage_Core_Block_Template->renderView()
#15 /home/te/public_html/app/code/local/Mage/Core/Block/Abstract.php(919): Mage_Core_Block_Template->_toHtml()
#16 /home/te/public_html/app/code/core/Mage/Core/Model/Layout.php(555): Mage_Core_Block_Abstract->toHtml()
#17 /home/te/public_html/app/code/core/Mage/Core/Controller/Varien/Action.php(390): Mage_Core_Model_Layout->getOutput()
#18 /home/te/public_html/app/code/core/Mage/Cms/Helper/Page.php(137): Mage_Core_Controller_Varien_Action->renderLayout()
#19 /home/te/public_html/app/code/core/Mage/Cms/Helper/Page.php(52): Mage_Cms_Helper_Page->_renderPage(Object(Mage_Cms_IndexController), 'home')
#20 /home/te/public_html/app/code/core/Mage/Cms/controllers/IndexController.php(45): Mage_Cms_Helper_Page->renderPage(Object(Mage_Cms_IndexController), 'home')
#21 /home/te/public_html/app/code/core/Mage/Core/Controller/Varien/Action.php(418): Mage_Cms_IndexController->indexAction()
#22 /home/te/public_html/app/code/core/Mage/Core/Controller/Varien/Router/Standard.php(250): Mage_Core_Controller_Varien_Action->dispatch('index')
#23 /home/te/public_html/app/code/core/Mage/Core/Controller/Varien/Front.php(172): Mage_Core_Controller_Varien_Router_Standard->match(Object(Mage_Core_Controller_Request_Http))
#24 /home/te/public_html/app/code/core/Mage/Core/Model/App.php(354): Mage_Core_Controller_Varien_Front->dispatch()
#25 /home/te/public_html/app/Mage.php(684): Mage_Core_Model_App->run(Array)
#26 /home/te/public_html/index.php(89): Mage::run('', 'store')
#27 {main}

1 个答案:

答案 0 :(得分:0)

我错过了位于/ app / etc / modules

内的xml文件