Index: /trunk/src/inc/ErrorHandler.php
===================================================================
--- /trunk/src/inc/ErrorHandler.php	(revision 7787)
+++ /trunk/src/inc/ErrorHandler.php	(revision 7788)
@@ -30,5 +30,5 @@
  * Returns: true (Just so the internal PHP error handler is nog executed)
  */
-function NodeErrorHandler(int $errno, string $errstr, string $errfile, int $errline, array $errcontext) {
+function NodeErrorHandler($errno, $errstr, $errfile, $errline) {
 	switch ($errno) {
 		case E_ERROR:
@@ -80,3 +80,4 @@
 }
 
-set_exception_handler('NodeErrorHandler');
+set_error_handler('NodeErrorHandler');
+?>
Index: /trunk/src/inc/KMLFile.class.php
===================================================================
--- /trunk/src/inc/KMLFile.class.php	(revision 7787)
+++ /trunk/src/inc/KMLFile.class.php	(revision 7788)
@@ -297,4 +297,9 @@
 					$this->NetworkList->add($network);
 
+					// TODO: For this project we'll use random numbers.
+					// In a following project this can be adjusted 
+					$bandwithMax = rand(0, 200);
+					$bandwithUsage = rand(0, $bandwithMax);
+					
 					$data =	'
 						<Data name="netmaskDecimal">
@@ -336,4 +341,10 @@
 						<Data name="hosts">
 							<value>' . $network->numberHosts . '</value>
+						</Data>
+						<Data name="bandwidthMax">
+							<value>' . $bandwithMax . '</value>
+						</Data>
+						<Data name="bandwidthUsage">
+							<value>' . $bandwithUsage . '</value>
 						</Data>';
 
Index: /trunk/src/logfile.txt
===================================================================
--- /trunk/src/logfile.txt	(revision 7787)
+++ /trunk/src/logfile.txt	(revision 7788)
@@ -1,2 +1,0 @@
-Debug (8 | 2010/16/04 02:36:00): Reading from file "http://watch.wirelessleiden.nl/nagios/export/node-status.csv"
-	In file "D:\Werkplaats\NodeMap2.0\trunk\src\inc\FileHandler.class.php" on line "42"
