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 1657 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.

 

December 11, 2018, 06:09:16 PM: Page created in 0.106 seconds with 21 queries by SMF