dpkg: error processing package mariadb-server (–configure):
dependency problems – leaving unconfigured
Processing triggers for libc-bin (2.23-0ubuntu7) …
No apport report written because the error message indicates its a followup error from a previous failure.
Errors were encountered while processing:
E: Sub-process /usr/bin/dpkg returned an error code (1)
2017-07-15 16:15:35,896 (INFO) ee : Oops Something went wrong!!
2017-07-15 16:15:35,896 (ERROR) ee : Check logs for reason `tail /var/log/ee/ee.log` & Try Again!!!
Sometimes we make mistake in git commit message, especially spelling mistake. Even though I think twice before pressing the enter key after I write the commit message, I made spelling mistake twice or thrice. That’s my bad actually and I accept it.
So let’s start changing old commit message from GitHub. One thing you need to note that this will edit your commit message from the particular branch only.
Step 1: Open terminal or ( cmd for windows user ) and go to the particular repository.
Step 2: run command git log
Step 3: Choose a commit message which you want to change and count on which position that commit message is. Let’s say it is on 6th position.
Step 4: run git rebase -i HEAD~7
by running this message you will get output something like this:
pick 0856faf Message 1
pick 7ef84df Message 2
pick 55930c2 Message 3
pick 9bf24e0 Message 4
pick 412fc71 Message 5
pick 483f8b6 Message 6
pick c101979 Message 7
# Rebase 0c6220f..c101979 onto 0c6220f (7 command(s))
# p, pick = use commit
# r, reword = use commit, but edit the commit message
# e, edit = use commit, but stop for amending
# s, squash = use commit, but meld into previous commit
# f, fixup = like "squash", but discard this commit's log message
# x, exec = run command (the rest of the line) using shell
# d, drop = remove commit
# These lines can be re-ordered; they are executed from top to bottom.
# If you remove a line here THAT COMMIT WILL BE LOST.
# However, if you remove everything, the rebase will be aborted.
# Note that empty commits are commented out
Note: HEAD~7 because we want to edit 6th commit message. For a safe side, we add one more message.
Step 5: Change command pick to reword , as we only want to change the commit message. Like as shown below and exit ( ctrl+X )
WP-CLI is a set of command-line tools for managing WordPress installations. You can update plugins, configure multisite installs and much more, without using a web browser.
So I am going to tell you short, simple and easy way that how to use wp-cli on windows system.
Step 1: Create folder named “bin” at location “C:\Users\USERNAME\bin”.
Step 2: Download wp-cli.phar and put this file into “bin” folder ( created in step 1 ).
Now let’s go to next step. Yehh!!!!! still some steps are remaining. So now we will create a bat file for wp command.
Don’t know to create bat file ? Don’t worry it’s ok if you don’t know something… See this for how to create bat file.
Step 3: After creating that file rename it to “wp.bat” add the following code into that file.
php "%BIN_TARGET%" %*
Step 4: Now go to Control Panel -> System -> Advanced System settings ( left sidebar ) and click on “Environment variables” and then chosse “PATH” from user variables and click edit.
Step 5: Now add two paths into Variable values at value. 1st is PHP path ( where your php is installed. ). In my case it’s ;D:\xamp\php and2ndis your wp-cli path ( we created in step 1 ) which is ;C:\Users\bunty\bin.
Now we will check if it works or not. But before this you need to restart your PC and follow next steps.
Open cmd ( hopping that you all have different method to open it… ) and go to “C:\Users\USERNAME\bin” location by the following command:
and after that run following command
php wp-cli.phar --info
Hope you will get output something like this:
Awwwww…!!!!!! feels good right….!!!!!!!
Feeeeewwww…!!!!!!! this is too much right..?!!!! But cooool, you did it. Yes, you have completed the installation now. the only thing is need rightnow is just test it. To check and see whether WP-CLI is set up properly, execute the following line on the command prompt:
And you will get same result as step 2 like this:
Finally it is done. Now you can use wp-cli commands. Now in cmd, just go to root of your WP installation and run following command:
wp plugin install bbpress --activate
And tell me what happens…..? I am not gonna tell you..!!!!! You tell me…..!!!!!!!