Posted on Leave a comment

How to Enable WordPress Error Logging for Debugging

Bugs happen. When they do, error reporting is needed to squash them. Here is how to turn it on.

Look for these line and/or add them to your WordPress wp-config.php file. This file is located in your WordPress home directory.

// Turn on Debugging
define('WP_DEBUG', TRUE); 

// Yes, log errors please
define( 'WP_DEBUG_LOG', TRUE );

// Let's not show errors on the page.
define( 'WP_DEBUG_DISPLAY', FALSE ); 

Now, when things go bad for WordPress, you can see why by visiting this file:

http://[your-website]/wp-content/debug.log

Now go a step further and turn on PHP Error Reporting. Add this snippet next.

// Turn on Error Reporting
ini_set("log_errors", TRUE);

// Report ALL issues, not just the really bad ones.
error_reporting (E_ALL);

// Let's not show errors on the page.
ini_set ('display_errors', FALSE);

This creates error logs in the folder that they’ve happened in. For WordPress theme and plugin issues, we generally are interested in this file:

http://[your-website]/wp-content/error_log

It’s important to point out that once the bugs are squashed, you probably should turn error reporting off. To do this, simply change each TRUE to FALSE.

Posted on Leave a comment

Protect Login Page

This is a simple plugin that protects access to your WordPress website’s login page by intercepting the page request and requiring that a PIN number, up to 8 digits, be present in the URL. Without the proper PIN, no login form is displayed, just a simple message. This plugin will make it harder for hackers to get into your website.

Once activated, you will access your login page like this…

http://yourwebsite.com/wp-login.php?PIN=[your PIN goes here]

IMPORTANT – DO NOT use this plugin if you require login access other than the main WordPress login page, such as the WordPress mobile app.

Installation

To install, simply upload the plugin zip file to your WordPress website and activate it. Configure the simple settings in the new menu that will appear in your Settings menu. Explanations of each feature accompany the inputs.

Frequently Asked Questions

Q: How do I log in once the PIN is set?

A: To log in, just add the PIN value to your WordPress login page URL, like so: http://mysite.com/wp-login.php?PIN=1234

Q: Do I have to add this PIN to the URL each time?

A: Yes, but if you set yourself a bookmark your life will be much easier.

Q: Why did you develop this plugin. Isn’t the login protection itself good enough.

A: Maybe, but I got tired of seeing all of the malicious login attempts in my server logs. I decided to come up with a way to stop this.

Q: What happens if I lose my PIN?

A: If you lose your PIN you will not be able to log into your website. Deactivate the plugin in the database (wp_options.eePLP_STATE = ‘OFF’) or rename the plugin’s folder in your files. You may also contact me for a rescue PIN.

DOWNLOAD HERE

Posted on Leave a comment

Move Your Etsy Store to a New System

Logo-1Had enough of selling on Etsy? Element Engage can help you migrate your Etsy Store to your own website. I’ve developed migration scripts that help make this daunting task go quickly.

I’ll move your Etsy store to a WordPress-based E-Commerce website. You’ll be able to manage your products, orders and complete website content all by yourself, and with much more flexibility and less restrictions.

Save money on listing and transaction fees. Let me migrate your Etsy store to your own website using your own domain name.

Contact Me to Learn More