gravel Posted October 5, 2017 Share Posted October 5, 2017 When I try to access mysite.com/admin/modulequeue.php I get an error that says "Oops Something went wrong and we couldn't process your request..." When I turn on PHP debugging, I get the output below. What do I need to do to get things working again? I'm running PHP 7.0.x, Zend 3.0.0 with ionCube loader enabled. Quote Whoops\Exception\ErrorException: The file /home/username/public_html/installdirectory/modules/registrars/dottk/dottk.php was encoded by the ionCube Encoder for PHP 5.3 and cannot run under PHP 7.0.24 with Please ask the provider of the script to provide a version encoded with the ionCube Encoder for PHP 5.6. in Unknown:0 Stack trace: #0 /home/username/public_html/installdirectory/vendor/whmcs/whmcs-foundation/lib/Utility/Error/Run.php(0): WHMCS\Utility\Error\Run->handleError(16, 'The file /home/...', 'Unknown', 0) #1 [internal function]: WHMCS\Utility\Error\Run->handleShutdown() #2 {main} 0 Quote Link to comment Share on other sites More sharing options...
WHMCS Product Manager WHMCS John Posted October 6, 2017 WHMCS Product Manager Share Posted October 6, 2017 Hi, The /modules/registrars/dottk/dottk.php file which is causing this error was discontinued in version 7.1. So the file can be safely deleted to resolve this error. 0 Quote Link to comment Share on other sites More sharing options...
gravel Posted October 6, 2017 Author Share Posted October 6, 2017 Thank you! I was going to try removing it but wasn't sure what else it would effect. 0 Quote Link to comment Share on other sites More sharing options...
twhiting9275 Posted October 7, 2017 Share Posted October 7, 2017 This is another case of where WHMCS should be cleaning up after itself. I realize this is kind of hard to do, but it shouldn't be terribly hard to put some sort of if check into the upgrade script, something like if (file_exists($whmcspath//registrars/dottk/dottk.php) { die("You should consider removing the following old files, as your installation will break if you don't"); } Just saying, this would save a lot of hassle for everyone 1 Quote Link to comment Share on other sites More sharing options...
markjwilliamson Posted October 21, 2017 Share Posted October 21, 2017 Many thanks for the solution John, I was also struggling with the cause of this Oops error whenever I tried to access the Setup Addon Modules or the Module Queue After removing the file that you suggested I still kept getting the error but showing different files so I removed these files one at a time until the error stopped. If it helps anyone else, the files I had to remove/rename were; /modules/registrars/dottk/dottk.php /modules/registrars/netregistry/netregistry.php /modules/addons/enomnewtlds/enomnewtlds.php /modules/addons/ssl/ssl.php /modules/addons/remotesupport/remotesupport.php /modules/servers/enomtruste/enomtruste.php /modules/servers/ensimx/ensimx.php /modules/servers/fluidvm/fluidvm.php /modules/servers/plesk10/plesk10.php /modules/servers/plesk9/plesk9.php /modules/servers/plesk8/plesk8.php /modules/servers/pleskreseller/pleskreseller.php -Mark. 0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.