Index: trunk/ippMonitor/raw/getimage.php
===================================================================
--- trunk/ippMonitor/raw/getimage.php	(revision 41730)
+++ trunk/ippMonitor/raw/getimage.php	(revision 43071)
@@ -96,5 +96,15 @@
 /* --site=$SITE */
 $output = array();
-exec ("ipp_filename.pl --site=$SITE --basename $basename --filerule $filerule --camera $camera --class_id $class_id 2> /tmp/errors", $output, $status);
+//exec ("ipp_filename.pl --site=$SITE --basename $basename --filerule $filerule --camera $camera --class_id $class_id 2> /tmp/errors", $output, $status);
+exec ("ipp_filename.pl --site=$SITE --basename $basename --filerule $filerule --camera $camera --class_id $class_id 2>&1", $output, $status);
+
+if ($debug) {
+  echo "DEBUG  3.5<br>";
+  for ($i = 0; $i < count($output); $i++) {
+    echo "output x $i: $output[$i]<br>";
+  }
+  echo "status xx:   $status<br>";
+
+}
 
 # use these to check the environment
