PDA

View Full Version : Error on whois



gnolasco
05-15-2005, 01:06 PM
Hi..
I get the following error when clicking "Check Availability" if the domain field is empty...


Fatal error: Call to a member function on a non-object in /home/webandde/public_html/host/whois/classes/display.php on line 252

Thanks

Patrick
05-15-2005, 06:58 PM
PHP 4 is driving me crazy ;).

This is a bug, and here is the fix for it:

Open global.php:
Find:

$this->LOG->reloadCore($this);

And below it add:

$this->ERROR->reloadCore($this);

That should take care of your problem.

park
06-23-2005, 02:46 AM
Hi

I have added that line as you said, but seems not working when visitor put blank on serach box.

I am usnig PHP4.3.10, CentOS 3.5

Thanks for your great scripts

Park

Patrick
06-23-2005, 09:00 PM
First:

Are you using the latest version? What version number are you using (according to update page of admin panel)?

Second:

Could you post the error?

Third:

Do you have a URL (or message me if you do not want it public)?