Hello all,

I had finished my Web site with whois lookup module and everythings work fine in my localhost, but when I upload it on my Web Server it gave me a warning message - "warning: implode() [function.implode]: Invalid arguments passed in .../sites/all/modules/whois/whois.module on line 148" after searching a domain...

Regarding post /node/670986 I had change the code and the warning message disappeared but it hasn't got any search result, does anyone got this problem?

I am using HTMLized status only as my output method

Could anyone help me please

Little Druper

Comments

helmo’s picture

Have you tried the 6.x-1.x-dev version? It also includes the patch from #670986: PHP errors

Please try the basic output method to see if that returns some info.
Temporarily disabling the Dynamic lookup (AJAX) option can also help to track down problems.

Little Druper’s picture

helmo, Thank you for your help,

Now I changed to 6.x-1.x-dev version by Basic Output also disable Dynamic lookup and I got the message as following...

Whois lookup for abc.com:
Connect failed to: com.whois-servers.net

I also tried in my localhost, and it works fine...

Little Druper

Little Druper’s picture

Found out the post of node/317386 and may have its solution!

Thanks again!

helmo’s picture

Version: 6.x-1.3-beta1 » 6.x-1.3
Assigned: Little Druper » helmo
Status: Active » Fixed

So I should probably push out a 1.4 release...
I just committed a minor notice fix backported from the D7 branch. Any other things that should go into 1.4?

@Little Druper: to refer to another issue you can use the [#issue number] notation which turn into links automatically.

Little Druper’s picture

helmo,

I think it's good enough for release to 1.4, I've tried ver 6.x-1.x-dev like you said and also asking my host provider to allow port 43, and it worked smoothly even in AJAX mode. Is it the only way for doing it? Also I had added some code in "whois_domain_status.tpl.php" and made it pass domain search result to ubercart sql, but it was working in localhost before like whois lookup, but not on web server... got warning message like (user warning: UPDATE command denied to user)... finding out its solution... any hints? By the way, thanks again as you helped me so much!

Little Druper

helmo’s picture

about port 43, no some registeries only have http access. The phpwhois lib decides based on tld where to query.

about "UPDATE command denied to user", could that be a MySQL permission problem?

about ubercart, the usecase to integrate with ubercart seems interesting. Any chance you could write something about that when it's done? It might inspire others...

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

sadist’s picture

Created a new issue for intergrating with Ubercart: http://drupal.org/node/888854