Hostbill Integration Manual

8
3.3.3 Debugging issues
In some cases the module integration might not work at once. Step-by-step debugging of the
module might be required to locate the actual cause in the PHP code.
HostBill has error_reporting turned off by default, so on critical error it will render blank page. If
you will stumble upon any issues you can enable error reporting by editing your file:
/includes/config.php
by adding/editing line:
$enable_debug=true;
you can also do this by inserting in the code (somewhere at the start of the script):
error_reporting(E_ALL); ini_set('display_errors',1);
Usually this is enough, but in some cases it is required to add debug lines of code to produce an
error, for example by using die(); until something useful appeared on the screen.