[fixed] Update to WordPress 4.4 – SERVER ERROR 500

It seems that the recent WordPress 4.4 update got error when you update your script automatically.

When the WordPress updated, you will get blank page, and get the message:


And it is simple to fix this problem,

just open your site with another browser, then you will get the following page:

wordpress update 4.4 error

Database Update Required

WordPress has been updated! Before we send you on your way, we have to update your database to the newest version.

The database update process may take a little while, so please be patient.

Just click the button and your site will be back!

Update Complete

Your WordPress database has been successfully updated!


Best Way to Download Instagram Images/Photos

A lot people asking dobeweb.com on how to download images from Instagram.com,  if you search on Google, you may find a lot ways to download the beautiful images.

  1.  Use the third websites.

    Just like Instaport.me www.instagrabbr.com etc

  2. Snapshot.

    This is a fast way to download.

  3. Save the web page!

    This is the fastest and simplest way to save images from Instagram.
    Open the page you want to save, (I.E, firefox, chrome etc );
    Right click your mouse;

    how to save images from instagram
    how to save images from instagram

    Choose “Save page as”;
    Choose “Webpage, complete”

    save images from instagram.com
    save images from instagram.com

    Choose the place where you want to save, click save.
    Then you will find the original images in the saved folder.

    Saved all images from instagram
    Saved all images from instagram


Fix WordPress “You do not have sufficient permissions to access this page”

If you use Nginx and meet this problem with some WordPress plugin tab error “You do not have sufficient permissions to access this page”, please read this post, it’s easy to solve.

You need to edit the WordPress core file:

Go –> wp-admin –> options-general.php

Open options-general.php, add the following code before the <php

<base href="/wp-admin/options-general.php" />

Refresh your page.

[fix] Sendmail Can’t Send Mail!

If your Centos server/VPS can’t send mails, please read this post.

  1. Reinstall the sendmail
    yum install sendmail
  2. Restart php-fpm
    /etc/init.d/php-fpm restart
  3. Test sendmail work properly or not
    /etc/init.d/sendmail status
    Commands you may use
    /etc/init.d/sendmail start
    /etc/init.d/sendmail stop
    /etc/init.d/sendmail restart
  4. edit php.ini
    vi /usr/local/php/etc/php.ini
    You may find the default code:
    ;sendmail_path =
    Press “i” to edit the code
    sendmail_path = /usr/sbin/sendmail -t -i
    Press “ESC” then put “:wq” quit and save.
  5. Restart php-fpm/etc/init.d/php-fpm restart


Fix! WordPress “Could not create directory”

Sometimes when we install the WordPress themes or WordPress plugins we may failed, just because there are some small problems with the server settings. If you meet the following error, just read this post to find the solutions.

Downloading install package from http://downloads.wordpress.org/plugin/zip.
Unpacking the package.
Installing the plugin.
Could not create directory.
Plugin Install Failed.

There are two main reasons, the folder write permission and the folder with different owner.

  1. Folder Permission

    Change permissions on the /wp-content directory to 0775

    if not work Change permissions on the /wp-content directory to 0777.

    uploading the plugin manually via FTP

  2. Ownership

    If you using Linux VPS or Hosting, you can change the folders owner.
    Usually, change the root or some other owners to www

    Use putty to login your site, change the ownership.

    Command: chown [-cfhvR] [–help] [–version] user[:group] file…

    change the wp-content‘s owner from root to www

    chown -R www:root wp-content

Wordpress Could not create directory dobeweb
WordPress Could not create directory


By the way, if you want to install the theme or plugins automatically,  you can add the folowing code in the wp-config.php

define('FS_METHOD', 'direct');

Just like this:

wordpress install theme plugin automatically dobewebThen save!

There is no need to add your FTP info.

wordpress ftp username password

WordPress Responsive Captions & Images

More and more people using mobile and pad to surfer the internet these days, for most of the websites, 60-80% visitors using mobile now, so make your site responsive is accessory.

For some of the “old” WordPress themes, they’re responsive, but the images you insert with captions don’t behave responsive, I have found some solutions, but most of them are not easy to use, here is a simple way to make your images with captions responsive.

WordPress responsive images with captions

What you do is just change some of the file style.css

Make the caption responsive:
#content .wp-caption {
background: 1px #F9F9F9;
border: 1px solid #DDD;
box-shadow: 2px 2px 3px #888;
-moz-box-shadow: 2px 2px 3px #888;
-webkit-box-shadow: 2px 2px 3px #888;
line-height: 18px;
margin-bottom: 20px;
padding: 4px;
text-align: center;
color: #333;

Make the images in the post responsive:

.entry-content img {max-width: 96%; height:auto;}


 WordPress image captions responsive
WordPress responsive image captions

WordPress – Remove Malware Backdoor Code

Removing a string in a PHP file with Start and End
I found my WordPress sites were infected by an exploit and and I’m trying to clean the codes, all php files on the server were added a line like this:

at the beginning of it :

<?php if(!isset($GLOBALS[“\x61\156\x75\156\x61”]))  and ends with -1; ?>.
These codes were added at the begin of all the php files.

Yes, your website was hacked! I searched for a long time, and finally find the solution!

You can follow this guide. You can copy the code and run on your server.

If the code can’t work, and get the error like this:

/bin/sh^M: bad interpreter: No such file or directory

you need to change the code from DOS to UNIX with the tool UltraEdit


Or you can download the code here directly. remove_malware

Finally, I removed all the hacked codes.

In order to make sure you have removed all the codes, you can use this tool – Web Shell Detector.

Web Shell Detector – is a php script that helps you find and identify php/cgi(perl)/asp/aspx shells. Web Shell Detector has a “web shells” signature database that helps to identify “web shell” up to 99%.

You can download it here – Web Shell Detector.