WordPress Automatic updates fails or not working – Fix

With WordPress 3.7, the WP team has rolled out WordPress automatic updates. This automatic update feature upgrades your WP installation automatically without any user intervention.

And you don’t have to lift a finger to apply maintenance and security updates. Most sites are now able to automatically apply these updates in the background.

But my WordPress Automatic updates is always failing ?

But some of the WP installations are not so blessed and WordPress automatic updates will fail for them and you will be bombarded with the following message.

This site is not able to apply these updates automatically. But we’ll email you when there is a new security release.

 Fix for you

1. Download your wp-config.php

2. Add the following lines to the bottom of your wp-config.php using any text editor

3. Now replace

YOUR_FTP_USERNAME with your FTP username

YOUR_FTP_PASSWORD with your FTP password

YOUR_FTP_HOST with your FTP host address(like yourdomain.com or IP address like 123.456.789.999)

4. Make sure that you enter the FTP details in between the two single quote(‘) or else it will result in an error.

5. Now upload it back

6. WordPress Automatic update problem solved 🙂

Don’t forget to leave your comment if you need any help or if the above tip fails.

Image Courtesy: Stuart Miles

WordPress Local Backup Plugins – The Bucket List

Wordpress Local Backup

Backing up your WordPress site is one of the most important tasks that you should add to your site housekeeping list 🙂

Given below are some of the plugins that I’m using now(or used in the past). Some of the other local backup WordPress plugin(s) were removed from the list due to inefficiency, lack of features, security holes and also because those plugin(s) were not updated for long..

Online Backup for WordPress

This plugin provides protection for WordPress sites and their data.

Unlike other plugins, Online Backup for WordPress can even encrypt your backup data to keep it secure while it is downloaded, emailed, and even while it is stored.

The plugin can backup your site’s database (containing settings, pages, posts and comments) as well as its filesystem (containing media, attachments, themes and plugins) to any one of three places:

  1. A folder on your server
  2. Your email inbox
  3. Backup Technology’s secure data centres with 100 MB free online storage space

Backup

Backup is a plugin that provides backup capabilities for WordPress. Backups are zip archives of created locally and uploaded to a folder of your choosing on Google Drive.

Features

  • Schedule automatic backups.
  • Back up the database.
  • Back up files and directories.
  • Fine grained control over what gets backed up.
  • Store backups locally and/or on Google Drive.
  • Interrupted uploads to Google Drive automatically resume.
  • Get email notifications when something goes wrong.
  • The settings page interface uses standard WordPress elements to fit right in.
  • Extensive contextual help included.
  • Advanced options are provided to control the inner workings of the plugin.

BackWPup – WordPress Backup Plugin

This plugin can be used to save your complete installation including /wp-content/ and push them to an external Backup Service, like Dropbox, S3, FTP and many more, see list below. With a single backup .zip file you are able to easily restore an installation.

Features

  • Database Backup (needs mysqli)
  • WordPress XML Export
  • Generate a file with installed plugins
  • Optimize Database
  • Check and repair Database
  • File backup
  • Backups in zip, tar, tar.gz, tar.bz2 format (needs gz, bz2, ZipArchive)
  • Store backup to directory
  • Store backup to FTP server (needs ftp)
  • Store backup to Dropbox (needs curl)
  • Store backup to S3 services (needs curl)
  • Store backup to Microsoft Azure (Blob) (needs PHP 5.3.2, curl)
  • Store backup to RackSpaceCloud (needs PHP 5.3.2, curl)
  • Store backup to SugarSync (needs curl)
  • Send logs and backups by email
  • Multi-site support only as network admin

XCloner – Backup and Restore

XCloner is a Backup and Restore component designed for PHP/Mysql websites, it can work as a native plugin for WordPress and Joomla!.

XCloner design was specifically created to Generate custom backups of any LAMP website through custom admin inputs, and to be able to Restore the clone on any other location with the help of the automatic Restore script we provide, independent from the main package!

XCloner Backup tool uses Open Source standards like TAR and Mysql formats so you can rest assured your backups can be restored in a variety of ways, giving you more flexibility and full control.

WordPress Sidebar, Widgets, Admin Bar not showing – Fix

WordPress

If the sidebar, widgets, admin bars or any other items in the WordPress admin menu is not loading in your WP install when compared to some another, then here is the fix:

  1. Edit your wp-config.php found in the root directory of your WordPress installation.
  2. Add the following line just before the closing of wp-config.php 
  3. Save the changes
  4. Logout and Login again to the WordPress admin

The problem will be fixed by now 🙂

More info: zend.ze1_compatibility_mode

The only two WordPress SMTP Plugins that you ever need

job hunting

If you want to implement e-mail sending functionality in your WordPress site without any reliability issues or without the nuisance of mails going to the user’s Spam/Junk folder, it’s recommended to use SMTP instead of the default WP mailing function(which uses the default PHP mail function) .

I would recommend you to use SMTP even if you are only having a simple contact form and you love dependability.

Here are the two most recommended plugins that I’ve used and in the order of my preference:

WP Mail SMTP

This plugin reconfigures the wp_mail() function to use SMTP instead of mail() and creates an options page that allows you to specify various options.

You can set the following options:

  • Specify the from name and email address for outgoing email.
  • Choose to send mail by SMTP or PHP’s mail() function.
  • Specify an SMTP host (defaults to localhost).
  • Specify an SMTP port (defaults to 25).
  • Choose SSL / TLS encryption (not the same as STARTTLS).
  • Choose to use SMTP authentication or not (defaults to not).
  • Specify an SMTP username and password.

Configure SMTP

Use this plugin to customize the SMTP mailing system used by default by WordPress to handle outgoing e-mails. It offers you the ability to specify:

  • SMTP host name
  • SMTP port number
  • If SMTPAuth (authentication) should be used.
  • SMTP username
  • SMTP password
  • If the SMTP connection needs to occur over ssl or tls
Regardless of whether SMTP is enabled, the plugin provides you the ability to define the name and e-mail of the ‘From:’ field for all outgoing e-mails.