diff --git a/pandora_console/ChangeLog b/pandora_console/ChangeLog index cdd0f3e6ef..531c3453b1 100644 --- a/pandora_console/ChangeLog +++ b/pandora_console/ChangeLog @@ -1,3 +1,10 @@ +2009-12-05 Raul Mateos + + * install.php: Modified description for XML_RPC. + + * extensions/pdate_manager/lib/libupdate_manager_client.php: + Format error page if XML_PRC not found. + 2009-12-05 Raul Mateos * images/pandora.png, pandora_logo.jpg: Deleted old files. diff --git a/pandora_console/extensions/update_manager/lib/libupdate_manager_client.php b/pandora_console/extensions/update_manager/lib/libupdate_manager_client.php index b32fec3138..e8535528ea 100644 --- a/pandora_console/extensions/update_manager/lib/libupdate_manager_client.php +++ b/pandora_console/extensions/update_manager/lib/libupdate_manager_client.php @@ -15,7 +15,42 @@ $prev_level = error_reporting (0); if ((include_once ('XML/RPC.php')) != 1) - die ('

PEAR::XML_RPC not found. Please install it with:

pear install XML_RPC

'); + die (' + + + +Pandora FMS - The Flexible Monitoring System - Console error + + + + + + + + + + + + +
+
+
+

PEAR::XML_RPC not found

+
+ +
+
+ ERROR: PEAR::XML_RPC not found +

+ Please install it from command line with: +

sudo pear install XML_RPC
+

+
+
+
+ + +'); error_reporting ($prev_level); unset ($prev_level); diff --git a/pandora_console/install.php b/pandora_console/install.php index c61bfe2437..9b5dbe883b 100644 --- a/pandora_console/install.php +++ b/pandora_console/install.php @@ -240,7 +240,7 @@ function install_step2() { $res += check_extension("gettext","PHP gettext extension"); $res += check_include("PEAR.php","PEAR PHP Library"); $res += check_include("DB.php","PEAR:DB PHP Library"); - $res += check_include("XML/RPC.php","PEAR XML/RPC.php PHP Library"); + $res += check_include("XML/RPC.php","PEAR::XML_RPC PHP Library"); $res += check_exists ("/usr/bin/twopi","Graphviz Binary"); echo "