Jump to content

php 7 upgrading issue in whmcs


rahulkg

Recommended Posts

We are using php version 5.6.x version in our whmcs 7.6.0 . When upgrading to php 7 or even higher, we find many errors with third party modules and even whmcs files. When go to utilities->system->php version compatibility , under Incompatible encoding we see the following files

sailors/admin/accessdenied.php
sailors/admin/addonmodules.php
sailors/admin/affiliates.php
sailors/admin/billableitems.php
sailors/admin/browser.php
 

 and many others. Why these files not get updated after our whmcs 7.6 upgrdation . We see the version 7.6.0 in whmcs side and whmcs support told us " when you see the version name on whmcs admin side, it indicates our upgradation was successful"  How to get rid of this problem or how can we make these files compatible to php higher versions. Also there is a third party registrar centralnic  and its file too come under this incompatibility encoding. As this third party regisstrar-centralnic ceased its development they told they can't provide further help in this matter.

We see a message "These files cannot be decoded by ionCube Loader for the specified PHP version. If you wish to use this PHP version, you will need to contact the original vendor and acquire a version encoded with compatibility for your desired PHP target version." above the files displayed under Incompatible Encoding heading too there. How can we get rid of this issue . or How can we fix the encoding incompatibility. please provide a reply asap.

php-incompatibility.JPG

 

php-incompatibility-2.JPG

Edited by rahulkg
Link to comment
Share on other sites

33 minutes ago, rahulkg said:

We see the version 7.6.0 in whmcs side and whmcs support told us " when you see the version name on whmcs admin side, it indicates our upgradation was successful" 

i'd prefer to think of it as "Completed" rather than "Successful"... i've had installations complete their upgrades but still have corrupt/missing files causing errors.

34 minutes ago, rahulkg said:

How to get rid of this problem or how can we make these files compatible to php higher versions.

get the full v7.6.0 download zip file and overwrite the files listed with their equivalent from the zip.

35 minutes ago, rahulkg said:

Also there is a third party registrar centralnic  and its file too come under this incompatibility encoding.

I could never get that addon to work properly - but if it works for you, then you'll probably have to stick with 5.6 if it's a dead project...

45 minutes ago, rahulkg said:

As this third party regisstrar-centralnic ceased its development they told they can't provide further help in this matter. 

which is fair enough - you'd need to see if CentralNIC ever updated the module.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • 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