Bị Lỗi Này Warning: Include_once

Thảo luận trong 'JoomShopping' bắt đầu bởi laptop123.vn, 7/12/12.

  1. laptop123.vn

    laptop123.vn Rất tích cực

    Bài viết:
    71
    Likes :
    10
    Tìn hình là em chạy trên hot OK rồi, khi em chỉnh sửa trên máy ở nhà thì chạy OK, nhưng sáng hôm sau lên máy cty mở web lên thì nó báo lỗi này.

    Warning: include_once(/home/laptop12/public_html/templates/it_theshop/icetools/default.php) [function.include-once]: failed to open stream: No such file or directory in /home/laptop12/public_html/templates/it_theshop/index.php on line 21

    Warning: include_once() [function.include]: Failed opening '/home/laptop12/public_html/templates/it_theshop/icetools/default.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/laptop12/public_html/templates/it_theshop/index.php on line 21

    Warning: Invalid argument supplied for foreach() in /home/laptop12/public_html/templates/it_theshop/icetools/switcher.php on line 9

    Fatal error: Call to undefined function countModules() in /home/laptop12/public_html/templates/it_theshop/index.php on line 35
     
  2. tranngochien89

    tranngochien89 Joomla devlopmet

    Bài viết:
    473
    Likes :
    122
    Bạn kiểm tra trên host xem file home/laptop12/public_html/templates/it_theshop/icetools/default.php có hay không?
     
  3. laptop123.vn

    laptop123.vn Rất tích cực

    Bài viết:
    71
    Likes :
    10
    /public_html/templates/it_theshop/icetools vào tới đây thấy có 3 file bạn à: index.php,helper.php.switcher.php

    minh thấy lạ cái là, sáng vào cty mình úp lại cái thample lên hot thi nó chạy bình thường, tối về nhà 12h đêm vẫn thấy chạy bình thường, sáng mai lên cty thi bị lôi này, hình như qua 12 tiếng nó bị lỗi hay sao á.
    Khi bấm vào [function.include-once]: thì nó hiện ra thông báo
    An error has occurred. The requested page cannot be found.


    404 Component not found

    You may not be able to visit this page because of:

    1. an out-of-date bookmark/favourite
    2. a search engine that has an out-of-date listing for this site
    3. a mistyped address
    4. you have no access to this page
    5. The requested resource was not found.
    6. An error has occurred while processing your request.
    mà mình vào administrator vẫn bình thường nha.
     
  4. laptop123.vn

    laptop123.vn Rất tích cực

    Bài viết:
    71
    Likes :
    10
    Mình phát hiện ra rồi, thi ra nó mất file default, mà hình như file này web tự xóa, đổi tên lại thành index.php, rồi vào file index đổi lại cho khớp
     
  5. tranngochien89

    tranngochien89 Joomla devlopmet

    Bài viết:
    473
    Likes :
    122
    :45.jpg:
     
  6. laptop123.vn

    laptop123.vn Rất tích cực

    Bài viết:
    71
    Likes :
    10
    hix bạn ơi, mình đổi defaul thanh index qua ngày sau cung bị mất tiêu luôn, sao kỳ vậy ta.
     
  7. tranngochien89

    tranngochien89 Joomla devlopmet

    Bài viết:
    473
    Likes :
    122
    Có thể do templates it_theshop, là nó bản quyền đấy
     
  8. laptop123.vn

    laptop123.vn Rất tích cực

    Bài viết:
    71
    Likes :
    10
    vâng, em tim hiểu thi ra nó có bản quyền. em làm theo hướng dẫn crack k bit thành công không

    . mở file này trong thư mục templates templates/it_shop4/icetools/default.php xóa tất cả các dòng này đi: eval(gzinflate(base64_decode('ZZBBa4NAEIXPCv6HIQhr ILp3S4RcikhDSvEuWzuNSzfudt wk9N933Y2BkOPMvPe9x8RN3e7fyrLL2CcO4iI1Fd8kTnjV9MM2 YOmM65ckTmLC37Mk7PTYIzTvu7 buPg6HFgpYcYsno4TFia/cnNpBTnm1LN2Gcdmj1VpNfEBlkAozGOaxnMMRLRjhQqckTsMdt jDiFZ yr9nP2BJ1L3cR5RTh+IbW3210coBD6p8KYKIq20LyK3mr6K0sX vDNGyV5YqcfMI5eA4HXy2ZdXTn rH+58s9MBW+qg9/CHZ2zI2H1ko8Q8=')));
    thay thế dòng trên bằng dòng này:
    JHTML::_('behavior.framework', true);
    require_once JPATH_ROOT . "/templates/" . $this->template . '/icetools/helper.php';
    // get params
    bỏ cái nè đi : $helper = new iceHelper( $this->template );$helper->renderTemplate( $this->params );
    $app = JFactory::getApplication();
    $templateparams = $app->getTemplate(true)->params;
    $logo= $this->params->get('logo');

    và xóa helper.php là ok đã sửa đc lỗi
     
comments powered by Disqus

Chia sẻ trang này