Page 1 of 1
Error in Phoca Facebook Comments
Posted: 23 Mar 2011, 13:51
by fwmk
Hello!
After installing an cofiguring the Module "Facebook Comments" for J 1.5 I get a very strange error on the site after publishing it:
The error appears and the website is reloading all the time. Yes, I entered all informations in the module including the right App ID, was testing around now about one hour with different settings.
Did not find anything in Google or elsewhere. Can somebody help me?
Thanks!!
Re: Error in Phoca Facebook Comments
Posted: 24 Mar 2011, 00:08
by Jan
Hi, really no idea what can be wrong there, didn't see such problem yet
Did you try to search facebook devel sites (probably yes as google search them, but maybe try to ask on some facebook devel discussion)
Jan
Re: Error in Phoca Facebook Comments
Posted: 24 Mar 2011, 11:17
by fwmk
Hi Jan!
I think facebook changed the comment plugin actually and requires now a change of code.
What I did to resolve the problem:
I changed the following code in modules/mod_phoca_facebook_comments/tmpl/default.php
from:
Code: Select all
<fb:comments xid="<?php echo $xid ?>" simple="1" width="<?php echo (int)$this->tmpl['fb_comment_width'] ?>"></fb:comments>
into:
Code: Select all
<fb:comments href="http://LINK_TO_WEBSITE" xid="<?php echo $xid ?>" simple="1" width="<?php echo (int)$this->tmpl['fb_comment_width'] ?>"></fb:comments>
and it worked then without mistakes. I was sitting a few hours to find another solution because actually I like the Comments Plugin with the pagination as you have much more as the new one, as the height of my website is limited thorugh design issues.
If you have another solution I would be very happy with it. Facebook Developer Forum is dead as always, there is nobody who could give any answer so far.
I know there should be a dynamic version to get the URL , but my programming knowledge is limited.
Wolve
Re: Error in Phoca Facebook Comments
Posted: 25 Mar 2011, 01:53
by Jan
Hi, thank you for the info. Will take a look at it