Third party: Template Override causing domainid mismatch

SoluteDNS for WHMCS v2.xx.xxx and lower
Post Reply
User avatar
Daniel
Support
Posts: 207
Joined: 02 Aug 2013, 17:50

Reported by: Guy

Third Party URL: http://www.whmcs.com/appstore/462/Templ ... rride.html
Bug report: http://track.solutedns.com/thebuggenie/ ... issues/178

---
Solution:

Disable the hook

or;

For people interested to still use the template override , free whmcs addon :

- https://github.com/steven-gohigher/TPL-Override
- http://www.whmcs.com/appstore/462/Templ ... rride.html

As it was not updated since 3 years, solution is:

In this file:

Code: Select all

 YOUR-WHMCS/modules/addons/tpl_override/classes/hook.php 
Change:

Code: Select all

 if ( version_compare( $version, '5.3', 'ge' ) ) { 
By this:

Code: Select all

 if ( version_compare( $version, 'YOUR-WHMCS-VERSION', 'ge' ) ) {
For me, YOUR-WHMCS-VERSION was 5.3.5 to type/use in place of older 5.3 there was before in this hook.php file

And you will have to update it at each whmcs version change!

Thanking Guy for this solution!
Post Reply