Most voted "symfony" questions
Symfony is an open source PHP framework focusing on fast and easy development cycles including project standards and programming philosophies of the highest level.
Learn more…67 questions
Sort by count of
-
0
votes1
answer36
viewsHow to validate a field that depends on another to be mandatory in Symfony?
In Laravel there is a validation required_if, I say that a field will be mandatory only if another field is informed. I need to do the same type of validation using the FormType from Symfony but I…
-
0
votes1
answer8
viewsSymfony Application Publication (production)
Hello, I am new to development on Symfony and am publishing an application for the first time on a hosting on hostgator. I’m using version 5.2. I’ve already added the project files to hosting,…
-
0
votes1
answer40
viewsSymfony3 project is being accessed by mysite.com/web instead of mysite.com
Hello, I’m using Symfony 3 in my new project. I just uploaded it to the host. However, in order for me to navigate the project, I need to go to the URL mysite.com/web instead of the URL mysite.com.…
-
0
votes0
answers35
viewsNested entities / nested list in Doctrine
I have two tables Plate and Candidate with similar structure: TABLE Chapa ( id INT AUTO_INCREMENT NOT NULL, PRIMARY KEY(id) ) TABLE Candidato ( id INT AUTO_INCREMENT NOT NULL, chapa_id INT DEFAULT…
-
0
votes1
answer535
views -
0
votes1
answer30
viewsError executing Python3 script (with Symfony/Process) in an Laravel Controller
I’m trying to run a script in Python3 that I developed, which is located in a folder within the "Folder app" of Laravel. One script is called by a Controller and the other by an Artisan Command.…
-
0
votes1
answer26
viewsProblem with error checking at login time
I’m having a problem checking login errors with symfony 4. I’m trying to log into the system, only I don’t know why form, even being with the method POST sending GET and because of that I can’t…
-
0
votes1
answer37
viewsSeeking null value with get in the Doctrine Entity
Opa all right? I have a problem with values NULL with Doctrine. What happens: I have some fields in a database table where I keep some values for future validations, these fields are nullable =…
-
0
votes1
answer59
viewsChange the status of a record in the database by ID via post method
I need to change the status of an object registered in the database, from the ID of this object, once I click the corresponding button. How do I move on to my role in controller the ID of that…
-
0
votes1
answer37
views_wdt route error after installing Profiler on a basic Symfony 4 structure
In a basic installation of Symfony 4, unlike the full installation, it does not come with the debug profiler - development tool that provides detailed information on the execution of any order.…
-
0
votes1
answer103
viewsProblem when creating Symfony project
I have a problem to start a project, always appears the error: henrique@henrique-Lenovo-ideapad-330-15IKB:~/Documents$ composer create-project symfony/skeleton symfony Installing symfony/Skeleton…
-
0
votes1
answer47
viewsAsset function does not work on Symfony 5
I installed Symfony 5 using the command $ composer create-project symfony/website-skeleton my_project_name with the intention of obtaining the most complete possible package from Symfony. After…
-
-1
votes1
answer23
viewsI have a bug in my Symphony Controller Replay
My goal is this, in my Form there is an attempt to send in one of the fields that was empty, something like this. V Example -> https://i.stack.Imgur.com/Hiof9.gif exepction -…
-
-1
votes1
answer14
viewsSymfony Leftjoin createQueryBuilder Error
I’m trying to run this query, My relationship is not explicit between Customer and Competitor; I’m getting this error, that I can’t get details of what’s going on, I can’t get the…
-
-1
votes1
answer28
viewsCannot autowire service
How do I resolve the following error: Cannot autowire service "App Service Responseservice": argument "$sucesso" of method "__Construct()" is type-hinted "bool", you should configure its value…
-
-2
votes1
answer55
viewshow to work with aes_decrypt on symfony 3
I have a database that is encrypted by another system and I need to decrypt the data for display in the system made in symfony 3. I have the decryption key and need to do this. I have little…
-
-3
votes1
answer42
viewsSymfony Browserkit link with graphic accentuation does not click
I am studying Crawler with php symfony and I came across the following situation: The link works without accent but when the link has accent simply does not click on the link. I have already checked…