Cài trên hosting báo lỗi

Thảo luận trong 'Cài đặt Magento' bắt đầu bởi Pham Quang Minh, 22 Tháng sáu 2010.

  1. Pham Quang Minh

    Pham Quang Minh New Member

    Warning: strpos() [function.strpos]: Empty delimiter in /home/thinhpq/domains/labict.com/public_html/shop/app/design/frontend/default/jm_topaz/template/page/includes/templatetools.php on line 355
    Trace:
    #0 [internal function]: mageCoreErrorHandler(2, 'strpos() [isHomepage()
    #3 /home/thinhpq/domains/labict.com/public_html/shop/app/code/core/Mage/Core/Block/Template.php(144): include('/home/thinhpq/d...')
    #4 /home/thinhpq/domains/labict.com/public_html/shop/app/code/core/Mage/Core/Block/Template.php(176): Mage_Core_Block_Template->fetchView('frontend/defaul...')
    #5 /home/thinhpq/domains/labict.com/public_html/shop/app/code/core/Mage/Core/Block/Template.php(193): Mage_Core_Block_Template->renderView()
    #6 /home/thinhpq/domains/labict.com/public_html/shop/app/code/core/Mage/Core/Block/Abstract.php(643): Mage_Core_Block_Template->_toHtml()
    #7 /home/thinhpq/domains/labict.com/public_html/shop/app/code/core/Mage/Core/Block/Abstract.php(503): Mage_Core_Block_Abstract->toHtml()
    #8 /home/thinhpq/domains/labict.com/public_html/shop/app/code/core/Mage/Core/Block/Abstract.php(454): Mage_Core_Block_Abstract->_getChildHtml('header', true)
    #9 /home/thinhpq/domains/labict.com/public_html/shop/app/design/frontend/default/jm_topaz/template/page/2columns-right.phtml(45): Mage_Core_Block_Abstract->getChildHtml('header')
    #10 /home/thinhpq/domains/labict.com/public_html/shop/app/code/core/Mage/Core/Block/Template.php(144): include('/home/thinhpq/d...')
    #11 /home/thinhpq/domains/labict.com/public_html/shop/app/code/core/Mage/Core/Block/Template.php(176): Mage_Core_Block_Template->fetchView('frontend/defaul...')
    #12 /home/thinhpq/domains/labict.com/public_html/shop/app/code/core/Mage/Core/Block/Template.php(193): Mage_Core_Block_Template->renderView()
    #13 /home/thinhpq/domains/labict.com/public_html/shop/app/code/core/Mage/Core/Block/Abstract.php(643): Mage_Core_Block_Template->_toHtml()
    #14 /home/thinhpq/domains/labict.com/public_html/shop/app/code/core/Mage/Core/Model/Layout.php(526): Mage_Core_Block_Abstract->toHtml()
    #15 /home/thinhpq/domains/labict.com/public_html/shop/app/code/core/Mage/Core/Controller/Varien/Action.php(347): Mage_Core_Model_Layout->getOutput()
    #16 /home/thinhpq/domains/labict.com/public_html/shop/app/code/core/Mage/Cms/Helper/Page.php(100): Mage_Core_Controller_Varien_Action->renderLayout()
    #17 /home/thinhpq/domains/labict.com/public_html/shop/app/code/core/Mage/Cms/controllers/IndexController.php(45): Mage_Cms_Helper_Page->renderPage(Object(Mage_Cms_IndexController), 'home')
    #18 /home/thinhpq/domains/labict.com/public_html/shop/app/code/core/Mage/Core/Controller/Varien/Action.php(376): Mage_Cms_IndexController->indexAction()
    #19 /home/thinhpq/domains/labict.com/public_html/shop/app/code/core/Mage/Core/Controller/Varien/Router/Standard.php(248): Mage_Core_Controller_Varien_Action->dispatch('index')
    #20 /home/thinhpq/domains/labict.com/public_html/shop/app/code/core/Mage/Core/Controller/Varien/Front.php(158): Mage_Core_Controller_Varien_Router_Standard->match(Object(Mage_Core_Controller_Request_Http))
    #21 /home/thinhpq/domains/labict.com/public_html/shop/app/Mage.php(459): Mage_Core_Controller_Varien_Front->dispatch()
    #22 /home/thinhpq/domains/labict.com/public_html/shop/index.php(65): Mage::run()
    #23 {main}
    Các bác cao thủ giúp đỡ với! Cảm ơn các bác
  2. admin

    admin Mai Văn Hải Staff Member

    Bạn coi lại template và tìm sửa file này: templatetools.php

Chia sẻ trang này