Tag Archives: Symfony

symfony swift mailer localhost [] did not issue MAIL/EXPN/VRFY/ETRN during connection to MTA-v4

A weird problem was put in front of me today. Every symfony site using swift mailer, bar one, on the same server were sending email correctly. Tailing the mail logs the following error was returned: Server xm-mta[19908]: oAJA1IcU019908: localhost [] …

Posted in PHP

A look into coding standards

Standardisation in any programming language is usually put in place for a reason. Simplicity and understanding of a set of standards and abiding by them tackles one issue with moving from project to project. Sticking to the same coding standards …

Posted in Development

symfony 1.2+ tasks: The “default” context does not exist

If you happen to run into the error ‘The “default” context does not exist’ when running a custom symfony task the chances are you’re using a method of an object which utilizes sfContext. It seems symfony does not create an …

Posted in PHP