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!!
Error in Phoca Facebook Comments
- Jan
- Phoca Hero
- Posts: 48403
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Error in Phoca Facebook Comments
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
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
If you find Phoca extensions useful, please support the project
-
- Phoca Newbie
- Posts: 2
- Joined: 23 Mar 2011, 13:41
Re: Error in Phoca Facebook Comments
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:
into:
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
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>
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>
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
- Jan
- Phoca Hero
- Posts: 48403
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Error in Phoca Facebook Comments
Hi, thank you for the info. Will take a look at it
If you find Phoca extensions useful, please support the project