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
Missing Add/Remove Programs List In Ubuntu
I normally use Synaptic Package Manager or the command line to install/remove programs in Ubuntu. Sometimes, however, I like to just look through the list with the descriptions and see how the programs are rated to make a decision on what to install.
Today I opened Add/Remove to find this…
Synaptic still works fine, but Add/Remove doesn’t show any programs whatsoever. After searching around the Ubuntu forums, I was directed to the fix. Simply type this line into the terminal
sudo apt-get install --reinstall app-install-data app-install-data-commercial

After this ran, everything worked perfectly. I talked to one person on the forums to see if he knew why this happens, but no one seems to know…Just one of the joys of technology I guess.
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’
Can’t Empty Trash In Ubuntu 8.04 and 8.10
Seems simple enough right? Sometimes items seem to get ’stuck’ in the trash. Even though this seems like a bug, it’s actually due to the way permissions are handled on Linux (although I definitely wouldn’t call it a feature:). Here’s how to force it to empty.
Run this command from the terminal:
sudo rm -fr /home/USERNAME/.local/share/Trash/
**UPDATE**
Now that I’m running 8.10, I figured I’d check to see if the location of the Trash bin is in the same spot, and it is. The above command should work exactly the same in 8.10 as in 8.04.
****
That’s it. Your trash should now be empty.
Remember, they moved the location of the trash in the newest version of Ubuntu so obviously this exact command won’t work if you have an older version. All you need to do is a little research to find the correct directory and swap that out however.
Twitter, We Have a Problem
I just logged in to Twitter and noticed something weird. I normally have around 900 followers and I follow around 600 people. Not sure exactly what happened, but this is what it’s showing me now…
![]()
Anyone else noticing this?
**********UPDATE**********
Turns out it was just Twitter’s new anti-spam bot. There’s a great article on it over at ReadWriteWeb.
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).
Microsoft Visual C++ Runtime Library Runtime Error With CD/DVD Player
*******************************
UPDATE: After all this, the drive stopped working several days later. I reformatted the machine, swapped cd drives…only to find out that the SATA cable went out on me. Once I replaced that, everything worked perfectly. (I would still follow the instructions below to get rid of the annoying DISCover.exe Runtime Error.
*******************************
I’ve been getting a Microsoft Visual C++ Runtime Library Runtime Error from a file called DISCover.exe sometimes when I would boot my computer. It didn’t happen all the time and I wasn’t sure exactly what the issue was. I didn’t have any program installed on my machine called DISCover and nothing was running in my system tray.
Whenever I would get this error, my CD/DVD drive would no longer show up on my computer. Very, very annoying.
I did some Googling and kept coming up with the same answer: Upgrade Visual C++ Runtime Libraries. I did this with exactly zero results.
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.
Using chkdsk to Right a Shaky Windows Machine

I’ve recently been having tons of problems with my Windows XP Media Center machine. My programs were constantly crashing, I was having to restart at least once a day, I would get random error messages, programs would just not start up when I booted the machine, when I emptied my trash my external hard drive would have to spin up before it would empty (WTF? I knowL), etc. etc. You’ve heard all this before if you’ve used Windows for an extended period of time.
I had 3 options, 1)Reformat the machine; 2)Buy SpinRite and run it to see if it fixes it; 3)Run chkdsk.
The issues I was running into seemed like the drive was going bad, but the data wasn’t worth it to me to pay $90 for SpinRite. I’ve never run chkdsk and it didn’t seem worth it. I decided to reformat the machine and be done with it. Besides, this would give me a good opportunity to back everything up.
Wordpress 2.3 / Google Sitemap Plugin Bug
Just upgraded about 10 blogs this morning to Wordpress 2.3. So far it’s another brilliant release from the Wordpress guys. Not sure how they keep doing it, but they do.
Just wanted to give everyone a heads up and hopefully save you some time if you are using the Google Sitemap Plugin (which everyone should be using:). You need to make sure you have the latest version here: http://downloads.wordpress.org/plugin/google-sitemap-generator.3.0.zip
If you have an older version that is incompatible with WP 2.3, you will get an error whenever you try to post. You will be able to type the post and after you hit submit, you will get the error (or something similar):
WordPress database error: [Table 'mydatabase.wp_post2cat' doesn't exist] SELECT cat_ID AS ID, MAX(post_modified) AS last_mod FROM wp_posts p LEFT JOIN wp_post2cat pc ON p.ID = pc.post_id LEFT JOIN wp_categories c ON pc.category_id = c.cat_ID WHERE post_status = 'publish' GROUP BY cat_ID


