MonkeyPress
Member
Posted 1 year ago #
The plugin was working great and saving plugins and then today it stopped working and isn't saving the comments to the database. The comments are going into Facebook fine though. Any idea what's going on? You can check out a page on our site here: http://www.greenster.com/magazine/earth-day-2012-one-day-on-earth-global-screening/
If the comments were getting logged to the database, the comments would show below the post here: http://www.greenster.com/magazine/
http://wordpress.org/extend/plugins/fatpanda-facebook-comments/
Collegeman
Member
Plugin Author
Posted 1 year ago #
Thanks for letting me know. I'll check it out right now.
duvell
Member
Posted 11 months ago #
Naren230587
Member
Posted 9 months ago #
Hi All,
I have installed fatpanda plugin in my site http://2backpackers.com/.
But comments are not stored in database. I want to know can it be cron problem or some short of permission problem to the plugin.
Thanks
Collegeman
Member
Plugin Author
Posted 9 months ago #
Sorry I've been on hiatus about this. Since reports of this problem are so low, and because I use my own plugin on a daily basis without issue, I'm going to have to peg this one on the cron job. If you're a SharePress customer, I would be happy to diagnose the problem directly. Just fill out my support form here: http://aaroncollegeman.com/sharepress/help
Naren230587
Member
Posted 9 months ago #
Hi Collegeman,
thanks for the reply. i have tried very hard , but not able to solve this issue. i just want my facebook comments to save in my wordpress database. my hosting is on wp engine. is that an issue. i have this blog on an test site also which is also live. and this plugin is working fine there.
http://atcsinc.net/2backpackers. Can you please look into this matter. here it is not working http://2backpackers.com
Thanks for your time.
Naren230587
Member
Posted 9 months ago #
also i am not using sharepress, do i need to use it as i don't want any other functionality. what if i use sharepress. as per my study your this function is causing problem
private function wp_new_comment( $commentdata ) {
$commentdata = apply_filters('preprocess_comment', $commentdata);}
may be apply_filters issue. what say
Collegeman
Member
Plugin Author
Posted 9 months ago #
I don't know if the filter is the problem. No, you do not need to use SharePress. The cost of SharePress covers a lot of technical support, which I am happy to provide when people pay for it. That's why I asked if you were a SharePress customer.
I'm sorry you're having so much trouble with this, but if your code is identical between your test site and your live site, and it's not working on your live site, I would definitely contact WPEngine about that.
Naren230587
Member
Posted 9 months ago #
thanks . i will definitely know you the outcome.
thanks for your precious time
Naren230587
Member
Posted 9 months ago #
Hi Collegeman,
i have figured out the problem. Actually there were some comments on facebook which were creating problem.
In following line of your plugin.php file your code was breaking.
foreach($packet->comments->data as $comment) { try {---}}.
Reason was comments were not storing in db.
These are 3 comments which were creating problem.
https://graph.facebook.com/?ids=10151870479955121_34237878
https://graph.facebook.com/?ids=10150482597896159_24946364
https://graph.facebook.com/?ids=10150470149248889_23045143.
So i bypassed these comment id's by following code
if ($comments->id == "10151870479955121_34237878"){ continue;}
This is not a good solution, i know.
Now my question is can you figure out the reason of not storing these comments in db and how can we make such comments bypass automatically if these kinds of comments create problem in future.
Thanks in advance