Beekingo Posted January 27, 2017 Share Posted January 27, 2017 Hello! The domain lookup is not working on my install. The loading wheel keeps spinning and nothing happens. If i enter into configure domains pages i cant change or configure the lookup provider. Any button i click i got this message "An error occurred while communicating with the server. Please try again." I test disabling firewall and nothing happens. Any help? 0 Quote Link to comment Share on other sites More sharing options...
Beekingo Posted January 27, 2017 Author Share Posted January 27, 2017 This is how the page configregistrars.php is loading: No error on modules log. - - - Updated - - - I enabled show errors and now i can see this on that page: Fatal error: The file /home/public_html/whmcs/includes/whoisfunctions.php was encoded by the ionCube Encoder for PHP 5.3 and cannot run under PHP 7.0. Please ask the provider of the script to provide a version encoded with the ionCube Encoder for PHP 5.6. in Unknown on line 0 Módulo Checking my install files now. This is strange because my site are using the auto update function. 0 Quote Link to comment Share on other sites More sharing options...
brian! Posted January 27, 2017 Share Posted January 27, 2017 auto-update doesn't delete the old files, you likely have old v6 files still on the server... https://forum.whmcs.com/showthread.php?119950-Setup-gt-Products-gt-Domain-Registrars-broken-with-php-7 0 Quote Link to comment Share on other sites More sharing options...
Beekingo Posted January 27, 2017 Author Share Posted January 27, 2017 Looks like my install have many vintage files that are giving error. I need to clean up. 0 Quote Link to comment Share on other sites More sharing options...
weelow Posted January 28, 2017 Share Posted January 28, 2017 First you need to check that the API is working, you do this by checking the activity log after conducting a domain search. you will usually find 3 log entries per search, and they will have values returned from your domain registrar in that case enom. Read the values returned, if there is no errors in it, then it is simply your php file is not able to read the returned values properly. I had a similar problem and a simple url rewrite rule fixed my problem. <outboundRules> <rule name="sdf" preCondition="PHPRequest"> <match serverVariable="RESPONSE_CONTENT_TYPE" pattern="^text/html; charset=utf-8,(.+)"/> <action type="Rewrite" value="{R:1}"/> </rule> <preConditions> <preCondition name="PHPRequest"> <add input="{REQUEST_URI}" pattern=".*\.php"/> </preCondition> </preConditions> </outboundRules> I hope it works for you, I have been around this problem for days until this solution solved my problem. - - - Updated - - - I forgot to say that if the API is not working you need to contact enom support and make sure they white list the IP address of your server, so that you can send and receive API without any problem from their end. http://docs.whmcs.com/Enom 0 Quote Link to comment Share on other sites More sharing options...
Beekingo Posted January 30, 2017 Author Share Posted January 30, 2017 Thanks you all, the problem was legacy files on my install having problem with ioncube loader. 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.