Recover a Lost WordPress Password
Recently I had a client contact me and tell me they lost their WordPress password and couldn’t get into their account. I guess they had the wrong email in there and couldn’t use the ‘Lost Password’ feature either. Luckily, there’s a ‘not too difficult’ method for resetting your password (or more than likely your favorite client’s password).
I’m going to be using cPanel and PHPMyAdmin for this, but you should be able to do it with whatever system your host is using to allow you to manage your DB’s.
- Login to cPanel and look for phpMyAdmin

- Look for your database to the blog you forgot the password to on the left hand side

- Look for the ‘wp_users’ table and click the ‘Browse’ button

- Find your username/user ID and click the edit button next to it

WordPress 2.7 ‘Cannot Modify Header Information’ Fix
I just recently upgraded a bunch of WordPress 2.5.1 blogs to 2.7 at work. Everything seemed to have gone perfectly until I got a call from someone who was trying to edit a draft she was working on. Everytime she clicked the ‘edit’ button, WordPress went to the post preview page and threw a couple of errors:
At the top of the page it said: ‘Post Preview (updated when post is saved)’
Then, towards the bottom, there were two more seemingly related errors:
"Warning: Cannot modify header information – headers already sent by (output started at /var/www/rchsupdates/wp-content/plugins/preview-frame.php:43) in /var/www/rchsupdates/wp-includes/functions.php on line 698"
"Warning: Cannot modify header information – headers already sent by (output started at /var/www/rchsupdates/wp-content/plugins/preview-frame.php:43) in /var/www/rchsupdates/wp-includes/functions.php on line 699"
WordPress 2.7.1 Released
WordPress 2.7.1 was released today. It’s the typical bug fix release that they always do. What I think is really interesting about this release is that normally, the .1 bug fix comes about a month after the initial release. This time, however, WordPress 2.7 was released two months ago. I think that really lets you know how amazing 2.7 has been. I can’t remember a release of WordPress that has been this solid.
Now the decision is, do you manually upgrade or use the built in auto-upgrade feature? I just got done upgrading this blog and I did it manually and everything went perfectly (which bug fix releases normally do since the structure of the code isn’t really changing).
Anyway, get the new release of WordPress 2.7.1 or check out the list of fixed bugs
cForms Plugin Gets Removed From WordPress.org
I woke up this morning to find I had a plugin that needed to be updated. Not a big deal. It was the cForms plugin which is constantly being updated. This time, however, it came with a special note:
In light of special circumstances, cforms will not continue to be available on wordpress.org. Future updates may only be available on http://www.deliciousdays.com/cforms-plugin.
(image)
That’s odd. This is one of the best plugins the WordPress community has to offer. Why would WordPress.org being pulling it down? Clicking further took me to the official cForms plugin site with another ’special’ note:
cforms has been removed from wordpress.org as a result to this post. Future updates may be released on the main cforms home page, chances are that support and further development will end with version 10.2
In light of the circumstances, the forum is currently closed (read-only), until further notice.
WordPress Image Upload Issue Part 2
A while back I wrote about some trouble I was having with WordPress’ flash image uploader in version 2.6. After 2.7 came out, I upgraded and the problem seemed to go away…wrong. This thing just keeps getting weirder.
There are several people reporting that adding some code to a .htaccess file and putting it in your wp-admin folder fixed it. This didn’t work for me. So I kept looking around and found other stories reporting that the issue is OS specific. Since I’m running Ubuntu with XP, Vista and Windows 7 all running virtually, I thought I’d give this theory a shot.
Here are my results:
- Ubuntu 8.04 and Firefox: I get an ‘HTTP Error’
- Windows XP and Firefox: Brings up the wp-admin login screen in the lightbox
- *Windows XP and Internet Explorer 7: Worked
- Windows XP and Safari: Takes me to a login screen with no css styling
WordPress Error: Forbidden
I was recently working on an article detailing how to install TrueCrypt 5.1a on Ubuntu 8.04. I had just written another article minutes earlier, so I knew everything was fine with WordPress at that time.
This time, however, everytime I chose to Save the article, I was given an error.
Forbidden
You don't have permission to access /blog/wp-admin/post.php on this server.
Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.
After deactivating my plugins, changing permissions to post.php and drinking a few beers, I finally found the problem.
For some reason, WordPress didn’t like the character combination of ‘wget h’. In the first step, you need to run the command ‘wget http://www.truecrypt.org/downloads/truecrypt-5.1a-ubuntu-x86.tar.gz” to download the TrueCrypt file.
I was finally able to get around it by adding a non-breaking space ( ) between the ‘wget’ and the ‘h’
Is this a SQL injection safeguard or just a weird bug? Can anyone else replicate it? Anyone?
WordPress 2.6 Image Upload Issue
Not sure if anyone else is having this problem, and I’m beginning to think it has to do with my server setup and not WP.
When I click to add images, I can select them, but when I click ‘Open’ it takes me to the login screen. Here’s a quick video that shows a little better what is going on. I know I don’t have to use the Flash uploader, but I want to get this issue fixed, not just put a band-aid on it.
I would love any help or insight anyone can give. Thanks!
**********UPDATE**********
Had someone DM me on Twitter and let me know that he exported his MySQL Db and rolled a fresh install of WordPress 2.6. The image uploader still didn’t work. This leaves two things: the server and the database (maybe the code of the theme, but I don’t think that’s it).
**********UPDATE 2**********
So it’s not the database. I guess that leaves the server or the theme/plugins code.
WP 2.5 Image Upload Issue Fixed
Found a fix to my WordPress 2.5 image upload problem I was having after I upgraded on Saturday.
After about an hour of stumbeling around I came across a post on a forum where someone said they got the image upload to work by adjusting their .htaccess file on thier site with the following code.
<IfModule mod_security.c>
<Files async-upload.php>
SecFilterEngine Off
SecFilterScanPOST Off
</Files>
</IfModule>I made the change to my .htaccess file, and like magic the image upload feature started to work again!
Josh Highland’s Blog WordPress 2.5 image upload problem : SOLVED
First Issues With WordPress 2.5
I’ve been using the newest version of WordPress a little while at WordCamp and I’ve run into a few issues with the new image uploading system.
Everytime I try to add an image, I get an HTML error. I’ve tried to chmod the uploads folder and the individual folders to 777, but that still didn’t seem to fix it. If anyone has any ideas, please let me know.
Other than that small issue, the new version is pretty amazing.
WordCamp Dallas 2008
I’ll be at WordCamp all day today and most of tomorrow so if you want to keep up with me, follow my Twitter stream here.


