Forums
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length

Author Topic: WHMCS Module on PHP 7.2  (Read 2886 times)

0 Members and 1 Guest are viewing this topic.

Offline BlaZe

  • FraudRecord Member
  • *
  • Posts: 3
    • 2 Sync
WHMCS Module on PHP 7.2
« 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?

Offline harzem

  • Administrator
  • *****
  • Posts: 80
Re: WHMCS Module on PHP 7.2
« Reply #1 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.

Offline BlaZe

  • FraudRecord Member
  • *
  • Posts: 3
    • 2 Sync
Re: WHMCS Module on PHP 7.2
« Reply #2 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.

Offline undercovervixen

  • FraudRecord Member
  • *
  • Posts: 3
    • Enterprise Vps Solutions
Re: WHMCS Module on PHP 7.2
« Reply #3 on: July 16, 2019, 12:56:45 PM »
Should update the site to show the latest versions fraudrecord.com/integration/
Enterprise Vps Solutions (VPS) - Dedicated Servers - Cloud Solutions, Shared hosting , SSL and more, Like us on Facebook

 

August 24, 2019, 05:59:09 AM: Page created in 0.139 seconds with 20 queries by SMF