[2.5] Giúp sửa lỗi module

Thảo luận trong 'Hướng dẫn - Hỏi đáp' bắt đầu bởi hieuvu899, 15/4/15.

  1. hieuvu899

    hieuvu899 Mới tham gia

    Bài viết:
    20
    Likes :
    1
    Các bác cho em hỏi code này có vấn đề gì với ạ, nó báo lỗi Fatal error: Class 'modLastCustomerHelper' not found

    <?php
    /**
    * Hello World! Module Entry Point
    *
    * @package Joomla.Tutorials
    * @subpackage Modules
    * @link
    * @license GNU/GPL, see LICENSE.php
    * mod_helloworld is free software. This version may have been modified pursuant
    * to the GNU General Public License, and as distributed it includes or
    * is derivative of works licensed under the GNU General Public License or
    * other free or open source software licenses.
    */

    // no direct access
    defined( '_JEXEC' ) or die( 'Restricted access' );

    // Include the syndicate functions only once
    require_once( dirname(__FILE__).DS.'helper.php' );

    $order = modLastCustomerHelper::getItemsOrder();
    require( JModuleHelper::getLayoutPath( 'mod_lastcustomer' ) );
    ?>
     
comments powered by Disqus

Chia sẻ trang này