-
AuthorPosts
-
zdmdesignz Friend
zdmdesignz
- Join date:
- October 2009
- Posts:
- 122
- Downloads:
- 0
- Uploads:
- 25
- Thanks:
- 54
- Thanked:
- 11 times in 1 posts
January 7, 2014 at 6:57 pm #193558Hello,
My site is all ready to go, but I just noticed that only some articles have a warning stating that the url of that articl is “unreachable.”
Here is an example :
http://utd.zmdesignsbranding.com/index.php/photos-and-videos/14-sample-videoWhen you click on that link in the warning box, here is the page that displays
https://developers.facebook.com/tools/debug/og/object?q=http%3A%2F%2Futd.zmdesignsbranding.com%2Findex.php%2Fphotos-and-videos%2F14-sample-video.How is this fixed? I have not made any changes to the facebook comments or php. It doesn’t seem to have any rhyme or reason to where it shows up either. :((
Thanks
Saguaros ModeratorSaguaros
- Join date:
- September 2014
- Posts:
- 31405
- Downloads:
- 237
- Uploads:
- 471
- Thanks:
- 845
- Thanked:
- 5346 times in 4964 posts
January 8, 2014 at 2:45 am #517705Have you got issue resolved? I see from my side that the facebook comment works fine now: http://prntscr.com/2hgty0
Please try to check again whether it can connect to facebook from your end or not. Or you can take a look at this file: templates/ja_fixel/html/com_content/article/default.php and make sure the snippet for above facebook comment should look as follows:
<?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 ?>
zdmdesignz Friendzdmdesignz
- Join date:
- October 2009
- Posts:
- 122
- Downloads:
- 0
- Uploads:
- 25
- Thanks:
- 54
- Thanked:
- 11 times in 1 posts
January 8, 2014 at 5:30 pm #517806Hello Saguaros,
The behavior is very strange. It seems that the default behavior is for the warning to appear in an article. It’s only after clicking each warning in each article and being taken to each corresponding debug page that the warnings go away.
Essentially, each warning has to be clicked and the article refreshed before the warning disappears.
I’ve attached a snippet of the code that was in my default.php file. I never touched this code prior to your post. Is the attached code incorrect?
Also, the snippet you provided has not corrected the issue. This behavior is prevalent on two different servers from two different hosting providers. There needs to be a fix for this :((
[PHP]<?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 ?>[/PHP]Thanks
Saguaros ModeratorSaguaros
- Join date:
- September 2014
- Posts:
- 31405
- Downloads:
- 237
- Uploads:
- 471
- Thanks:
- 845
- Thanked:
- 5346 times in 4964 posts
January 9, 2014 at 1:56 am #517846Please backup of your site and PM me admin login info and FTP account of your site, also include the article associated with the issue, I will help to check further.
max_santiago Friendmax_santiago
- Join date:
- January 2013
- Posts:
- 216
- Downloads:
- 49
- Uploads:
- 58
- Thanks:
- 120
- Thanked:
- 8 times in 3 posts
January 16, 2014 at 12:36 pm #518714Hallo,
I have similar problem, too.
After home pressing button my article doesn’t view correct text (only after F5 refresh) but only ‘Warning: http://xxx.domain.xx/article unreachable’…My FIXEL is Joomla rel 2.5
Thanks in advance for answering…
Saguaros ModeratorSaguaros
- Join date:
- September 2014
- Posts:
- 31405
- Downloads:
- 237
- Uploads:
- 471
- Thanks:
- 845
- Thanked:
- 5346 times in 4964 posts
January 17, 2014 at 2:24 am #518777Did you try to check the code as in my first reply? If problem still persists, you can PM me admin & ftp credentials of your site, I will check what’s wrong here.
-
AuthorPosts
This topic contains 6 replies, has 3 voices, and was last updated by Saguaros 10 years, 10 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum