Questions tagged as 'symfony2'

1
answer

Configure DoctrineExtensions in symfony 2.8 manually

I need help setting DoctrineExtensions ( Gedmo ) manually in Symfony 2.8 Standard . My access to the internet is very limited and I can not use composer. I have in my possession the versions of DoctrineExtensions 2.3...
asked by 11.09.2016 / 03:22
0
answers

How is an image encoded / decoded by means of sonata media?

Good morning, I am using symfony2 with sonata, I have a form from which I get an image through an "image" field of type 'sonata_media_type', so in my controller I get this image, my question is how is the image encoded (the image that returns...
asked by 02.07.2016 / 00:55
0
answers

Delineate JSON recursion level in a Doctrine entity

Good day. I am new to the development of PHP with Symfony (Doctrine and FosRest) and Angular 2. The project that we are developing works through a API Rest , to which we make calls of the methods that the protocol HTTP provides us, al...
asked by 05.07.2016 / 02:23
0
answers

Error with FOSJsRoutingBundle and KnpSnappyBundle

I am using version 2.3 of Symfony and KnpSnappyBudle to generate Twig templates from html to pdf. I had a problem adding images, but I saw the solution online that using request in the url was solved. Example: src= ” {{ app.request.scheme...
asked by 22.06.2016 / 20:58
2
answers

Error changing database symfony2.7

I am creating a project of Symfony 2.7 and I would like to change the document parameters.yml to another host address. My problem is this: I have worked on a local host with Xampp and, now, I need to link it to an online...
asked by 08.02.2016 / 11:25
0
answers

Control duplicated in dependent combos with ShtumiUsefulBundle in Symfony2

This is my section in the application config: shtumi_useful : dependent_filtered_entities: ciudad_by_dpto: class: GestionBundle:Ciudad parent_property: dpto property: nombreciud role: IS_AUTHENTICATED_ANONYM...
asked by 03.02.2016 / 00:35
2
answers

Condition a form in symfony2?

Well, I have the following data in a symfony form: ->add('lugar', EntityType::class, array( 'class' => 'AppBundle\Entity\Lugar', 'mapped' => false, 'query_builder' => function (Entity...
asked by 24.05.2017 / 09:39
4
answers

How to download symfony to get it on localhost?

I downloaded Symfony for the first time on my new computer. I created my first project in the Home folder. I am able to use it to create bundles but I can not get it on the localhost. How can you get it here? It does not seem that I...
asked by 14.02.2017 / 18:39
4
answers

Error extracting database text

With native php I extract from a database a text that contains the typical text, images, videos etc. I'm migrating the web and I'm using Symfony 2 The content for example of a field in the database is as follows: <p style="text-alig...
asked by 20.10.2016 / 14:12
1
answer

Left join QueryBuilder Symfony 2

I can not understand how to do a LEFT JOIN using QueryBuilder of symfony2, the query I need to ask is this: SELECT * FROM extranet.version_portal v LEFT JOIN extranet.version_portal_usuario vu ON vu.version_id = v.id;     
asked by 03.10.2018 / 11:02