Questions tagged as 'symfony3'

0
answers

Insert data POST symfony3 method

I'm doing an app with symfony3, I have the CRUD methods in the controller, but I can not insert data in the DB, for now I'm just doing the backend and testing with Postman. This is the method that inserts: /** * @Route("/event/new", name=...
asked by 10.04.2018 / 03:34
2
answers

Symfony 3 in linux

I'm a rookie in synfony and I just installed and this error occurs to me. Has anyone else happened to this? How do I solve it?     
asked by 09.04.2018 / 20:26
0
answers

Use order by field Doctrine symfony 3

Is it possible to use ORDER BY Field in a DQL query?     
asked by 10.04.2018 / 10:24
0
answers

Implement FOSoAuth2 in Symfony 3

I am setting up an APIRest with the following bundles FOSUserBundle FOSRestBundle FOSoAuth2Bundle NelmioBundle (this to document the API) I know how to get the authorization token to make the requests to the controllers. My problem...
asked by 20.03.2018 / 20:38
0
answers

Inner join and left join Doctrine symfony

Hi, I want to do an inner join with a left join to join the data I need from several tables, the normal query works for me, but when I pass it to the doctrine format I do not know how to accommodate the syntax SELECT c.id,c.'name',c.'st...
asked by 13.03.2018 / 18:18
0
answers

renderView does not work in a command

I am doing a project in symfony 3 and I am automating the sending of emails, for which I created the command in a folder within the bundle and when I send the mail view rendering, I get the following error: Fatal error: Call to undefined method...
asked by 15.02.2018 / 16:40
0
answers

Symfony3 makes me logout without me asking

Well, I have this security.yml # To get started with security, check out the documentation: # https://symfony.com/doc/current/security.html security: encoders: BackendBundle\Entity\.....: algorithm: bcrypt cost: 4 # https...
asked by 15.02.2018 / 11:56
0
answers

createQueryBuilder return a well-formatted JSON

Good, I have an action in my controller that what it does is collect the records of the entity Address and make a Join with the City entity to obtain the name of the city (City entity field name), for this I have this code that works but I retur...
asked by 02.02.2018 / 13:17
0
answers

Symfony, hide fields in a Type form

Good, I have an entity that is Users and another that is Cars, in the entities I have since 1 User can have N Cars, I have the relationship onetomany and manytoone respectively. Then I have created the type forms of both, where you can create...
asked by 03.02.2018 / 19:19
2
answers

help with symfony query 3

Hello it turns out that I'm working on a project in symfony 3.3 and I have an Entity that has fields like title (string) auto (boolean) createdAt (datetime) ftope (datetime), this last is a deadline and I would like to make a query...
asked by 26.01.2018 / 21:13