OK, I've played around with it a bit more, and it appears that
mysql_field_len returns -1 when looking at a longtext column, not other
types... Blob, text, ints, mediumtext, etc work fine.
Still not sure why this is affecting this particular machine.