How to fix error “Unknown collation: utf8mb4_unicode_ci”

How to fix error “Unknown collation: utf8mb4_unicode_ci”
I am having the same problem with my shared hosting server, which is using an older version of PHP. The upgrade to 4.2 apparently went fine for sites already hosted, but importing a db with utf8mb4 doesn’t work. I tried downgrading my version of WP to 4.0 and upgrading the database (which I thought would revert the charset) but it didn’t work. Manually replacing didn’t work either. Update MySQL version from 5.1 ...
 

Woocommerce update order status timeout?

I have created a plugin which displays all orders in a nice format for a bakery using Flexigrid. The display works just fine. The problem is that I have a button at the end of each order row that will allow the shop manager to update an order status. All this is in the admin panel. The problem is the time it takes for the code to work. When I update an order status on the Woocommerce orders page, the status ...

Woocommerce Redirect User Login to Homepage

I have searched for the answer to this, used plugins and still nothing works. I would like users of my site to be redirected to the home page after they login/register. Currently, the user logs in and is redirected to the my account page. Woocommerce provides this code, but it failed to work for me: [codesyntax lang="php" title="redirect"] /* * goes in theme functions.php or a custom plugin * * By default login goes to my account **/ add_filter('woocommerce_login_widget_redirect', 'custom_login_redirect'); function custom_login_redirect( $redirect_to ...

How to Increase Load Page Speed-Up WordPress?

How to Increase Load Page Speed-Up WordPress?
It’s quite clear. Everyone hates slow websites. The question is, how can you make your WordPress website faster? Keep reading and I’ll show you how you can take proactive steps towards speeding up your site. 1.Minimize the number of HTTP requests Translation: Limit the number of files required to display your website When someone visits your website, the corresponding files must be sent to that person’s browser. This includes CSS ...

How to Enable 2-Step Authentication for WordPress

How to Enable 2-Step Authentication for WordPress
The Google Authenticator WordPress security plugin is a very easy to configure WordPress security plugin that allows you to enable 2 step verification (two-factor authentication) on your WordPress blog or website to improve WordPress security. In this WordPress plugin review and security tutorial we will show you how enable and configure the Google Authenticator plugin to strengthen the login of your WordPress blog or website. The Google Authenticator application only works on iOS, Android, Windows Phone, webOS, PalmOS, and BlackBerry devices. ...

How to show password fields on User Edit WordPress

How to show password fields on User Edit WordPress
I have install few wordpress plugin to test but i find out that i can not create an user name because in registration form not show Password filed to complete register requestment. I want to show hidden password fields on registration form. I found that these fields are already present in /wp-admin/user-edit.php. [codesyntax lang="php" title="user-edit.php"] <?php /** * Edit user administration panel. * * @package WordPress * @subpackage Administration */ /** WordPress ...

How to show password fields on registration WordPress

How to show password fields on registration WordPress
I have install few wordpress plugin to test but i find out that i can not create an user name because in registration form not show Password filed to complete register requestment. I want to show hidden password fields on registration form. I found that these fields are already present in /wp-admin/user-new.php. [codesyntax lang="php" title="user-new.php"] <?php if ( apply_filters('show_password_fields', true) ) : ?> <tr class="form-field form-required"> <th scope="row"><label ...

How to custom Menu Account Woocommerce

How to custom Menu Account Woocommerce
WooCommerce does not offer signup, sign-in and sign-out pages that are required on several eCommerce or subscription sites. Instead there is a “my account” page that contains option for registration and login. 1. The first thing you’d need to do is go to WooCommerce → Settings and put a check-mark on following fields: My Account 2. Then go to Apprearance → Menu → Edit menu tab. Under edit menu tab click create a menu. Now give some name to the ...

How to Automatic Backup Database on Openshift

How to Automatic Backup Database on Openshift
Cron is UNIX/Linux service or daemon to execute scheduled commands according to instruction in a file. It uses a daemon, crond, which runs constantly in the background and checks every minute/ hour/ day/ week/ month or an year (based on the configuration) to see if any of the scheduled jobs need to be executed; if so, it executes them. These jobs are generally referred to as cron jobs....

How to remove Log files Openshift via CronTab?

How to remove Log files Openshift via CronTab?
Today when i tried to push my code, I got the "error: file write error (Disk quota exceeded)" message. I was wondering how it could happen. Then i logged in via shell and checked the disk usage, then i found that the log folder is using more than 950 MB Disk. Found all the access/error log from the day of creation of the app in php-5.3/logs. Wondering why don't open shift has the "Log rotation service" ....