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
0
votes
1 answer

Set up monolog to use rollbar with symfony3?

config.yml handlers: rollbar: type: stream token: '%rollbar.token%' level: warning bubble: true config: environment: '%rollbar.environment%' main: …
jim smith
  • 2,394
  • 5
  • 29
  • 35
0
votes
1 answer

Symfony FosUserBundle extend from my default template from another bundle

On my symfony 3.2 project I am using the FOSUserBundle for User Registration and authentication. What I am trying to do is to apply a custom theme to the registration form. Therefore I have made the app/Resources/views/base.html.twig that is my…
Dimitrios Desyllas
  • 9,082
  • 15
  • 74
  • 164
0
votes
1 answer

Symfony 3.2. EntityType not working

I don't know why this won't work: ->add('productSearchType', EntityType::class, array( 'label' => 'entity.text.product.product_search_number_type', 'class' => AC\ProductBundle\Entity\ProductSearchType::class, …
Adam
  • 1
  • 1
0
votes
1 answer

symfony 3 ChoiceType ist not Valid

i have a very easy script. It reads the ID and NAME from Table and add them as an option to my choiceType. SOLVED See last Script. you have to add all options in the form again. This is the Action. /** * @Route("/monitor/setup/carousel",…
LFS96
  • 856
  • 1
  • 12
  • 23
0
votes
2 answers

No route found for "GET /sf/customer-first-progam-level"

As title shows I am having that issue if I try to reach the following URL: http://app.local/sf/customer-first-progam-level This is what I have: app/routing.yml quote: resource: "@QuoteBundle/Controller/" type: annotation prefix: …
ReynierPM
  • 17,594
  • 53
  • 193
  • 363
0
votes
1 answer

Installing/configurate Symfony3.2 on a Vhost Ubuntu subdomain folder --> Error 403 Forbidden and Error 500

I try to install Symfony3.2 on my vhost, running Plesk under ubuntu. My goal is to create a production-server-status to test my Symfony-projects online. I want to get to this project using the URL subexample.example.tld or…
Testa
  • 1
  • 3
0
votes
0 answers

Symfony 3 Form Unit Test createMock undefined

I'm using symfony 3 and PhpUnit 5.6.4. I'm testing my form with http://symfony.com/doc/master/form/unit_testing.html My code is here but when I run phpunit I get: Testing Test Suite PHP Fatal error: Call to undefined method…
0
votes
1 answer

Symfony: Event Subscriber prevent from Calling controller

I have made the following event subscriber: namespace AppBundle\EventSubscriber; use Symfony\Component\EventDispatcher\EventSubscriberInterface; use Symfony\Component\HttpKernel\KernelEvents; use…
Dimitrios Desyllas
  • 9,082
  • 15
  • 74
  • 164
0
votes
1 answer

Access Entity through Controller Symfony 3

For a school project, I need to develop a card game. I'm working on the card deposit. All my cards are stored in a database, and when i deposit a card, I just send a form with the id of the card in an hidden form. The problem is : How can I access…
Unyxos
  • 77
  • 1
  • 11
0
votes
1 answer

An error is thrown in PROD mode but NOT in DEV mode: "Notice: Undefined index" in $form->getConfig()->getAttributes()

Running my symfony3 project in the prod enviroment on an Ubuntu Server I get the following error: "Notice: Undefined index: data_collector/passed_options", This error does not happen if I use the dev environment. The error is thrown in my custom…
nyluje
  • 3,573
  • 7
  • 37
  • 67
0
votes
1 answer

Symfony form returns only token field

I'm trying to create, render, submit and validate form without entity class. To do that, I've created FormType class using FormBuilderInterface. But when i'm trying to render form in twig template, I always get only form with token input, but no…
Andrew
  • 671
  • 2
  • 8
  • 21
0
votes
1 answer

How do i install fos-user-bundle "@2.0" alongside with Sonata-user-bundle?

I'm new to symfony framework I installed FOSUserBundle "@2.0" and SonataAdminBundle they are both working fine now i wanted to install SonataUserBundle to manage my users but in the downloading process [via composer] he said that SonataUserBundle is…
Wajdi Makhlouf
  • 93
  • 2
  • 3
  • 9
0
votes
1 answer

SYMFONY3 in prod look for TWIG template in wrong folder instead of custom bundle indicated in routing.yml and AppKernel.php

I am implementing a SYMFONY 3 project in production mode for the first time. I follow OceanDigital tutorial and the standard doc. I went thru a bunch of issues linked to user writing rights that I've solved, and I do get now a SYMFONY ERROR page…
nyluje
  • 3,573
  • 7
  • 37
  • 67
0
votes
2 answers

FOSUserBundle ignore password field

So I'm using the FOSUserBundle with LDAP as my authentication method, and I'm wondering whether there is a way to remove/ignore the password field for my FOSUser entity? I realize removal might not be ideal (in case it messes with internal logic),…
Darkstarone
  • 4,590
  • 8
  • 37
  • 74
0
votes
1 answer

how can i left join and add where condition its doesn't read the where it brings all the ridedriver object?

How can I LEFT and add WHERE condition? It doesn't read the where it brings all the ridedriver object? SELECT p FROM RideDriverEmployeeBundle:Ridedriver p LEFT JOIN Chaya3niUserBundle:Bookings b WITH b.idridedriver = p.id WHERE p.frequency IS…