Scroll to bottom of page and click any point on the chart!
Installation & Help videos at the bottom of this page.
Install this on your WordPress site to catch errors and decrease page load times! After installing on a WooCommerce WordPress site – I discovered a number of errors in the WooCommerce plugin as well as some of their extensions. After fixing them – pages loaded about 2 seconds faster!
Install Log Server
- Upload the file and directory to your server.
- Setup a database.
- Edit the config file and run the error_logger/install.php file.
- Send them to the Error Logger Server
- Send them to multiple email address (can be filtered by error type)
- print them on the screen (great for debugging on the spot)
- send them to a local error log file
Invoke on ANY & ALL your domains
Upload the “error_catcher.php” file and add the following bit of code to any PHP page (or a global file) to invoke Error Logger and start logging errors. You can upload this single file and paste this snippet of code on as many domains as you want – All domains will send the errors to your Error Logger Server – so you can check all errors from one convenient location!!
$ErrorLogger = new ErrorLogger();
// Log methods
$ErrorLogger->set_local_file(TRUE, dirname(__FILE__) . '/path/to/dir/');
$ErrorLogger->set_remote_server(TRUE, array('server'=>'http://your_server.com/error_log_server/server.php', 'psk'=>'Y0uR_P5k'));
array('email' => 'firstname.lastname@example.org'), //will be emailed EVERY error set by enable_error above (line 7)
array('email' => 'email@example.com', 'type'=>array('Fatal', 'Warning')), //will only be email when Fatal or Warning
'any string you want',
This has only been tested on a Linux server – not yet tested on a *AMP (home server).
Error & Event Logger was built using my Database Code Generator script. My Randomator Database Stuffit Generator generated over 100,000 errors for stress and performance testing. I used my Code Repository Snippet Manager script to reduce development time! And My PHP Version Finder says this script requires PHP 5.2 or higher