Howto: Check detailed error from Zen Cart

Today found out one of the customer’s Zen Cart apps getting blank page and there’s no error found from Apache error_log.

To understand the detailed error generated from Zen Cart, you may use the built in debugging tool by Zen Cart.

1. Go to the cache folder from your Zen Cart.
2. Find the file named ‘myDebug-xxxxx.log’ file as xxxxx is the numbers.

Now, you may troubleshoot the problem from Zen Cart.

Show Detailed Error when Moodle show blank page

One of the customer is facing blank page when they are using Moodle application but they can’t find a way to show the error from Apache error_log.

After search around from the Internet, it is found out Moodle used their custom PHP ini_set function to define the PHP value.

In order to show the detailed error which got from Moodle, simply add the following code to the config.php file.

ini_set ('display_errors', 'on');
ini_set ('log_errors', 'on');
ini_set ('display_startup_errors', 'on');
ini_set ('error_reporting', E_ALL);

Now, browse to your page again and you should see the detailed error by now.