Web Hosting Talk







View Full Version : Whois Search not working on OnlineNIC Template


PhilServ
11-25-2003, 03:56 AM
i noticed this problem several weeks ago, but customers are starting to complain. i submitted a support ticket and the only reply I got was “Please kindly note that we have forwarded your problem to the concerned Dept to check.” 3 days now and still no reply. :(

Anyone here using the onlinenic template with a similar problem? How did you solve this error?

Thanks,
Jon

PhilServ
11-26-2003, 11:03 AM
Ok got an email from onlinenic, here are the details


There may be a bug on our template 3.0 whois search. Would you please find your file of "/t3/common/func.inc.php"about in the 233 line, check out the function of "onlinenicWhois($domain)", then change the information of follows as it is requested:


unfortunately, after changing the said variables nothing happened and “Network Error” still appears after doing a whois search. If onlinenic know about this bug on their template, why not change or release an updated version? Oh well.. im waiting for their next reply..

PS: i am sure there are other onlinenic resellers here, do you have the same problem? Any solution? thanks

Jon

Ales
11-26-2003, 10:38 PM
The internic's whois URL has changed. Look in the file you've mentioned and change it from 'www.internic.net' to 'www-whois.internic.net'.

BTW, the template is supposed not to work on php above 4.3.1, according to OnlineNIC's support. That's incorrect as we were able to get it to work with php 4.3.3 with some help from another WHT member. A couple of very minor changes and it works.

It seems that this template is not an in-house creation but rather a 3rd party work done for OnlineNIC by someone. They themselves don't seem to be indepth with php ;)

Don't get me wrong, their support is great othervise and they try to help as much a possible on any domain issues we have, quickly and efficiently, which is seldom anyway.

PhilServ
11-27-2003, 09:50 AM
thanks for the help ales, unfortunately it does not work on my template, here are the current settings.


function onlinenicWhois($domain)
{
$host = "www-whois.internic.net";
$port = 80;
$url = "whois?whois_nic=${domain}&type=domain";

if(!($result = getHTML($host, $port, $url)) == -1) {
return -1;
}else {
if(!($start_position = strpos($result, "<pre>"))) {
return -2;
}else {
if(!($end_position = strpos($result, "</pre>"))) {
return -3;
}else {
$start_position += 5;
$result = substr($result, $start_position, $end_position - $start_position);

return $result;
}
}
}
}


i am now having some php error after using this and “Network Error” when i use the settings that onlineNIC emailed me.

BTW, the template is supposed not to work on php above 4.3.1, according to OnlineNIC's support. That's incorrect as we were able to get it to work with php 4.3.3 with some help from another WHT member. A couple of very minor changes and it works.

Ales can you show me the link to this thread? we are using PHP 4.3.4 and i think this is the reason for the error. yes i agree with you, onlineNIC support are great, but lacks when it comes to their template and other technical stuff, never had any other problem with onlineNIC either.

BTW: sorry about my poor english ;)

thanks,
Jonathan

Ales
11-28-2003, 05:59 AM
Ah, it seems that I didn't tell you everything that needs to be changed, sorry. I forgot there was more than the basic URL, as the path seems to be different too:

function onlinenicWhois($domain)
{
$host = "www-whois.internic.net";
$port = 80;
$url = "/cgi/whois?whois_nic=" . $domain . "&type=domain" ;

The rest of the function appears to be unchanged.

As to php > 4.3.1, we had to make changes to func.inc.php and also to adodb.inc.php. The adodb within the template is an ancient version...

This info is not in any thread on WHT because we discussed this with another WHT member trough PM. If you PM me your e-mail, I can send you the files and you can compare them with the originals.

About a month ago, I offered to OnlineNIC to give them the fixed files, but there was no reply :rolleyes: They did tell me that Template v4 is in the works and should be released soon.

Toeki
11-28-2003, 11:31 AM
About a month ago, I offered to OnlineNIC to give them the fixed files, but there was no reply They did tell me that Template v4 is in the works and should be released soon.

They told me that Template v4 would be released soon and that was about 4 months+ ago.
I guess soon could be a few years..:D

PhilServ
11-29-2003, 06:24 AM
Everything is working fine right now. Thank you very much for your help ales, I really appreciate it. :)

I just hope that they release the Template v4 early next year. they are already loosing some customers with all the bugs of their current template, but i do love the simplicity and especially the DIY-DNS stuff they are offering right now.

- Jonathan

esi
03-14-2004, 04:05 AM
why i can`t send pm:(???

esi
03-14-2004, 04:06 AM
i have same problem but i can`t send pm or email to ales!

esi
03-14-2004, 04:10 AM
please help me!

Bashar
03-14-2004, 04:22 AM
you should be able by now :D

Ales
03-15-2004, 03:08 PM
:)

Got the message... If anyone else needs the fixed files, let me know. I don't frequent these forums as much as I used to, so a PM or e-mail is your best bet.

In case anyone is wondering, the fixed template works fine with php 4.3.4.

Gary111
03-16-2004, 04:10 AM
this is a really helpful thread, you guys are great....Ales, you are really professional, thx so much...

tulip4heaven
08-12-2004, 07:56 AM
Sir


I want to add 2checkout in onlinenic template3.0 , can u help me

and 1 thing more whois cart supports onlinenic.


Thanx

rsbco
09-09-2004, 11:58 PM
Dear WebHosting Talk Member.

I have problem using T3 scince I moved to new server .

I asked onlinenic HelpDesk to solve the issue .
But they couldnt yet . :(

The problem is , on checking Domain statue I see Connect to server filed .

They asked me to chenge the value of helloevssseryone- (located on func.inc.php on line 216) to anything else .
The orginal of line 216 is :return "helloevssseryone-" . $rs->fields[0]; .
Then I change it to return "Dave" . $rs->fields[0]; .

But it didnt solve the issue i saw the perviouse messege & a new error message above the page . I saw on above of page :
"Warning: fsockopen(): unable to connect to www.onlinenic.com:20001"
"........./common/func.inc.php on line 275" .

After it I reopen the ticket & asked them gave me a directio . They said me to replace www.onlinenic.com to IP address ( 218.107.207.7).
But this direction couldnt solve the issue.
Then I asked a very good programer to help me & check it , we could trough onlinenice server by Command Telnet . but even we wanted check it on T3 , The connection feild .

I submited a new ticket & said them waht happend . They answerd , I wrote the "registration interface" wrongly. !:o .
Infact we didnt write any new interface . Now Iam waiting their answer .

Anybody knows how can I do to solve the problem ?:cartman:
May I know if anybody else have this problem too ?, because one of my friend have same problem .

dmaven
09-11-2004, 08:13 AM
Onlinenic's systems/software seem quite prone to bugs. Directi might be a good alternative.