test
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • Felipe Santos Friend
    #159120

    Hello again!

    i getting error on page, before start JA comment, could you help me to solution?

    http://www.alvoweb.com/sitej/flash/44-as3/92-basico-sobre-eventos-no-as3

    thanks in advanced

    Phill Moderator
    #373174

    Hmm, it looks like there is a little typo in plugins>content>jacomment.php

    Please open the file and find the following code at line 139

    if (is_array($catsid)){
    $categories = $catsid;
    } else if ($catsid==''){
    $categories[] = $catid;
    } else {
    $categories[] = $catsid;
    }

    and replace with

    if (is_array($catid)){
    $categories = $catid;
    } else if ($catid==''){
    $categories[] = $catid;
    } else {
    $categories[] = $catid;
    }

    As you can see, there seems to be a load of “s” where there should not be.

    nghiatd Friend
    #373387

    //Get id of cat which was selected in this plugin
    $catsid = $plgParams->get(‘catsid’,”);
    // if user selected cat, this config was saved in plugin by array
    if (is_array($catsid)){
    //so i set categories = catsid
    $categories = $catsid;
    }
    // if user have just install and haven’t set this config
    else if ($catsid==”){
    //so i set categories equal catid ( = catid of this article) to display jacomment in all category
    $categories[] = $catid;
    } else {
    $categories[] = $catsid;
    }
    I don’t think this error is typing error of plugin jacomment
    Please send me your ftp and admin account to fix out this error.

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

This topic contains 3 replies, has 3 voices, and was last updated by  nghiatd 13 years, 11 months ago.

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