Archive > February 2008

An ugly fix for the no content when posting through email…

So after quite a bit of work I was able to finally track down the problem with emails to the WordPress system that did not have any content in the body. It turns out that the post.php file under the includes folder inserts an empty variable to post_content_filtered when running the insert query.
I did add [...]

Continue reading

-bash: /bin/rm: Argument list too long (AKA: Too Many Files)

find /path/to/directory/ -exec rm {} \;
So apparently that command is magical! Alright, so it’s not magical but it was able to delete over 200,000 spam messages from a users Maildir/ when the rm command failed. “-bash: /bin/rm: Argument list too long”, it complained! So asking around I found out about that beauty of a command [...]

Continue reading

Basic Instructions for Moving a Website to Dreamhost

1) Signup for an account
2) Download all files from your current host
3) Get a database dump of any databases you are using
4) Once your account is active add your domain to the dreamhost system

Continue reading