X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/4c2c499860d631b746e0db10a5b2ff9cd279c241..00a3e843e3fb4a6fc735a019cdf7a3e38558cad6:/lib/lib.php diff --git a/lib/lib.php b/lib/lib.php index 8a1fb902..a4e4aa6c 100644 --- a/lib/lib.php +++ b/lib/lib.php @@ -1,66 +1,144 @@
Nominatim has encountered an internal error while processing your request. This is most likely because of a bug in the software.
'; + echo "Details: ".$sError,"
"; + echo 'Feel free to report the bug in the OSM bug database. Please include the error message above and the URL you used.
'; + if (CONST_Debug) + { + echo "".$sSQL."
";
+ }
+ if ($vDumpVar)
+ {
+ echo "";
+ var_dump($vDumpVar);
+ echo "
";
+ }
+ }
+ echo "\n