symfony-2.2 Questions

3

I'm displaying an html table for a filtered collection of entities and I want to display a checkbox in each row as part of a form which will add the selected entities to a session var. I'm thinkin...
Shellfish asked 1/2, 2013 at 2:31

5

Solved

Im using swiftmailer for sending mails from my symfony2.2 project. Is there a way to log globally all email info and send results? It would be great if mailer send() method have trigger somę even...
Desmund asked 3/8, 2013 at 13:12

2

I would like to use Monolog in symfony2 application for logging, but my question is how can I split the file every day instead of appending to the same file? I would like my log file to be somthin...
Candicandia asked 18/9, 2013 at 16:7

3

Solved

i have a simple problem. I have a form with a field for example: $builder ->add('x') ->add('y') ->add('z') ; In my twig files i used multiple blocks and i want to stop render fields...
Respiratory asked 24/5, 2013 at 12:1

2

Solved

I have an Entity Order which hold Suppliers in an Arraycollection. In my controller i want to check if this arraycollection is empty: $suppliers = $order->getSuppliers(); I tried: if(!($sup...
Tinatinamou asked 14/7, 2013 at 19:44

5

Solved

I'm using sonata admin bundle to generate my backend, I'm so happy with it that I would like to use my backend to display statistics as well. I guess I can do that by tweaking bundle's views, "sta...
Soledadsolely asked 12/4, 2013 at 8:30

2

I have a VMware virtual machine running Debian Squeeze. All my projects are in a folder on my Windows machine, accessible to the Debian VM via a VMware shared folder. This means that I can work on ...
Harker asked 18/4, 2013 at 19:37

2

Solved

I have an entity which is on the inverse side of a three one-to-one mappings. Entity FittingStep is mapped by FittingStepSingleValue, etc. FittingStep has a field fittingStepType which identifies w...
Panter asked 26/11, 2013 at 7:24

3

Solved

I have a class containing constant options in array form: namespace MyNameSpace; class OptionConstants { /** * Gender options */ public static $GENDER = array( 'Male', 'Female' ); /** *...
Jeff asked 14/4, 2013 at 19:59

1

I just begin to use fosuserbundle, today I activate the confirmation register link. It works great, but if the user click a second time on the confirmation link in the email, he get that error : T...
Shechem asked 7/4, 2013 at 21:19

1

Solved

Is it possible to upload files in symfony2 WITHOUT using doctrine? With doctrine, its example is given here: http://symfony.com/doc/2.2/cookbook/doctrine/file_uploads.html Is there a simple way to...
Chain asked 10/6, 2013 at 7:54

1

Solved

I just read about the new Symfony-Release: Symfony-Blog. It says 'Upgrading from 2.2 to 2.3 should be painless.' As I only have one project and have upgraded that from 2.0 to 2.2 mainly by buildin...
Vo asked 5/6, 2013 at 12:44

2

Solved

I'm trying to test an API call method which is securized using Basic Auth and which needs to retrieve the user from the security context. My config_test.yml file (I'm using in-memory database for...
Gera asked 30/5, 2013 at 11:36

1

Solved

I have a Symfony 2.2 based application with a form that has a field that is only required based on another field in the form. I bound an EventListener to catch when the form is submitted so I can v...
Somniloquy asked 23/4, 2013 at 11:54

3

Solved

My Symfony page isn't too slow (it loads in about 400 ms) but considering the fact that it's just a simple hello world page with basic authentication, it should be loading in less than 100 ms. When...
Iorgos asked 19/4, 2013 at 18:32

1

Solved

I found this on SO: How to use PHPExcel correctly with Symfony 2 This works, but I want to use it with composer. The first part I already solved: to load PHPExcel for a special tag (the last stabl...
Deforce asked 24/4, 2013 at 16:2

1

Solved

I'm implementing a custom authentication provider for using an external api following roughly the cookbook on the symfony website. It works almost everything correctly, the listener listens the log...
Pustulate asked 26/3, 2013 at 9:56

1

Solved

I have created a new Symfony 2.1 project and added a custom package downloaded by a SVN repo. Now I'm tryng to upgrade the project to Symfony 2.2, but anytime I try to execute the command php ~/bin...
Jiujitsu asked 3/4, 2013 at 23:6

1

Solved

This question is related to the following change (part of Symfony 2.2 release): Part 1 In pre-2.2 Symfony, I was overriding ExceptionController to display some custom error pages. I did that via...
Phantom asked 2/4, 2013 at 20:0

2

I'm trying to update my project from symfony 2.1 to 2.2 . I try to update it package by package. When I type composer.phar update symfony/symfony, I get the following error: Problem 1 - Conclusio...
Hyozo asked 21/3, 2013 at 7:11

1

Solved

I'm moving my old codebase to the Symfony 2.2 framework. In my old code, my Article entity has had a method getUrl(), which was returning a URL for current article. In Symfony i have to use Route...
Hast asked 15/3, 2013 at 12:58

1

Solved

Few days ago I started a new Symfony2 application and I get some troubles with cache: $ rm -rf ./app/cache/* $ rm -rf ./app/logs/* $ ./app/console cache:clear Clearing the cache for the dev envir...
Heine asked 9/3, 2013 at 8:4

1

Solved

I'm upgrading my project from Symfony 2.0.22 to 2.2.0 and review somes changes, but i'm blocked on this : I would like to render (like in Sf 2.0.X) a header with their controller and the "rend...
Sardonyx asked 5/3, 2013 at 10:17

1

Solved

I just installed the last version of phpunit and when I run the demo test with: bin/phpunit src/Acme/DemoBundle/Tests/ I get this problems: 1) Acme\DemoBundle\Tests\Controller\DemoControllerTes...
Southland asked 5/3, 2013 at 4:10
1

© 2022 - 2024 — McMap. All rights reserved.