Skip to content
Advertisement

Tag: symfony

Symfony 5.3 custom FileLoader not working

I want to run a multi tenant Symfony (version 5.3) applications and for it I want to implement a custom translation file loader. According to the Symfony documentation it should be very easy: https://symfony.com/doc/current/reference/dic_tags.html#dic-tags-translation-loader However, it is not working for me. I have added the class and tag to the services. And this is the Loader file My functionality wasn’t

Workflow in Symfony doesn’t work with “multiple_state”

In one of the configuration files of Symfony 5.2.8 with Workflow 5.2.7 I have: When I execute bin/console I have error: Unrecognized option “arguments” under framework.workflows.workflows.register_participation.marking_store”. Available options are “property”, “service”, “type”. When I change the configuration to: I get the error: The value “multiple_state” is not allowed for path framework.workflows.workflows.register_participation.marking_store.type”. Permissible values: “method” It works when I change to

How to pass data to symfony form class without using static

I’ve got form class and i have to pass args to it but i can’t do that because i am using createNamed function which requires me to use namespace string. code: I can’t pass this data into entity, because it is an arguments for creating the form fields rather than data model. Answer Have you tried using the Controller method

disable symfony 5 database connection

I have the default config in my symfonu project I have this line at .env file and I get this error Of course I dont have not isntalled postgres, and I dont need a database for this project, How I cant fix this error I tried to comment the .env file line but I get another error Answer Commenting the

Symfony 5 Fast Track: Database access error

I’m trying to go through the aforementioned tutorial, but I get stuck on the stage between Step 7 and 9 – when the database goes into action. On local server I get and while on my deployment server everything seems to work good when reading the database: https://akodg6sfgq-gijxpyj6oxpig.eu.s5y.io/admin/ and entering the conference, when I enter a comment https://akodg6sfgq-gijxpyj6oxpig.eu.s5y.io/admin?crudAction=new&crudControllerFqcn=App%5CController%5CAdmin%5CCommentCrudController&menuIndex=2&referrer=https%3A%2F%2Fakodg6sfgq-gijxpyj6oxpig.eu.s5y.io%2Fadmin%3FcrudAction%3Dindex%26crudControllerFqcn%3DApp%255CController%255CAdmin%255CCommentCrudController%26menuIndex%3D2%26signature%3DGrbeBTskRKkJuU_MbS0do5B1M2XowgfTuOLaqpPQl4M%26submenuIndex%3D-1&signature=Rre3TFXH2NDeRLj9W-LKo6RJXR1fbvm37Cu8H04gfQM&submenuIndex=-1it hits me

EACES permission denied when trying to launch an installed Symfony “Akeneo PIM” with Docker

I started my first internship on monday and I’m working on a PIM created by Akeneo, which is build using Symfony. They have a nice guide to install it on their website and I figured i’d learn docker too. Here are the instructions i followed so far : https://docs.akeneo.com/latest/install_pim/docker/installation_docker.html I just didn’t configure my package manager before installing because after

Advertisement