Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • southerneditor Friend
    #161490

    I am getting an error with the JA Facebook Like It plugin. When “like it” is clicked a red error pops up beside it. If u click on the error is says the page could not be reached. It seems to actually be working fine, i just need to get rid of the error.
    attached screenshot and this is the url: http://southerntimesmagazine.com


    1. fb_error
    Thanh Nguyen Viet Friend
    #381585

    Hello mate,

    When I click on “Error” link, I got this message “Can not open page at https://southerntimesmagazine.com/index.php/magazine/current-issue/24-brycememories.”.

    I see that SSL does not work properly on your server. Please turn off it to fix this issue
    Administrator > Global configuration > tab server
    select “None” value for “Force SSL” option.

    southerneditor Friend
    #381707

    I changed force ssl to none and still get the error. Force SSL was only enabled for administrator before I changed it. Why do you say ssl does not work properly on the server?

    Just noticed that the error was saying “page at https…..”
    The only part of the site with https should be the shopping section. Why would the error be saying https?

    Thanh Nguyen Viet Friend
    #381767

    <em>@southerneditor 228132 wrote:</em><blockquote>I changed force ssl to none and still get the error. Force SSL was only enabled for administrator before I changed it. Why do you say ssl does not work properly on the server?

    Just noticed that the error was saying “page at https…..”
    The only part of the site with https should be the shopping section. Why would the error be saying https?</blockquote>

    If you try to access your site by https link, It will be automatically redirect to http link. So that, Facebook can not get metadata from that page, it’s a reason of this error.

    To fixing this bug, please open this file “pluginscontentplg_jafacebooklike.php”

    find and replace the following code snippet
    [PHP]function getRootUrl() {
    $url = str_replace(JURI::root(true), ”, JURI::root());
    $url = preg_replace(“//+$/”, ”, $url);
    return $url;
    }[/PHP]

    with:
    [PHP]function getRootUrl() {
    global $mainframe;
    $force_ssl = $mainframe->getCfg( ‘force_ssl’ );

    $url = str_replace(JURI::root(true), ”, JURI::root());
    $url = preg_replace(“//+$/”, ”, $url);

    if($force_ssl != 2) {
    //not use ssl for entire site
    $url = preg_replace(“/^https:/i”, ‘http:’, $url);
    }
    return $url;
    }[/PHP]

    southerneditor Friend
    #381937

    many thanks. that fixed it.
    one more issue if you could help me please? it posted the wrong picture for the article to facebook

    Thanh Nguyen Viet Friend
    #384218

    Hello mate,

    I have sent update file to you on helpdesk since It was updated many code snippests so that I cant post it on forums.
    Please download and install it to solve this bug.

    You also can check this issue on our issue tracking system at
    http://pm.joomlart.com/browse/JAECPLGFBLIKE-14

    dmy09 Friend
    #399389

    Hello I have the same issue with the images, where can I download the update file?

    Rregards

    Thanh Nguyen Viet Friend
    #399428

    We are working on new version of FB Like plugin. We’ll try to release it on next week.
    Please wait to download it.

    rouk82 Friend
    #453642

    <em>@Thanh Nguyen 250891 wrote:</em><blockquote>We are working on new version of FB Like plugin. We’ll try to release it on next week.
    Please wait to download it.</blockquote>

    Hello,
    Did someone find a solution for the wrong picture of the article to facebook?

    Thanks

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

This topic contains 9 replies, has 4 voices, and was last updated by  rouk82 12 years, 5 months ago.

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