Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • californiasup Friend
    #161512

    Trying to update to the latest JA Comments for 1.6. Using the JA Extension Manager, I tried with the service set to “JoomlArt Updates”. The manager showed the new update and after clicking on the “update” button I received the following error:

    <blockquote>Response from JoomlArt Updater Service: Service [] not available.</blockquote>

    I then switched to Local Service, downloaded the component. Tried uploading to the repository, but get the following error:

    <blockquote>* Failed loading XML file
    * /home/paddleme/public_html/tmp/install_4d80361737693/site/views/jafeeds/feeds/feeds1292378544.xml
    * XML: Document is empty
    * XML: Start tag expected, ‘<‘ not found</blockquote>

    Please advise. Thanks.

    Thanh Nguyen Viet Friend
    #384001

    To fixing this bug, please open this file “administrator/components/com_jaextmanager/lib/jaupdater/core/bean/Products.php”:

    Find and replace below code snippet:
    [PHP]function getFullInfo() {
    $vars = get_object_vars($this);

    $obj = new stdClass();
    foreach ($vars as $key=>$value) {
    $obj->$key = $value;
    }
    return $obj;
    }[/PHP]

    with:

    [PHP]function getFullInfo() {
    $vars = get_object_vars($this);
    $aExclude = array(‘config’, ‘configFile’, ‘description’);

    $obj = new stdClass();
    foreach ($vars as $key=>$value) {
    if(!in_array($key, $aExclude))
    $obj->$key = $value;
    }
    return $obj;
    }[/PHP]

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

This topic contains 2 replies, has 2 voices, and was last updated by  Thanh Nguyen Viet 13 years, 2 months ago.

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