Questions tagged as 'symfony'

0
answers

Problem with error checking at login time

Good evening, I have a problem checking for login errors with symfony 4. I'm trying to log into the system, but I do not know why form , even being method POST sends GET and because of that I can not check if form h...
asked by 13.09.2018 / 03:48
1
answer

Using Voter with symfony 4

I'm learning Symfony 4 and am encountering a problem. In version 4 of Symfony the ACL has been discontinued and from what I've seen they are using Voter . I already researched the internet and the documentation but I'm lost, I can not und...
asked by 23.04.2018 / 04:56
1
answer

Where is the error log file in symfony?

I'm running a project on the same localhost, done with Symfony to fix an error and for that I would like to see the file with the error in the log but I do not know where it is. Can anyone tell me? Thank you.     
asked by 18.01.2018 / 19:58
0
answers

nested entities / list nested in Doctrine

I have two Plates and Candidate tables with the same structure: TABLE Chapa ( id INT AUTO_INCREMENT NOT NULL, PRIMARY KEY(id) ) TABLE Candidato ( id INT AUTO_INCREMENT NOT NULL, chapa_id INT DEFAULT NULL, PRIMARY KEY(id) )...
asked by 14.12.2016 / 20:40
1
answer

Symfony Custom Field 2

How to write a custom form field in Symfony2 ? In this form you should see: A Dropdown field with the label City; Another field of type number next to the label port number.
asked by 13.08.2016 / 17:33
1
answer

Error changing table via Doctrine Migrations

Through git I used the command below: php bin/console doctrine:migrations:generate I opened the file and made the change <?php namespace Application\Migrations; use Doctrine\DBAL\Migrations\AbstractMigration; use Doctrine\DBAL\Schema...
asked by 15.07.2016 / 17:59
1
answer

Symfony3 project being accessed by mysite.com/web instead of mysite.com

Hello, I'm using Symfony 3 in my new project. I just uploaded the same to the host. However, in order for me to navigate through the project, I need to go to the URL mysite.com/web instead of the mysite.com URL. How can I resolve t...
asked by 15.07.2016 / 19:43
1
answer

Query with field of type json in Doctrine 2 and Symfony 3

Does anyone know a way to perform a query using Doctrine which has a JSON field? Postgresql query example: select id, nome, tipo, '{"idUsuario":465,"login":"paulo"}'::json from public.usuarios limit 5; I need to make this query in Doctri...
asked by 08.04.2016 / 21:43
1
answer

Symfony2 + FOSUserBundle - Password without encoder

Using Symfony2 plus FOSUserBundle, I want the user's database in the database to have no password encoders. In security.yml was placed: encoders: FOS\UserBundle\Model\UserInterface: plaintext However, when I create the user from t...
asked by 16.02.2016 / 19:43
0
answers

Image cut when comparing on facebook

Hi, I have a button to share on facebook the news from my site. It takes the correct image, the correct title and the correct description. But when the window appears in the news feed in facebook the image is cropped appearing only a piece of th...
asked by 03.12.2015 / 17:47