The file /path/to/whmcs/includes/clientfunctions.php is corrupted.
The file /path/to/whmcs/includes/invoicefunctions.php is corrupted.
The file /path/to/whmcs/includes/gatewayfunctions.php is corrupted.
The file /path/to/whmcs/includes/ticketfunctions.php is corrupted.
The file /path/to/whmcs/includes/TwoFactorAuthentication.php is corrupted.
The majority of the WHMCS PHP files are encoded using a system called Ioncube which hides the software's source code and prevents them from being modified directly. If these files are edited in any way, they cannot be decoded by your server back into the original PHP code, so are considerred corrupted and an error message displayed.
To resolve this file corruption error:
- Download a fresh copy of the WHMCS full release files from http://download.whmcs.com or from your licence reseller
- Extract the files(s) which are showing the corrupted error message.
- Upload file files to your server, overwriting the existing file.
Should the problem occurr again even after uploading a fresh copy of a file; compare the corrupted file on your server against the file downloaded from our website. Look for any differences between the files, then contact your server administrator or hosting provider to investigate why the file(s) were changed after being uploaded.