Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • arinus Friend
    #130466

    Hi, All. I found error when I use RSGallery2 Component with this template. When I try to access that component with menu, this message show up:

    “Fatal error: Call to a member function getItems() on a non-object in C:Program Filesxampphtdocsnetrarev.comtemplatesja_ioliteja_menusBase.class.php on line 143”

    Can someone please help me to solf this problem?

    Sherlock Friend
    #258027

    Hi arinus !
    Please send url of your site.

    arinus Friend
    #258106

    I didn’t ready yet to upload this site to the server. But I think you can try it like i did to find and fixing the problem. I used joomla 1.0.15 quickstart template package

    Sherlock Friend
    #258229

    Hi
    plz edit Base,class.php(templatesja_iolit eja_menusBase.class.php)
    search those lines:

    function loadMenu(){
    if(defined( '_JEXEC' )) $this->loadMenu_15();
    else $this->loadMenu_10x();
    }

    function createParameterObject($param, $path='', $type='menu') {
    if(defined( '_JEXEC' )) return new JParameter($param, $path);
    else return new mosParameters($param, $path, $type);
    }

    function getPageTitle ($params) {
    if(defined( '_JEXEC' )) return $params->get ('page_title');
    else return $params->get ('header');
    }

    Change to

    function loadMenu(){
    //if(defined( '_JEXEC' )) $this->loadMenu_15();
    //else
    $this->loadMenu_10x();
    }

    function createParameterObject($param, $path='', $type='menu') {
    //if(defined( '_JEXEC' )) return new JParameter($param, $path);
    //else
    return new mosParameters($param, $path, $type);
    }

    function getPageTitle ($params) {
    //if(defined( '_JEXEC' )) return $params->get ('page_title');
    //else
    return $params->get ('header');
    }

Viewing 4 posts - 1 through 4 (of 4 total)

This topic contains 4 replies, has 2 voices, and was last updated by  Sherlock 16 years, 4 months ago.

We moved to new unified forum. Please post all new support queries in our New Forum