PMA_getErrorUrl() function added to sql.lib.php