Questions tagged as 'symfony4'

1
answer

Symfony 4 - How to save images with FormBuilder (FileType) in Base64 in the Database (MySQL)?

Hello, I'm trying to make a form where the user just inserts an image. In theory, the image should be stored as a Blob (Base64) file in the Database, however, Symfony is storing "tmp / php / random value" in the "photo" field of the credential...
asked by 06.12.2018 / 18:46
1
answer

Finding null value with get in Doctrine Entity

Hi, how are you? I'm having a problem with NULL with Doctrine . What happens: I have some fields in a database table where I save some values for future validations, these fields are nullable = true . I'll give an example: Whe...
asked by 29.10.2018 / 18:00
0
answers

Logical deletion with Doctrine2

Is it possible to configure Doctrine so that it only works with logical exclusions? In single operations and cascade operations?     
asked by 14.09.2018 / 04:04
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

json_array attribute empty while persisting in DB

Good Galeri. I have a curious problem when using DoctrineFixturesBundle. I have an Application class of type Entity Class that maps to the system table. In this class there is an attribute called options which is of type json_...
asked by 20.04.2018 / 02:11
2
answers

Install StartBootstrap-SB-Admin using Yarn

I am creating a skeleton base for my applications and I want to use Symfony 4 and Startbootstrap-SB-Admin . I already have a skeleton project using Symfony 3 and SB-Admin-2 and another one with Silex . These last ones I cr...
asked by 15.02.2018 / 23:26