Jump to content

WHMCS is not working with PHP 5.5.x and ionCube 4.5.0


Scolpy

Recommended Posts

Sorry to dig up and old thread but I have got into a little pickle.

We have just upgraded our ver of WHMCS to 6.22 and then done a health check and got the message about upgrading the ver of PHP, so we upgraded that and are now running PHP 5.6.18 but when we try to edit a product we get the following error:

 

Fatal error: The file /home/XXXXXXXX/public_html/whmcs/modules/servers/dotnetpanel/dotnetpanel.php was encoded by the ionCube Encoder for PHP 4 and cannot run under PHP 5.5 or PHP 5.6. Please ask the provider of the script to provide a version encoded with the ionCube Encoder for either PHP 5.3 or PHP 5.4 or PHP 5.5. in Unknown on line 0

 

I have raised a ticket but they normally takes ages to get looked at nowadays so thought I would see if there was any solution to this I have not seen in the forums.

 

As always thank you in advance.

Link to comment
Share on other sites

  • Replies 55
  • Created
  • Last Reply

Top Posters In This Topic

Usually what happens is that most hosts only run the 4.x ionCube because I believe its the default that is installed when they set up the server. The problem is because its not a "hot" topic they don't usually update it which causes issues when running scripts that are built for more recent versions of ionCube.

 

What I always did was just get the download of the ionCube files from ionCube website and install the ionCube into a folder in my domain root. Then using the php.ini file you can redirect the ionCube to read from your folder rather than the default server folder.

 

Hope that helps.

 

ps. go ahead and install all the ionCube files so that you have the legacy versions as well. This way if you have older scripts they will still run.

Link to comment
Share on other sites

We got a reply telling us to change the server type from dotnetpanel to websitepanel but we don't use these we use cpanel, so im still none the wiser.

I have got something to go on though, we had an module that was written for us some years ago (we don't use it anymore) and one product had this as the module, so we have changed that to none and recompiling back to php 5.6 to see how that works.

Sorry if I am rambling but someone else may have this issue a stumble on this thread and it may help them.

Link to comment
Share on other sites

OK got a work around, the solution was to remove the module files from the disk (rename the dir wonr work you have to remove it!), so something was referencing the old module, but that was the fix with the idea that we keep hold of the old module files somewhere safe so we have a roll back just in case.

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.


×
×
  • 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