How to fix “An automated WordPress update has failed to complete” Error

Wordpress-update-has-failed-to-complete-solution

Have you experiencing this kind of problem and really don’t know how you’re going to fix this. If yes, then we are the same but thanks to Google and found some solution.

Just to help you with this issue i am going  to show you how to fix this problem. Often times, this error was due to your server hiccuping; maybe the memory ran low for a minute, or some other minor issue. The worst part is that usually that message will get “stuck” there, even though you’ve successfully updated everything later!

So consider this steps to fix this error.

1. First thing you want to do is wait for 5-10 minutes.

Without getting into the techy details, there’s a timeout involved behind the scenes, so just wait a bit, then try again.

After doing this however many number of times is necessary to complete the updates you’ll probably still get the “An automated WordPress update has failed to complete – please attempt the update again now.” error message, and even though going to your updates page says there are no more updates, it still hangs out up top on your screen.

2. Fortunately, there’s a very simple fix, and it’s completely safe to do.

Open your FTP client, (or whatever other method you normally use to access the actual files where your WordPress is hosted), and look for a .maintenance file. The “.” (dot) in front of it means it’s a hidden file, so you may have to choose the option to view hidden files in your FTP client in order to see it.

maintenance

 

3. Delete it.

And that’s it. When you tried refreshing your wordpress site, the “An automated WordPress update has failed to complete – please attempt the update again now.” message will be gone.

(via geekdrop.com)

 

How to Fix Youtube Iframe that overlapped div or menus

I’ve been struggling this issue almost of the time when tried adding youtube iframe videos especially below the menus. This problem mostly seen on IE. You found it weird because it looks good on Firefox and Chrome but when checking to IE and urrrggghhhh, why the hell it overlapped the menus.

The solution to this issue is to have <param name="wmode" value="transparent" /> within the <object> tag. But as this is an YouTube video, and we are using iframe to embed the YouTube video, we can’t add <param name="wmode" value="transparent" /> to the code. So the perfect solution is, tried adding  ?wmode=transparent at the end of your youtube URL.

Example:

How to add a WordPress Demo Site

If you are converting an existing WordPress install then please disable all plugins and backup your database and files.

Step 1: Modify WP-Config.php

FTP to your website (for us it’s demo.rvamedia.com) and make a backup copy of wp-config.php in case something goes wrong. We usually make a copy and name the backups wp-config.php.bkup. Feel free to do the same or use your own naming convention.

Next, download wp-config.php found in the root of your WordPress install. Open the file in your favorite source code editor and look for the line /* That’s all, stop editing! Happy blogging. */ and add an empty line just before it.

Place this code into your file:
define('WP_ALLOW_MULTISITE', true);

Your file should look like the image below.
build wordpress test site

The line of code you added into wp-config.php instructs WordPress to enable the Network Administration panel and prep the network install process.

Now, save the file and upload it back to your website.

Step 2: Enable & Configure WordPress Networks

Go to the Admin dashboard and click on Tools -> Network Setup
wordpress test site

The next screen you see needs to be filled in carefully. As I mentioned at the beginning of this tutorial, we’re going to be creating a WordPress test site on a sub-domain using sub-directories.

Take a look at the image below to see that I selected “Sub-directories” and entered values for the “Network Title” and “Admin E-mail Address.”
wordpress test site

Once you have everything filled out, click on the “install” button.

Step 3: Enabling the Network

At this point WordPress works some magic under the covers and then presents you with a screen containing instructions informing you that the next steps involve editing your .htaccess file and your wp-config.php file once again. As suggested by WordPress, it’s always best to make a backup of your files before making the edits. The image below details the next steps to enabling the network on WordPress.

wordpress test site

To be clear, the code you add to your wp-config.php file will be placed immediately following the one line of code you entered in step 1 of this process.

Once you made your changes to .htaccess and wp-config.php you will need to save the files and upload them back to your web server. Next, you will need to log back into WordPress as they kick you out when making this change. At this point you should now see that you have successfully created a WordPress test site that’s perfect for theme developers showcasing their themes or for developers to build test sites for clients.

To confirm that everything worked as planned, your dashboard should now include “My Sites” in the two areas seen below in the image below.
wordpress my sites

 

source via www.rvamedia.com : How to Build a Test WordPress Site

How to fix the limit of adding menus to your wordpress site

You’ve just started creating lots of menu links to your site then suddenly, oooops! why the hell it didn’t save and the worst is you had an existing menus and adding a new one into the middle would removed your last menu. Sounds crazy right? Yeah, i knew you’re not alone, i happened experienced all of this things.

And so, i am digging into google search to find the most solutions and finally i found it worked. First thing first this error wasn’t due to your wordpress system that limit you for adding menus but it is with your server configuration. And to able to fix this problem, you need to find php.ini file on your web server and edit the following default value to your preference, I simply changed mine to 3000:

max_input_vars = 1000;
suhosin.post.max_vars = 1000;
suhosin.request.max_vars = 1000;

But wait, i went to my web server but why the heck i couldn’t find those php.ini file, sounds frustrating again, isn’t it? But no worries, i have an alternate solutions for that. Just create a new php.ini file and put those values stated above with the updated values on each and upload it to your /wp-admin root folder. And that’s it, try adding new menus and shouldn’t have limit now.

How to add custom widget to WordPress

Adding widgets to your wordpress site is very simple and super easy. Which means that you can now customize the display of widgets on your wordpress site. WordPress widgets enable users to simply drag and drop elements into their site, and in this simple tutorial i will show you how to simply add custom widgets

First, add this codes to functions.php

if (function_exists('register_sidebar')) {
register_sidebar(array(
'name' => 'Custom Widgets',
'id' => 'custom-widgets',
'description' => 'The Custom widgets for your website.',
'before_widget' => '<div id="%1$s" class="widget %2$s">',
'after_widget' => '</div>',
'before_title' => '<h2>',
'after_title' => '</h2>'
));
}

Second, add the codes below to which the area you want the widget to display (eg. header.php)

<?php if (!function_exists('dynamic_sidebar') || !dynamic_sidebar('Custom Widgets')) : 
endif; ?>

And that’s it, just navigate to your wordpress admin Appearance>>Widgets and you can see the Custom Widgets title on the dashboard.

Scroll To Top