Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • jamjodesign Friend
    #150107

    I installed the ja-extension manager in order to upgrade the ja-comments component but I get the following error after a successful install.

    Cannot redeclare class Services_JSON_Error on line public_html/demo/administrator/components/com_jaextmanager/lib/jaupdater/core/json.php on line 799

    This error appears when I simply click on the JA Extensions Manager in the components menu in the backend of joomla? :confused:

    Can someone help?

    Saguaros Moderator
    #339101

    Dear jamjodesign!

    I have create a issue on the PM, our dev ‘ll check this issue and i ‘ll inform you about status of this and give you the solution

    http://pm.joomlart.com/browse/JAECCOMJAEXTMANAGER-1

    Thanks

    jamjodesign Friend
    #339155

    Thanks i look forward to reply

    Anonymous Moderator
    #339393

    Hi jamjodesign,

    We have fixed the bug on your site. Please check the update and get back if there is anything else we could help

    Those who met the same error, please open file administrator/components/com_jaextmanager/lib/jaupdater/core/json.php, search the following lines at around 782

    if (class_exists(‘PEAR_Error’)) {

    class Services_JSON_Error extends PEAR_Error
    {
    function Services_JSON_Error($message = ‘unknown error’, $code = null,
    $mode = null, $options = null, $userinfo = null)
    {
    parent::PEAR_Error($message, $code, $mode, $options, $userinfo);
    }
    }

    } else {

    /**
    * @todo Ultimately, this class shall be descended from PEAR_Error
    */
    class Services_JSON_Error
    {
    function Services_JSON_Error($message = ‘unknown error’, $code = null,
    $mode = null, $options = null, $userinfo = null)
    {

    }
    }

    }

    And change to the below lines

    if (!class_exists(‘Services_JSON_Error’)) {

    if (class_exists(‘PEAR_Error’)) {

    class Services_JSON_Error extends PEAR_Error
    {
    function Services_JSON_Error($message = ‘unknown error’, $code = null,
    $mode = null, $options = null, $userinfo = null)
    {
    parent::PEAR_Error($message, $code, $mode, $options, $userinfo);
    }
    }

    } else {

    /**
    * @todo Ultimately, this class shall be descended from PEAR_Error
    */
    class Services_JSON_Error
    {
    function Services_JSON_Error($message = ‘unknown error’, $code = null,
    $mode = null, $options = null, $userinfo = null)
    {

    }
    }

    }

    }

    Save and check the update

    jamjodesign Friend
    #339421

    Another problem has occured now. On the frontend I now have the following error when I click on forum which is ja-voice:

    Parse error: syntax error, unexpected ‘}’ in /home/greg/public_html/demo/components/com_javoice/helpers/jahelper.php on line 1

    Anonymous Moderator
    #340301

    HI guy,

    I have fixed this for you.

    Please check again.

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

This topic contains 6 replies, has 3 voices, and was last updated by Anonymous 14 years, 7 months ago.

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