Questions tagged as 'symfony3'

1
answer

Error ClassNotFoundException in Symfony 3 Router

Someone can explain me the following error in Symfony 3.0: I have created a bundle called blog, for which I defined the path /blog : blog_homepage: path: /blog defaults: { _controller: BlogBundle:Default:index }...
asked by 17.04.2017 / 16:43
0
answers

Does not run phpMyAdmin with symfony, is it possible to configure it?

I currently need the phpMyAdmin to install the Wordpress , I have the symfony installed but want to run the phpMyAdmin
asked by 05.04.2017 / 00:53
1
answer

Inheritance of entities in Symfony3

I am with a project in Symfony3 and in which I want to do inheritance between the entities by annotation yml. Would                          Property (Father), (Children) Housing and Garage I have three yml files: File 1 Ar\Soft\Alquiler...
asked by 15.03.2017 / 18:20
1
answer

How to pass mock from test to controller in Symfony 3

Good, I'm trying to test a controller that uses the find method and the entity manager could not be mocked. I managed to pass the mocks with the request method using the function returnURL. I would like to know if there is any other way to do...
asked by 26.04.2017 / 15:13
2
answers

Error in symfony when accessing getParameter

I'm immersed in a project in symfony and I'm doing some tests with different bundles. In the first CatalogBundle bundle, it is responsible for managing two entities, Producto and Proveedor with their respective form and so on....
asked by 05.03.2017 / 17:59
1
answer

Create a new project in Symfony 3: Error creating resource: Failed to enable crypto

I want to create a new symfony project but I find a problem when I use the command php symfony.phar new Symfony I used Ubuntu 16.04 /var/www$ php symfony.phar new Symfony [GuzzleHttp\Exception\RequestException]...
asked by 22.02.2017 / 19:40
3
answers

"Error: Class FrontEndBundle \ Entity \ BrandAuto has no association named id" in Symfony 3, when specifying an association in two entities

I have two entities MarcaAuto and ModeloAuto with the following definition: MarcaAuto <?php namespace FrontEndBundle\Entity; use Doctrine\ORM\Mapping as ORM; /** * MarcaAuto * * @ORM\Table(name="marcas_auto") * @ORM\Entity(repos...
asked by 20.02.2017 / 14:18
1
answer

Problems when making dependent select boxes

Good, I have problems making select dependent on another. I've tried with: link But I have not managed to make it work, the problem is that they relate to several entities but what I want is to relate to a single entity. These two var...
asked by 23.11.2016 / 13:41
2
answers

Error Call to a member function format () on string, In symfony form

I have the following form in symfony: ->add('horaI', ChoiceType::class, array( 'label' => 'Hora Inicio', 'placeholder' => 'Seleccione una hora', 'attr' => array( 'class' => 'form-name form-cont...
asked by 14.06.2017 / 18:47
1
answer

Project symfony on port 8000 works well on port 80 no (Sylius)

I am using the platform Sylius installs and works correctly. What happens is that it works with the symfony server itself on port 8000 with these lines: php bin/console server:start open http://127.0.0.1:8000 Then when I want to work with...
asked by 22.06.2017 / 21:25