Jump to content

Setup > Products > Domain Registrars broken with php 7


xyzulu

Recommended Posts

===========DESCRIPTION===========

 

WHMCS 7.0.1 php 7

Everything works fine with php 5.6, but on php 7 the page admin/configregistrars.php doesn't display correctly and is essentially unusable.

 

=========STEPS TO REPLICATE=========

 

Using php 7 and WHMCS 7.0.1 with only the TPP Wholesale registrar plugin enabled

 

Login to admin

On the setup menu, select Products > Domain Registrars

This page doesn't load correctly and is essentially unusable.

 

Loading any domain details results in a 500 error under php 7, ie ... admin/clientsdomains.php?userid=27643&domainid=39435

 

=======ADDITIONAL INFORMATION======

Screenshot: Screen Shot 2016-10-19 at 1.23.59 pm.png

 

Could it be that the TPP Wholesale registrar plugin WHMCS ships is not php 7 compatible? Anyone else replicate this?

 

PS I have opened a bug report already, but I have no idea how long before that is looked at.

Link to comment
Share on other sites

I've resolved this (with some help from support).

 

It seems that if you follow the directions to upgrade to WHMCS v7 using the full "overwrite files" method, in order for php 7 support to work correctly at least the following files need to be removed:

 

../includes/whoisservers.php

../includes/whoisfunctions.php

 

as they are left overs from 6.3.x that will cause 7.0.x to fail under php 7 on certain pages.

 

Enabling php display errors help to determine this.

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated