Questions tagged [symfony-3.2]

This is the Symfony 3.2.x specific tag. Use it in addition to the symfony3 tag if your question is specific to Symfony 3.2.x — not just 3.x.

Symfony is a PHP full-stack web framework developed and maintained by Sensio Labs.

Information

This tag is specific for the 3.2 version of Symfony. See the tag for general Symfony 3.x questions.

The 3.2.0 version was released on the 30th November 2016.

326 questions
1
vote
2 answers

Extending FosUserBundle's translations: some extra messages on extended templates does not get translated

On my Symfony 3.2 project I extended the FosUserBundle's on a file named messages.en.yml that has the following content: security.login.username: "Username" security.login.password: "Password" security.login.remember_me: "Remember…
Dimitrios Desyllas
  • 9,082
  • 15
  • 74
  • 164
1
vote
1 answer

symfony3+PHPUnit form test issue

form test return error Tests\AppBundle\Form\Type\UserPreferencesTypeTest::testUserPreferencesForm Symfony\Component\OptionsResolver\Exception\UndefinedOptionsException: The option "constraints" does not exist. Defined options are: "action",…
majid hussain
  • 31
  • 1
  • 5
1
vote
1 answer

Linking an entity to have several images and videos

I'll try to explain my problem as much as I can. Let's say I have an entity called Profile. This entity has a few fields (name (string), description (text), birthdate (date))... etc. And I want to add to this entity images and videos, so these would…
user7205432
1
vote
0 answers

firewalls doesn't work Symfony3

I'm trying to configure the firewall, but I'm not rediect to login page when I go on http://localhost/project1/web/app_dev.php/ I've already used sometimes this similar configuaration on an other symfony2 project and I never meet this problem. Maybe…
Bissap
  • 521
  • 1
  • 5
  • 23
1
vote
0 answers

Symfony3 Update Users data and Invalidate current sessions

As I understand, When the user logs in successfully Symfony will keep a copy of the User document/entity either in the session.handler.native_file or a db provider, whichever is configured. On future requests this information is retrieved with the…
1
vote
2 answers

Is there a way to test Symfony application other than PHPUnit?

During an interview, project manager asked me the following question: I see in your resume that you are using PHPUnit 4 for tests? Why don't you use the built-in testing of Symfony? I answered: What I know is that Symfony app testing is done…
Adib Aroui
  • 4,981
  • 5
  • 42
  • 94
1
vote
1 answer

How can I customize FOSUserBundle?

After struggling with symfony and FOSUserBundle i have decided to ask your help I have followed the tutorial of FOSUserBundle and it all works fine ,but now I have to use FOSUserBundle differently , The login page of FOSUserBundle Should be the…
1
vote
1 answer

Wrong URL for Apache2 with Proxypass and Nginx as backend for Symfony

I have a problem ;-) we have: Apache2 -> ProxyPass -> intern.domain.foo/ -> Ngnix -> PHP The problem are static files like CSS/images .... We get: https://foo.example.com/foobar/images/bla.png instead…
1
vote
1 answer

Symfony imap "Attempted to call function "imap_open" from the global namespace."

Im trying to get imap working inside my symfony 3 project. But when im trying to run any imap related commands I get the "Attempted to call function "imap_function_here" from the global namespace." error. I'm pretty sure that I am using it correctly…
nusje2000
  • 493
  • 9
  • 25
1
vote
1 answer

Selenium test with behat and mink in symfony 3 on vagrant virtual machine

I have symfony 3.2.6 app. I have some buttons that make ajax calls so I need to test them with selenium. I installed and configured behat and mink. With standard functional tests without javascript everything works fine. I have my context class…
KondukterCRO
  • 543
  • 2
  • 16
  • 31
1
vote
1 answer

cannot run 'symfony' command on windows

I came from frontend stack so I can misanderstand something when I'm learning symfony3. I downloaded Symfony according to documentation with: php -r "readfile('https://symfony.com/installer');" > symfony To make php command available i added some…
hm hm
  • 87
  • 2
  • 9
1
vote
2 answers

Symfony 3 dateType add default option

This is what I have: One select field with months One select field with years But in the month select field I would like to add an default option like: I have no idea how to add the default option, an…
Yester
  • 11
  • 2
1
vote
0 answers

How to get all users with permission on entity with Symfony ACL?

I have a User who is able to EDIT multiple courses, how can I list all courses that a user can edit with the Symfony ACL? I've browsed through the docs and can only find how to check if the user can on that particular entity that's been loaded. I'd…
Jack
  • 193
  • 8
1
vote
0 answers

Building a form with many2many association

I have a Many2Many association between a Project entity and a User; a project can have man participants (users) and a user can participate to many projects. I have a join table, because I want to save additional data. The entity representing the…
John Doe
  • 259
  • 1
  • 6
  • 18
1
vote
1 answer

IvoryCKEditorBundle Symfony: How to use "ckeditor_widget" from IvoryCKEditorBundle TWIG template in my OWN redefined TWIG template

I've implemented IvoryCKEditorBundle in my SYMFONY 3.2 project. I followed the guidelines from here and had an overview of the doc on the official Symfony site. Now I see the following files exits in the IvoryCKEditorBundle…
nyluje
  • 3,573
  • 7
  • 37
  • 67