If you mount a Windows 7 share using Samba/CIFS you may run into “mount error(12): Cannot allocate memory” if you are using very large files on the Windows machine. Looks like in certain situations Windows needs to be told to run as a file server and to expect large files. You can read more details at Large Files are locking up Windows 7 32 bit and 64 bit, but the solution is to make two registry edits and then restart a service: Read more…

When using Doctrine query caching, if your DQL contains “IN ?” the query cache may return a query that will result in an “Invalid parameter number: number of bound variables does not match number of tokens” exception.

The reason for this is because the index to the query cache is a hash of the DQL before the “IN ?” is expanded to something like “IN (?, ?, ?)” (the number of ? will vary depending on the number of elements in the array passed as the parameter for that spot), but the actual query being stored in the cache is the expanded form. Read more…

I’ve written a tutorial on installing WordPress onto a shared hosting account. The tutorial takes you step-by-step through the entire process with a screen shot for every step. The account I used was a Windows/IIS hosting account with the Helm control panel, but the steps should translate to most other hosts as well.

This is a mortgage payment calculator that I created because I was unsatisfied with the ones I have found elsewhere, which were slow and plain—why do an entire round-trip to the server for a simple calculation that can be done with javascript? With that in mind I developed the site using jQuery

This is my first venture. My initial investment in it is $1.19 for the domain registration and a weekend to create the site. I’ll likely put a bit more time into it, but no more money for the rest of the year.

Ever wonder why the theme preview for some themes shows up blank in WordPress even though upon activation the theme works as just fine? This is because using spaces and/or dashes in WordPress theme folder names breaks WordPress’ theme preview functionality, so you should only use underscores.

It has come to my attention that my first (and only—thus far) published work is no longer available where it was originally published. It is a paper I wrote for an English course in college. My professor submitted it to the authors of the course’s textbook, Writing and Reading Across the Curriculum, and it was selected to be a student model paper on the book’s companion website. Read more…

Note: If you are using Symfony 1.0, follow these instructions instead.

A commenter from my prior post on this subject noted that those instructions only worked for Symfony 1.0 so I have updated the instructions to work for Symfony 1.2 (the current release as of this writing). Read more…