svn commit: r961 - trunk/mapbender/http/extensions/geom2wfst.php

astrid_emde at osgeo.org astrid_emde at osgeo.org
Mon Nov 27 06:51:21 EST 2006


Author: astrid_emde
Date: 2006-11-27 11:51:20+0000
New Revision: 961

Modified:
   trunk/mapbender/http/extensions/geom2wfst.php

Log:
error logging from previous checked in file got lost. How could that happen? I added the looging again.

Modified: trunk/mapbender/http/extensions/geom2wfst.php
Url: https://mapbender.osgeo.org/source/browse/mapbender/trunk/mapbender/http/extensions/geom2wfst.php?view=diff&rev=961&p1=trunk/mapbender/http/extensions/geom2wfst.php&p2=trunk/mapbender/http/extensions/geom2wfst.php&r1=960&r2=961
==============================================================================
--- trunk/mapbender/http/extensions/geom2wfst.php	(original)
+++ trunk/mapbender/http/extensions/geom2wfst.php	2006-11-27 11:51:20+0000
@@ -83,11 +83,14 @@
 	#echo "wfsWindow.document.getElementsByTagName('body')[0].innerHTML = '".addslashes($result)."';";
 	#echo "wfsWindow.document.close();";
 	echo $result;
+	$e = new mb_exception('WFS error at: host: '.$host.' port: '.$port.' filter: '.$_REQUEST["filter"].' - error message: '.$result);
+	echo $result;
 	echo "<script language='javascript'>";
 	echo "window.focus();";
 	echo "</script>";
 }
 else {
+	$e = new mb_exception('WFS successfull host: '.$host.' port: '.$port.' filter: '.$_REQUEST["filter"]);
 	echo "<script language='javascript'>";
 	echo "window.opener.alert('".$result."');\n";
 	echo "window.opener.focus();";




More information about the Mapbender_commits mailing list