FraudRecord Forums

General Discussions => FraudRecord Technical Support => Topic started by: BlaZe on June 16, 2018, 09:21:23 AM

Title: WHMCS Module on PHP 7.2
Post by: BlaZe on June 16, 2018, 09:21:23 AM
We recently upgraded to PHP 7.2 and the FR module is throwing errors now.

Switched back to PHP 5.6 and it works well but not on PHP 7.2

The following is the error we are getting on the FR page: (whmcs.example.com/addonmodules.php?module=fraudrecord)

BadFunctionCallException: mysql_free_result is not supported in /home/xxx/public_html/whmcs.example.com/includes/dbcompatfunctions.php:0
Stack trace:
#0 /home/xxx/public_html/whmcs.example.com/modules/addons/fraudrecord/fraudrecord.php(510): mysql_free_result(Object(PDOStatement))
#1 /home/xxx/public_html/whmcs.example.com/admin/addonmodules.php(0): fraudrecord_output(Array)
#2 {main}

Anyway to fix it?
Title: Re: WHMCS Module on PHP 7.2
Post by: harzem on June 16, 2018, 09:32:09 AM
You are using the old addon. We have upgraded the addon to work with 7.2 back in 2016. Try downloading the recent module and upload to modules/addons directory.

Do NOT upload to the modules/fraud directory because that's not the correct place for an addon.
Title: Re: WHMCS Module on PHP 7.2
Post by: BlaZe on June 16, 2018, 09:43:25 AM
Its working now. Thanks.

I had downloaded the new files in Dec 2017 but never uploaded. Thought I had.

Thanks a million Harzem.
Title: Re: WHMCS Module on PHP 7.2
Post by: undercovervixen on July 16, 2019, 12:56:45 PM
Should update the site to show the latest versions fraudrecord.com/integration/
Title: Re: WHMCS Module on PHP 7.2
Post by: whmcsservices on December 10, 2019, 07:19:58 PM
Yes plus a new version of the module