Jump to content

Domain lookup problem.


Beekingo

Recommended Posts

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?

Link to comment
Share on other sites

This is how the page configregistrars.php is loading:

 

Screenshot 2017-01-27 13.12.48.png

 

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.

Link to comment
Share on other sites

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

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