All talks > Talks tagged with explained

 
General Symfony 2 discussion • symfony2 http cache

Hi,I am using Http Cache as explained in symfony. If I used SetMaxAge in individual action than its[...]

Installation and setup • doctrineMigrationBundle install fail

Hi,When I add "doctrine/doctrine-migrations-bundle": "dev-master"as explained i[...]

PHP SOAP Procedure 'functionName' not present

I'm writing a SOAP application in Symfony and for all my request I'm getting an error Procedure 'getClusterName' not present. Strange thing is that when I created a test SOAP application in pure PHP it works fine, but the same code in Symfony returns an error. Another strange thi[...]

Custon form field type embedded form Symfony2

I have three entitys: Diet, Menu and Meal Diet have one collection of Menus, Menu have one collectiion of Meals. So I have to create a embedded form for Diet. I follow the documentation of embedded form of Symfony2, but there is so simple. Ok. What I need first: Each form[...]

Non-object error on a certified object

I'm working on a Symfony form with non-entity fields (in a collection). What we're talking about For comprehension this is some code snippets : Form definition (in PieceType class): $builder ->add('name', 'text', array('max_length' => 70, [...]

Symfony getUser and save to form

I have a symfony form with a few hidden fields that the user can't edit but are set automatically when they submit the form. The one field I can't seem to set is the userID. The form is secured so it requires authentication in order to display (sfDoctrineGuardPlugin). What I'm[...]

How do I deserialize a Doctrine object with JMSSerializerBundle?

I am using Doctrine-ODM and I'm trying to (de)serialize document Objects in Symfony. The serialization seems to work, but when I try to deserialize I get the following error: You must define a type for My\Bundle\Repository\Item::$id. I try to deserialize with this call: $ob[...]

Customizing All errors symfony 1.4

Sorry for my English and writing through a translator. I'm new here and I'm a bit lost in what I want, maybe you can help me out if they wish, as explained here: I want to customize all the errors that may be produced (any status code that is a mistake. 404, 500, 204, 301 .... et[...]

Changing filters from Select to simple input

in my filter forms I want to change the default sfWidgetDoctrineChoice to a simple sfWidgetFormFilterInput. For the relational fields (e.g. UserForm has a field PhoneNumberListId). What's the purpose? => When you have a lot of relational data symfony (to be exactly the DoctrineF[...]

 
 
 
 
Want to support this service?