Questions tagged [symfony3.x]

the Symfony 3.x specific tag. Use it in addition to the symfony3 tag if your question is specific to any version of Symfony 3.

174 questions
0
votes
2 answers

Symfony3 error adding new bundle

I've a bundle that I created and is working in another project. I copied the Bundle folder inside the src folder, copied some segurity parameters, imported the service resource inside config.yml and add the bundle inside AppKernel.php as new…
Braian Mellor
  • 1,934
  • 3
  • 31
  • 50
0
votes
0 answers

Symfony Entity Listener with Swift Mailer and Twig Environment has empty Entity

I have read the Symfony Documentation on Entity Listeners and Doctrine Documentation on Entity Listeners in addition to this answer and this blog post by Eric Geloen but I can not get my listener to do what I want. In this entity I have a field…
pusle
  • 1,393
  • 14
  • 18
0
votes
1 answer

Connect/Bind to Active Directory (Windows) using LDAP in Symfony 3 without using a dn string

I am attempting to authenticate users at my company for Symfony3 apps using Active Directory. My current configuration is as follows (this was also successfully tested with an online LDAP test server so I can confirm the Symfony config is…
TomShelby
  • 3
  • 1
  • 3
0
votes
1 answer

How to edit/update a many to many relationship in Symfony 3 from the inverse side

I'm working on a bash script that create a simple project "from zero to CRUD" with some tool and Symfony 3 bin/console doctrine:generate:* It works fine but in the M:N association case i can't update data from the inverse side. I read some answers…
user1619517
  • 93
  • 1
  • 7
0
votes
1 answer

Symfony 3 listener doesn't run after logging in

I'm building my first API login with Symfony3 but I tripped up on the login listener. I want to have an event fired as soon as the user has successfully logged in for the various, usual purposes such as write a log, generate a token etc. Because…
Roberto Rizzi
  • 1,525
  • 5
  • 26
  • 39
0
votes
1 answer

Symfony - Unable to load a listener service

I'm trying to load a listener but symfony keeps throwing this error: ClassNotFoundException in appDevDebugProjectContainer.php line 1783: Attempted to load class "CommandeListener" from namespace "Louvre\ReversationBundle\Services\Listeners". Did…
Thomas Ripoll
  • 31
  • 1
  • 1
  • 7
0
votes
1 answer

How to properly display multiple CollectionType fields using symfony3.x

Hello I'm trying to model an Entity that uses several different collections. I tried out the https://github.com/ninsuo/symfony-collection project and it offers a wide range of useful options. The closest example I've seen is the one with Collection…
teratux
  • 3
  • 1
  • 4
0
votes
1 answer

Get data attribute value in Symfony controller

In my View, I have this hidden field I add additional data to it using data attribute via jQuery like this $('.logoID').data('fileName', 'xyz.jpg') // adds data attribute…
Niket Pathak
  • 6,323
  • 1
  • 39
  • 51
-1
votes
1 answer

CORS error when i try to get images on Symfony 3

I've an issue on my project, i have a cordova app on tablet that need to retrieve image from an api, my api is on symfony 3 and have Nelmio CORS Bundle installed and configured, standart get request work and i have the 'Cross-origin-allow' on header…
Devix
  • 5
  • 4
-1
votes
2 answers

No route found for POST ... : Method Not Allowed (Allow: PUT)

Currently, I am updating the system running on the existing Symfony 2.3 (currently 3.0.9), and checking the operation. When I tried to change the state of an item to the selected state, I got an error. Do you have any advice for determining the…
youplus
  • 71
  • 1
  • 9
-1
votes
1 answer

Create a model from existing table (Symfony3)

I have an existing table with 5 columns, and I want to generate an Entity without that generates a new migration with new table! Thanks!
Marc Garcia
  • 1,388
  • 1
  • 9
  • 21
-1
votes
1 answer

Upgrade SF from 2.8 to 3.x.x

I have a problem with the migration from Symfony 2.8 to Symfony 3 and higher. I’ve been trying to update my project for a few days, but I’m blocking the same mistakes. I tried all the solutions I could find on google but no evolutions. Here is my…
AlexisCraig
  • 526
  • 4
  • 20
-1
votes
1 answer

Symfony Routing Requirements ignored

In a Symfony 3.4 Application I have the following route definition /** * @Route("/{_locale}", name="homepage") * requirements={ * "_locale":"de" * } */ public function indexAction( Request $request, $_locale ) { ... } When…
user3440145
  • 793
  • 10
  • 34
-1
votes
1 answer

Find if request is trying to access a protected page in Symfony

I'm trying to create an EventListener in Symfony that listens for the master request and if the request is trying to access a route behind a firewall to set a flag in the session. E.g. if the request is to a firewalled /admin then the EventListener…
Kik Minev
  • 103
  • 1
  • 3
  • 9
-1
votes
1 answer

Symfony 3 - Looking for a Bundle to interacte with a serveur using z39.50 protocol

I'm looking for a bundle to interacte with a serveur using z39.50 protocol. I have found this link on git hub but the latest modified on 2009.. https://github.com/Symfony-Plugins/sfZ3950Plugin/blob/master/README $ symfony plugin-install…
Camille Colvray
  • 420
  • 3
  • 16
1 2 3
11
12