All entries of my technical and business blog.

Doctrine Error: Expected Plain Value

I’m so used to PHP’s liberal allowance for single and double quotes, that I forget that other languages and tool-sets don’t play that way. Case in point, my most recent error: [Syntax Error] Expected PlainValue, got ''' at position 378 in class My\Bundle\App\Entity\ItemDefinition. (more…)

php

Ansible Installation of Postfix with No Prompts

Using an Ansible configuration, I wanted to use postfix on ubuntu to send out mail. However, I couldn’t seem to figure out exactly how to get it to stop asking for input during the apt-get install postfix process. Turns out, you can use debconf to set the values that are necessary for the install. (more…)

Getting variable values from nested twig / symfony custom template

Today, I was working with a custom form themed symfony / twig project. The previous developer had developed a bootstrap based theme (yes, this is an older Symfony project at this moment - I think this is a bundled theme now). I was struggling with the block field_row item. Inside of this, there was a call to form_label passing in just the form view again. I was setting a custom label on the form_row() call... (more…)

⬅ Newer | Older ➡
Page 13 of 52
or use RSS