Questions tagged as 'symfony-2'

1
answer

Service to manage PHP sessions (Symfony2)

I need to create a Service in PHP to manage the sessions of an application, does anyone have a practical example for this? PS: I'm a beginner! :)     
asked by 16.07.2015 / 22:53
0
answers

Relationship between two entity

It's as follows, I have an entity Machine and another Entity entity, and they are both in the same bundle. What I intended was that in the machine 3, which was already created, from 100 thousand to 100 thousand, the oil of the distribution chain...
asked by 09.02.2015 / 15:49
1
answer

Entity Repository

I have the tables: Operário(id,identidade(string)); Intervenção (data(date), hora(time), duracao(integer)); Avaria (data(date), descricao(string), impedimento(boolean)); Prevista (contagem(integer), duracao(integer), fazer(string), tempo(integ...
asked by 10.02.2015 / 16:19
1
answer

Get form value

This is my twig form. <form id="csv" action="{{ path('faturamento_csv') }}" method="post"> {% for elm, value in filtroLocais %} <input type="hidden" name="{{ elm }}" value="{{ value }}"> {% endfor %} <b...
asked by 27.08.2014 / 17:04
2
answers

Upload direct to amazon s3

Work using Symfony 2.5, Heroku hosting, and Amazon S3 for static files. I am working on a project where the user can upload very large images, and this ends up locking the server of my app or giving timeout because the server can not complete th...
asked by 12.08.2014 / 01:37
2
answers

Using InnerJoin with Limit

I have the A table with a OneToMany relation to the B table. The A table is small, has 10 records. The B table has N records for each record in the A table. From X to X minutes a script is executed th...
asked by 07.06.2016 / 13:43
2
answers

How to add twitter-bootstrap in a symfony 2 project?

I created a symfony 2 project, now I want to include twitter-bootstrap in this project. How to make this inclusion?     
asked by 15.04.2014 / 17:58
2
answers

Unable to create the cache directory (/ cache /)

After installing Fedora, trying to get into my application with Symfony2, I can not fix this error:    RuntimeException in bootstrap.php.cache line 2671: Unable to create the cache directory (/ cache /) I've tried several alternatives, in...
asked by 08.10.2015 / 04:09
1
answer

Error installing symphony: fopen failed to open stream: Unable to find the socket transport "http"

I'm following the tutorial for symfony installation, but an error occurs when executing it [GuzzleHttp\Exception\RequestException] Error creating resource: [message] fopen(https://get.symfony.com/symfony.version): failed to open stream:...
asked by 05.02.2018 / 20:03