Questions tagged as 'symfony'

2
answers

Use of unmapped entities in Symfony2

I have read that the Entity folder of a bundle normally stores the entities that will be persisted (in my case, by Doctrine) in the database. But for the ease of working with "annotations" formatting within an Entity, I have chosen to create...
asked by 13.12.2013 / 21:55
1
answer

Simulate another environment by using the 'composer update' command

I have a Symfony2 project with dependencies managed by composer , with their composer.json and composer.lock files synchronized between my local machine and the production server through git . It is known that...
asked by 15.12.2013 / 01:18
1
answer

Block access to a URL or system folder path

Hi, I'm trying to block administrative access from my site and release it for only a few ips. I can do this using the .htacess well quiet but the problem is that I have the adminstrative module and the module frontend and .htaccess...
asked by 21.12.2015 / 12:10
1
answer

Access-Control-Allow-Origin: * does not work for all my domains

I have four applications that use the same API, and Access-Control-Allow-Origin: * does not account for all, the only application that does not work is the one I'm using Zend Framework 2 and Symfony, I do not know if I could have anything...
asked by 11.02.2016 / 16:13
2
answers

How to use REST to validate the receipt of XML via POST

I have an application in Delphi that sends an XML with a code via Post . I have to develop an application in Symfony that needs to validate the receipt of this XML via post. Listening to say it would be via Rest but I've never used Rest. I w...
asked by 11.07.2016 / 14:09
2
answers

Display field information date - php symfony

I have a table in the database with data of type date, the dates in the database are in this format: 2009-09-10. I'm trying to get them via json from symfony like this: linha 7: date("d/m/Y", strtotime($tbdeliberacoes->getData()))...
asked by 14.08.2015 / 20:05
2
answers

Apache directing two URLs to the same folder

I have 2 sf2 projects in different folders. When they access the URLs localhost/projeto01 and localhost/projeto02 m go to same location (project01 even when access / project02). I created a vhost after that to see if it solved...
asked by 27.02.2014 / 03:41
1
answer

Error uploading site

Personally I just uploaded a site of mine made in Laravel 5.2 with pho 5.6 locally. I uploaded to a shared hosting in Locaweb that I have. I configured PHP 5.6 correctly and uploaded the site to this giving me the following error message.   ...
asked by 16.05.2016 / 15:23
2
answers

"php.h not found" error when installing Intl extension on Mac

I'm having trouble installing the intl extension on the Mac, I've already done the following tutorials: Installing Intl package on OSX Lion Install the PHP INTL extension on a Mac Installing the PHP intl extension on OS X Maver...
asked by 27.08.2014 / 19:49
0
answers

Zend Framework and symfony [closed]

I started studying Symfony 2 and realized that it is very productive for systems development, but there are people who say that Zend Framework 2 is the best framework in PHP. I would like to know what are the main differences between Symfony...
asked by 13.03.2015 / 18:34