I have a symfony 5.1 application under development on my laptop. This command failed: Your token has been revoked, please login again Then, the prompt purposes me to login, but I cannot always login, because I’m behind a firewall that rejects external access for some security reasons. I tried : to uninstall the local certificate authority, to launch server without
Tag: symfony
How to parse simple key => value pairs using symfony config component
I am trying to integrate Symfony config component and have some trouble getting it to parse required YAML format. I can’t find a way for the Config component to accept simple key => value pairs from the YAML file. My current tree builder for the “limits” section: The yaml tree that I am already able to parse is as follows:
How can I fix the SSL problem in Symfony/Goutte
I’m trying to make a request to the website with Symfony/Goutte but I’m receiving such error: In ErrorChunk.php line 65: …
Reload database before some test in phpunit
I’m currently developing unit tests with phpunit, and symfony 5. On a previous job using behat, we were able to reload the database only for the tests having a specific tag. I’d like to do something similar. I know there is the setUp() method and the @before annotation, but they don’t let me do thing for some tests and not
Select Input TYPO3 v9 Symfony Command
I want to make a scheduler command in TYPO3 v9, the problem is, that I don’t know and can’t find how I can make a select input. This is what I have: Answer You cannot put user choice questions on the command options…, instead you have to use a ask method of helper with ChoiceQuestion object to In your commande
Why does host key verification fail? Symfony and BitBucket Deployment with Easy-Deploy-Bundle
I am trying to deploy my Symfony 5 application via BitBucket Pipelines and easy-corp/easy-deploy-bundle to my server. I’ve followed the instructions on https://support.atlassian.com/bitbucket-cloud/…
symfony handle request upload file is null
I’m trying to upload multiple files on Symfony but when the form is submitted the form image field returns a null object like this But when I get files directly inside the request files attributes file exist. I’ve tried to upload a file by accessing the attribute in the request, it works but it still wants to upload file via
Symfony Imageboard post database schema
I’m making imageboard in symfony. I am curios if I’m doing it in the best way. There are threads and posts just like in normal forum. Thread 1 post 1 post 3 Thread 2 post 2 post 4 The problem is I made two entities Thread and Post. It’s easy to get all posts from one Thread but there are
Symfony EasyAdminBundle 3 override the createIndexQueryBuilder()
It said on the EasyAdminBundle doc For example, the index() action calls to a method named createIndexQueryBuilder() to create the Doctrine query builder used to get the results displayed on the index listing. If you want to customize that listing, it’s better to override the createIndexQueryBuilder() method instead of the entire index() method. So let’s imagine I have in my
Relation ManyToMany with Symfony 5 : do not save
For my project, I created 2 entities : Recipe & Ingredient. They are a ManyToMany relation. mysql shema I generated everything from the console (entity & CRUD). But, I can’t save ingredients …