Questions tagged as 'symfony3'

1
answer

Symfony application does not load css files

I recently started working with symfony applications and every day I have new problems that I have to solve, one of them is that my main view of the application does not load the files .css , I already have them defined within the block:...
asked by 19.10.2017 / 16:01
1
answer

Symfony Doctrine: Unable to create database

I'm following this tutorial:    link and I get this error:    Could not create database symfony for connection named default An   exception occurred in driver: SQLSTATE [HY000] [1045] Access denied for   user 'root' @ 'localho...
asked by 09.09.2017 / 11:29
1
answer

Correct use of Symfony models when complex Querys are needed

I am very new to Symfony, I was looking at the documentation regarding the models, and all the examples and indications place a lot of emphasis on entities ( Entities ) that are well defined in the DB. My problem is that the system I am do...
asked by 29.07.2017 / 23:57
1
answer

Method not allowed when accessing a REST API

Good I have a problem that has me desperate, to see if someone can lend me a hand, the situation is as follows. I have a REST API in Symfony 3, which I use with an Angular front, the application as a whole works perfectly in an Apache server...
asked by 16.05.2017 / 18:00
1
answer

Problem in symfony security relationship

Hello I have a user can have one or more certificates and a certificate belongs only to a user this is the user entity namespace AppBundle\Entity; use Doctrine\ORM\Mapping as ORM; use Symfony\Component\Security\Core\User\UserInterface; /*...
asked by 03.02.2017 / 02:14
1
answer

Change the Symfony default driver

Symfony loading the files loads the default driver, DefaultController.php . How can I change that file by any other name? Logically the error that I get when I delete it is:    class AppBundle \ Controller \ DefaultController does not e...
asked by 12.01.2017 / 13:28
1
answer

Symfony login returns Invalid credentials

I am developing a login with Symfony 3.4. When I try to login with this login I get the error Invalid credentials. . I followed and implemented the login by following the link tutorial . In my database I have the following: Whose stru...
asked by 16.12.2018 / 21:49
0
answers

Doctrine ORM ManyToMany bidirectional error

I have a query about my entity that gives me an error, I'll show the entity and the error: class Post implements ResourceInterface, TranslatableInterface { /** * @var int */ private $id; /** * @var bool */...
asked by 11.10.2018 / 18:02
1
answer

Symfony3 Form how to specify a br (spacing)

I'm with symfony3, when I generate an example form type form, how can you specify the space from label to another? , since I have very focused, and I just want to put a <br> to Image (file selection). Does it have to be from...
asked by 29.08.2018 / 14:33
1
answer

Send data by ajax to controller - symfony

I am developing a web management system of shifts with symfony 3.4, jquery and ajax. In a form, the user selects a location and a date and must press a button to obtain the available shifts. I can not get the response from the server or the orde...
asked by 17.06.2018 / 21:39