HOW TO FIX WHMCS Blank Page error? [STEP BY STEP]☑️
Today in this WHMCS tutorial you will learn how to fix WHMCS Blank page error.
If at any time you encounter a blank or partially rendered page in your WHMCS installation, this indicates a fatal PHP error is occurring which stops the execution from being able to continue.
Watch this video covering the most common causes of these problems, how to identify them and methods for resolution.
Now let us know about its Typical Causes
Some of the most common causes of “Oops!”, partial, or empty page rendering include:
Missing or corrupted files / incomplete uploads
Server not meeting minimum system requirements
PHP, Apache or Ioncube related errors
Incompatible hooks or addons
Syntax errors in custom modules, hooks or templates
Enabling Error Reporting
1. Enabling From The Admin Area
If the admin area is functioning enough to allow you to navigate to General Settings follow these steps to enable error display. Then retry the steps that previously led to the blank or partially rendered page and further error information should be displayed.
Navigate to Setup and then General Settings
Go to Other tab and Tick the Display Errors checkbox located towards the bottom of the page
Click Save Changes
Remember to return here and uncheck Display Errors when you are finished troubleshooting. Leaving error display enabled can be a security concern.
2. Enabling From Your Configuration File
If the error is severe enough, you may find you are unable to login to the admin area. In those situations, there is a manual configuration file flag option that you can add to the configuration.php file in the WHMCS root directory to enable error reporting.
The lines needs to be added at the very end of the configuration.php file, right before the closing PHP tag. if your configuration.php file has one, otherwise just the last line in the file.
$display_errors = true;
After adding the lines and saving/uploading the file, retry the steps that previously led to the “Oops!”, blank, or partially rendered page and further error information should be displayed.
Again remember to return here and remove these lines when you are finished troubleshooting. Leaving error display enabled can be a security concern.
Hope this works for you in troubleshooting this most common error in WHMCS.
If you enjoyed this article, please consider following us on Facebook and Twitter.