Posts Categorized: Programming

Upgrading MySQL on Debian Wheezy Fails

I just did an update to one of my Debian Wheezy servers. After the upgrade Mysql failed to start. That sucked, but fortunately I was able to fix it. All I needed to do was comment out a line from /etc/mysql/my.cnf.dpkg-dist. If you run into the issue, the problem is related to this line in… Read more »

Where to put assets like CSS and Javascript in Symfony

I just solved a fairly simple problem, but for my own record and if it could possibly save someone some time, here you go. In Symfony, you want to put your assets (CSS, Javascript, images) in the right location, which is src/BUNDLE_NAME/Resources/public. To use your assets in your web application, run this command. php app/console… Read more »

Upgrading Debian Squeeze to Wheezy

I’ve recently done a few upgrades of Debian from Squeeze to Wheezy and it’s a pretty uneventful process. I recommend following these instructions at HowtoForge. The only major issue was that Mysql was removed after the upgrade. My data was still there but I had to install mysql-server. apt-get mysql-server Also you might get an… Read more »

Symfony 2 Getting Started Guide Now Available

It is here folks. The moment you have all been waiting for. My new Symfony 2 Getting Started tutorial is here. This is a simple and powerful tutorial that will get your through many of the core components of building applications using open source Symfony. I love Symfony, and I think you will too, so… Read more »

Plug Your Tach Hole

I’m about to make my first customizations to my ’78 CB400 for this season. I purchased the bike last year for $650. I didn’t do anything to the bike but change the oil and check the tire pressure. I just wanted to ride it for a year and see if it’s something I want to… Read more »

Access Control with Symfony 2 Custom Security Voter

While doing some research on Symfony2, I found this quick tutorial about creating custom security voters. It’s a great way to get more out of the underlying security framework in Symfony. Symfony2 Security Voters by Kris Wallsmith. If you’re looking to get started with Symfony 2, check out my “getting started” eBook.