-
AuthorPosts
-
October 24, 2013 at 1:09 am #191658
hi
we are getting the following on every page
href URL is not properly formatted
please see attached
thanks
gbelli Friendgbelli
- Join date:
- March 2006
- Posts:
- 28
- Downloads:
- 64
- Uploads:
- 4
- Thanks:
- 7
- Thanked:
- 9 times in 1 posts
October 24, 2013 at 3:03 am #510043I am getting same issue: g-cart.mobi/Beta/about-me and every page where there normally would be a Facebook comment form.
Saguaros ModeratorSaguaros
- Join date:
- September 2014
- Posts:
- 31405
- Downloads:
- 237
- Uploads:
- 471
- Thanks:
- 845
- Thanked:
- 5346 times in 4964 posts
gbelli Friendgbelli
- Join date:
- March 2006
- Posts:
- 28
- Downloads:
- 64
- Uploads:
- 4
- Thanks:
- 7
- Thanked:
- 9 times in 1 posts
October 28, 2013 at 4:08 am #510331It looks like the ja fixel template has an issue with the FB comments at the bottom of articles. It throws this error on every ja fixel install I test and I also see it on the Demo for Ja Fixel at joomlart.com. See joomlart.com screenshot.
October 28, 2013 at 11:21 pm #510444ah ok, so there’ll be an update to fix it?
gbelli Friendgbelli
- Join date:
- March 2006
- Posts:
- 28
- Downloads:
- 64
- Uploads:
- 4
- Thanks:
- 7
- Thanked:
- 9 times in 1 posts
October 29, 2013 at 12:12 am #510446Im not sure. It has been like this for a while. Who would I notify about this so that it is fixed in an update? How can I disable this in the meantime so that it does not show this error on the page?
Ninja Lead ModeratorNinja Lead
- Join date:
- November 2014
- Posts:
- 16064
- Downloads:
- 310
- Uploads:
- 2864
- Thanks:
- 341
- Thanked:
- 3854 times in 3563 posts
October 29, 2013 at 10:10 am #510520@gbelli: I have just tested on our demo: http://joomla-templates.joomlart.com/ja_fixel/index.php/en/about-me but i could not duplicate the same error as you mentioned
And I have debugged on your site and found this problem on your FB comment
Invalid App Id: Must be a number or numeric string representing the application id. all.js:56
2
FB.getLoginStatus() called before calling FB.init().You can check it from JA Fixel template and set it to empty value
Or you can check this code on your site: templates/ja_fixel/html/com_content/article/default.php file match with below script
<?php if($tplparams->get('tpl_facebook_comment', 1)): ?>
<div id="fb-root"></div>
<script>(function(d, s, id) {
var js, fjs = d.getElementsByTagName(s)[0];
if (d.getElementById(id)) return;
js = d.createElement(s); js.id = id;
js.src = "//connect.facebook.net/en_US/all.js#xfbml=1<?php echo $tplparams->get('tpl_facebook_appid', '') ? '&appId=' . $tplparams->get('tpl_facebook_appid', '') : '' ?>";
fjs.parentNode.insertBefore(js, fjs);
}(document, 'script', 'facebook-jssdk'));
</script><div class="fb-comments" data-href="<?php echo JUri::getInstance()->toString(array('scheme', 'host', 'port')) . $this->item->readmore_link ?>" data-num-posts="10"></div>
<?php endif ?>
-
gbelli Friend
gbelli
- Join date:
- March 2006
- Posts:
- 28
- Downloads:
- 64
- Uploads:
- 4
- Thanks:
- 7
- Thanked:
- 9 times in 1 posts
October 30, 2013 at 5:05 am #510613Thanks so much! This line of code fixed it:
Changed this:
<div class=”fb-comments” data-href=”<?php echo str_replace(‘//’, ‘/’, JUri::root() . $this->item->readmore_link) ?>” data-num-posts=”10″></div>To this:
<div class=”fb-comments” data-href=”<?php echo JUri::getInstance()->toString(array(‘scheme’, ‘host’, ‘port’)) . $this->item->readmore_link ?>” data-num-posts=”10″></div>skipper Friendskipper
- Join date:
- October 2006
- Posts:
- 2
- Downloads:
- 0
- Uploads:
- 0
- Thanks:
- 4
- Thanked:
- 1 times in 1 posts
-
AuthorPosts
Viewing 9 posts - 1 through 9 (of 9 total)This topic contains 9 replies, has 5 voices, and was last updated by skipper 11 years ago.
We moved to new unified forum. Please post all new support queries in our New Forum
Jump to forum