The FOSCommentBundle adds support for a comment system in Symfony2. It is a part of the “Friends of Symfony” (FOS) project.
Questions tagged [foscommentbundle]
32 questions
0
votes
0 answers
Symfony 4.2 Problem with FOS Comment Bundle, could not load routing.yaml
I am struggling with installation of FOS Comment Bundle. I have Symfony v 4.2.1.
I followed instructions from documentation: https://github.com/FriendsOfSymfony/FOSCommentBundle/blob/master/Resources/doc/1-setting_up_the_bundle.md
I ommitted only…

demotywatorking
- 29
- 8
0
votes
1 answer
Symfony 3.4 FOSCommentBundle Can not autowire service inside listener
Can somebody helps me with autowiring in Symfony3.4?
I'm trying to implement the following Listener, but i don't know to inject the VoteManagerInterface. Here's the error, my code and my config.Thank you for your help :)
Cannot autowire service…

theWM
- 23
- 4
0
votes
1 answer
FOSCommentBundle not appearing
I'm trying to use the FOSCommentBundle to implement a comment thread section in my application. But I've followed the guide for installing it https://github.com/FriendsOfSymfony/FOSCommentBundle/blob/master/Resources/doc/index.md and nothing is…

Dylan Byrne
- 45
- 2
- 13
0
votes
1 answer
Bootstrap4, JQuery3 and FOS Comment Bundle => $.get(...).error is not a function
This is more a fix I found rather than a question.
On a Symfony 3 project, I decided to upgrade to bootstrap 3 to 4. It implied using JQuery3 which is not fully compatible with the asynchronous comments display of Fos Comment Bundle 2.0.14 (and…

Fazhom Arnaud
- 61
- 3
0
votes
1 answer
FOSCommentBundle Thread
i have installed the FOSCommentBundle, everythings works the input comment display as expected but i want to display 1 thread per entity, so i got many planning with different url, like this : /planning/id . But whenever i post a comment for example…

Simon
- 69
- 2
- 6
0
votes
1 answer
The definition for "acl" has no class
I'm trying to implement ACL to restric comments on FOSCommentBundle to users role.
I followed step by step the Bundles Doc but shows me an error:
The definition for "acl" has no class.
Thats my app/config/config.yml
fos_comment:
db_driver:…

Pillow
- 103
- 2
- 9
0
votes
1 answer
How to translate labels on a bundle
I made my own file with the translations of the bundle fields in my own language. It's working on my FOSUserBundle I created another one for comments bundle but not in FOSUserComment. It's on Translation folder.
Exemple code:
0
votes
1 answer
FOSCommentBundle symfony 3 critical error
im installing foscomment bundle in my project and im following the documentation provided with this bundle in git hub
this is the link
documentation git hub
and when i want to update my database schema this exception appears to me and i couldnt…

Wassim Ben Hssen
- 519
- 6
- 23
0
votes
1 answer
Symfony 3 | FOSCommentBundle manage many Threads / Comments
I use FOSCommentBundle in my project, I already configured it with a thread and a comment class and this is working.
But now I need to manage many types of thread and comment.
For example I have News with comments and I have Contents with…

Aximem
- 714
- 8
- 27
0
votes
1 answer
is it possible to use FOSCommentBundle without FOSUserBundle?
i want to know if it is possible to use FOSCommentBundle without using FOSUserBundle,
because i am trying to use FOSCommentBundle without FOSUserBundle
and i followed the 4 steps in the documentation
but it didn't work.

user3870075
- 141
- 1
- 3
- 10
0
votes
1 answer
How to display comment using FOSCommentBundle Symfony
I want to integrate comments in my web page. So that I used the Symfony2.3 Bundle FosCommentBundle. I followed the steps indicated in the Bundle documentation , but in the fourth step nothing happens on the generated page and I get ajax 500…

Dev DOS
- 1,018
- 4
- 18
- 45
0
votes
1 answer
Symfony2 MappingException with SonataCommentBundle
i use SonataCommentBundle version ~2.2@dev, after integrating this bundle
i try with http://xx.out.tn/app_dev.php/comments/threads it gives me :
The class 'Application\Sonata\CommentBundle\Entity\Thread' was not found in the chain configured…

Mirlo
- 625
- 9
- 26
0
votes
0 answers
Symfony : add star rating system in FOSCommentBundle
I have spent the last couple days working out a way to make the FOSCommentBundle adhere to my needs but i'm definitly too bad. All my pages needs a "rating" comment system. This will include both the comment body text area and a choice list of 5…

Kubadev
- 867
- 10
- 25
0
votes
1 answer
foscommentbundle keeps creating new entries instead of saving the old one
Problem:
The FOSCommentBundle saves comments but everytime I refresh the page, it create a new entry in the Thread table instead of saving on the record for that page. For example, if the page slug was…

a53-416
- 3,585
- 6
- 34
- 44
0
votes
3 answers
Can't install FOSCommentBundle with Symfony 2.3.7
I'm having dependency issues installing with Symfony 2.3.7. This is a completely new install of Symfony, downloaded 2.3.7 without Vendors zip. Run composer update for the initial install. Then added the comment bundle to composer.json and run…

shapeshifter
- 2,967
- 2
- 25
- 39