I found some great material on how to profile the WordPress core using the
wp-cli, but nothing on how to install the profile plugin…
wp package install https://github.com/wp-cli/profile-command.git
Then you can profile your site following the excellent guide written by the maintainer of the wp-cli:
This tag group hopefully will be a collection of tips to make a secure WordPress installation, using the best practices that I have seen over the years of using PHP web applications.
Hopefully, this will be a helpful resource to the online community.
[FATAL] Configuration variable date.timezone is not set, guessed timezone America/Chicago. Please set date.timezone="America/Chicago" in php.ini!
If you set that in your
php.ini and are still getting that error, it’s likely getting thrown from you cronjob, which is calling the cli version of PHP. Make sure you add
Didn’t set up Mailgun in your Ghost blog, and lost your password? Hmm. A little bit of fancy-footwork, and we can be back up and running in no time.
You’ll need to reset the password in the SQLite DB by manually inserting a new hash into the DB.
- Get access to your DB from the console, or through a gui tool if you have it.
- If you are going through the console, CD to your ghost webroot, (the DB is under
content/data/) and then type:
- Generate a temporary BCrypt hash (Find a generator online. I used this one: https://passwordhashing.com/BCrypt)
- Or just use this hash which is for “password”:
UPDATE users SET password='<<PASTE_HASH_HERE>>' WHERE email = '<<YOUR_EMAIL_ADDRESS>>'
.exit to exit sqlite3
- Log into your blog, and change your password to something secure.
- Set up an email service at Mailgun as detailed here: http://docs.ghost.org/mail/
There are a lot of posts in the SugarCRM forums and on Google about getting better search results in SugarCRM by adding the MySQL wildcard operator in the front and back of the search query. As of late last year, an un-announced feature popped up to enable this functionality without having to hack the
Now, simply add the following to your config_override.php:
'search_wildcard_infront' => true,
(Just as a note, the search wildcard is always added to the end of a search)