Gauntlet Raw Text View can create undisplayable document.
Brought to you by:
retroj
When the "Output as text" checkbox is checked in
Gauntlet, some configurations will produce documents
that cannot be displayed by Mozilla, and probably other
browsers.
For instance, this simple config string:
<jjfmapper>
<output format="png"/>
<projection lat="45" lon="-85" padding="4*"/>
<layer z="-1"
format="background"
color="green"/>
</jjfmapper>
Produces a png file whose raw content Mozilla does not
want to display. The specific error message, en
Espańol, is:
La imagen http://www.example.com/gauntlet/index.php
no puede mostrarse porque contiene errores.
Logged In: YES
user_id=983545
Solution will be to use output buffering. See function
ob_start in the php manual.
Logged In: YES
user_id=983545
My diagnosis was incorrect. This seems to be a server
setting that causes this error. The server is treating the
content as type image/png, when it is in fact an html
document with some garbage characters. Perhaps a document
header is needed in index.php of Gauntlet.