• Zend Z-Ray: How to run it on PHP’s built-in web server

    Zend Z-Ray: How to run it on PHP’s built-in web server

    Zend Z-Ray: How to run it on PHP’s built-in web server In early August I, amongst other ZCEs, got...
  • Symfony2: Reload user roles

    Symfony2: Reload user roles

    If you are not using FOSUserBundle for managing your user system, then you might have stumbled onto a...
  • Quick tip: Joomla white page and rsync

    Quick tip: Joomla white page and rsync

    I recently worked on a joomla page. And since I love rsync, I made myself a build/sync script to update...
  • Symfony2: How to set the correct host for routing in console command

    Symfony2: How to set the correct host for routing in console command

    Quick tip for setting the correct host in your custom symfony2 command. $this->getContainer()->get('router')->getContext()->setHost('www.example.com'); This...
  • Serialization of UploadedFile is not allowed fix

    Serialization of UploadedFile is not allowed fix

    If you are doing file uploads in Symfony2 with help from the cookbook tutorial you might have ran into...
  • Symfony2 Error: UsernamePasswordToken::serialize() must return a string or NULL

    Symfony2 Error: UsernamePasswordToken::serialize() must return a string or NULL

    Getting the following error? Symfony\Component\Security\Core\Authentication\Token\UsernamePasswordToken::serialize()...

Think twice, do once.

Cut your own wood and it will warm you twice.