Jump to content

Unable to load any WHMCS page using the ioncube header


Recommended Posts

I really haven't any idea the best way to explain what I'm experience. But basically any page that was installed with WHMCS, for example register.php, index.php, clientarea.php will not load, they just hang until there's a timeout on the request.

 

I've checked that PHP in general is working properly, that the correct IonCube loader is installed, tried multiple PHP versions(5.5, 5.6, 7.0) and still no change. What's even more, whenever I restart the Easy Apache webserver from WHM, I'm able to connect to the /admin panel. However, if I try to load one of the pages that use the Ioncube header within WHMCS scripts than it completely breaks WHMCS, and I'm unable to load any PHP page. It would seem from the digging I've done that it has something to do with this piece of code within the Ioncube header -

 

while($__i--){
   if($__rd[$__i]=='/'){
       $__lp=substr($__rd,0,$__i).$__ln;

       if(file_exists($__oid.$__lp)){
           $__ln=$__lp;
           break;

       }

   }
}

 

That would probably be causing the never ending loading. There's nothing even in error logs, so I'm really desperate for some help right now.

Link to comment
Share on other sites

Yes I've done both of those things. The files were replaced because I did a manual upgrade from 6.1 to 7. The loaders were removed and then reinstalled manually. And since the code is encoded as per the license agreement, I can't just debug the issue myself :/

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