Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • kraymitchell Friend
    #128512

    I just installed Joomla-Tags from Phil Taylor, and now when I try and load the main page of my site, I get this:

    Fatal error: Class ‘mosParameters’ not found in /PATH/public_html/templates/ja_barite/ja_menus/Base.class.php on line 29

    It is only with the JA Barite Template though, JA Hedera works fine when viewed from the front. Can you help me with this?

    Thanks!

    kallan Friend
    #249031

    You’re probably best to ask this question in Phil-Taylor’s forum. http://www.phil-taylor.com/

    Try un publishing any plugins that got installed with this component because sometimes the clash.

    Good luck
    Kallan

    kraymitchell Friend
    #249038

    I have uninstalled the plugin, and I have contacted Phil. I think the only way I will be able to get this template working again is to re-install Joomla from scratch.

    Though, I wanted to see if it is possible to merge these two templates together… I will ask this in the appropriate forum though.

    Sherlock Friend
    #249123

    Hi.
    If you use joomla 1.0.
    plz edit Base.class.php(templatesja_bariteja_menus)
    Search function loadMenu(), replace this funstion by
    <blockquote>function loadMenu(){
    $this->loadMenu_10x();
    }</blockquote>

    Search function createParameterObject($param, $path=”, $type=’menu’), replace that function by :
    <blockquote>function createParameterObject($param, $path=”, $type=’menu’){
    return new mosParameters($param, $path, $type);
    }</blockquote>

    kraymitchell Friend
    #249127

    Hi, sorry, I am running joomla v 1.5.3

    Sherlock Friend
    #249128

    Hi.
    Still edit Base.class.php
    Search those lines:
    <blockquote>function loadMenu(){
    if(defined( ‘_VALID_MOS’ )) $this->loadMenu_10x();
    else $this->loadMenu_15();
    }

    function createParameterObject($param, $path=”, $type=’menu’) {
    if(defined( ‘_VALID_MOS’ )) return new mosParameters($param, $path, $type);
    else return new JParameter($param, $path);
    }</blockquote>
    Change to:
    <blockquote>function loadMenu(){
    $this->loadMenu_15();
    }

    function createParameterObject($param, $path=”, $type=’menu’) {
    return new JParameter($param, $path);
    }</blockquote>

    kraymitchell Friend
    #249132

    THANK YOU!!! It is now working again!

    Greatly appreciated.

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

This topic contains 7 replies, has 3 voices, and was last updated by  kraymitchell 16 years, 5 months ago.

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