Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • dewacorpalliances Friend
    #152215

    Hi there

    We are about to test to move the website and the databse from one subdomain to a live domain.

    The current site on: ozibadge-uat.dewacorp.com and move to http://www.ozibadge.com (currently it has an old site). Now since the system using plesk for host we can test through manipluation hosts file in windows to point to the “live” domain. But I got the folloiwng error:

    Fatal error: Call to a member function on a non-object in C:InetpubvhostsOZIBADGE.COMhttpdocsmodulesmod_janewshelper.php on line 102

    We are utilising the tamplate of JA_MESOLITE_II btw

    I am really appreciated if you can point me to the right direction. Cause we need to move to production quickly.

    ==========================

    New finding:

    If I disable the mod_janews in one of the module that is using it, it works!!! But I need to have this module utilise though.

    ==========================

    Thank you

    Saguaros Moderator
    #348971

    pls open the modulesmo d_janewshelper.php and find the following codes:
    [PHP]
    function __construct( $module, $params = null ) {

    $this->_params = $params ? $params : new JParameter ( ” );
    $this->loadUserSetting ( $module );
    }

    [/PHP]
    replace:
    [PHP]
    function __construct( $module, $params = null ) {

    $this->_params = $params ? $params : new JParameter ( ” );
    $this->loadUserSetting ( $module );
    }

    function modJaNewsHelper( $module, $params = null ){
    return $this->__construct( $module, $params );
    }
    [/PHP]

    Good luck

    dewacorpalliances Friend
    #348994

    Hi tienhc. Thanks for that. It works!!!

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

This topic contains 3 replies, has 2 voices, and was last updated by  dewacorpalliances 14 years, 4 months ago.

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