The latest version uses PHP 5, which has been out for several years now. However, you are probably still using PHP 4.
You can either upgrade to PHP 5 (or move to a host that supports PHP 5) or you can disable the support for PHP5 exceptions (see below).
To disable exceptions, you will need to modify two files.
In whois.php, replace:
PHP Code:
try
{
$EP_Dev_Whois = new EP_Dev_Whois();
$EP_Dev_Whois->navigate($_REQUEST['page']);
}
catch(Exception $e)
{
// prefer to catch exceptions yourself?-- Uncomment the line below:
// throw $e;
}
With
PHP Code:
$EP_Dev_Whois = new EP_Dev_Whois();
$EP_Dev_Whois->navigate($_REQUEST['page']);
In global.php, replace:
PHP Code:
throw new Exception($error);
With:
Instead of throwing an exception that can be caught and handled by the script, the PHP execution will simply die with the error (this is how it worked in versions prior to 2.3x). However, PHP 5 has been out for a while now and you may be better served by upgrading PHP if you host yourself or ask your host / move to a host that supports PHP 5.