Common WordPress Errors & Their Solutions – Part 3

Singapore WordPress developer

Woman

Ok, so in the last two blog posts, I shared 6 common errors that a WordPress developer could face while website development (Common WordPress errors & Their Solutions – Part1 & Common WordPress errors & Their Solutions – Part2).In this blog post, I am going to share other 3 common WordPress errors.

#7 Unable to create directory uploads/… Is its parent directory writable by the server?

This issue could drive you crazy if you don’t get it right and fix it to resolve the issue. Many webmasters end up giving full permissions to the upload folder and as a matter of frustration, this issue sometimes doesn’t resolve. So, all you need to do is go to wp-admin/options.php and set “upload_path” to “wp-content-uploads” (or whatever applies to the ‘upload’ folder’s hierarchy).

#8 Images missing from the media library

It happens sometimes that you rebuild your WordPress website from scratch. Everything works fine, except the images have disappeared from the Media Library. They are all there in the Uploads directory but don’t show on the pages and don’t show up in the media library as well. Sounds familiar? If yes, then here is the solution. All you need to do is just register the images in your site’s database.

This plugin could be your savior http://wordpress.org/extend/plugins/add-from-server/

#9 Password Retrieval Problem

It may happen sometimes to you that you forget your password and registered email too especially when trying to access your WordPress blog or website after a long time. What to do? No worries. Below are two simple methods to retrieve your password:

First Method 

1. Login into your cPanel and go to phpMyAdmin under Databases
2. Select your database (Your web host will help you can’t find your database)
3. Navigate to wp_users and click ‘Browse’
4. Go to your username and click ‘Edit’
5. Enter a new value (your new password) into user_pass
6. Choose MD5 from the drop-down menu that’s under Function
7. Click the Go button at the bottom to save your changes

Second Method
1. Go to “../wp-content/themes/active_theme/” using FTP & download the functions.php file.
2 Open the file using notepad or Dreamweaver and add the following code:
[cc]wp_set_password(‘DesiredNewPassword’, 1);[/cc]
3. Replace DesiredNewPassword with your new password. Number one (1) in the code is your user ID number in the wp_users table.
4. Save and upload functions.php
When you can log in to your website, eliminate the code (download functions.php, delete the code, and upload it back to your theme folder).