Menu

#16 Gauntlet Raw Text View can create undisplayable document.

open
Examples (2)
1
2004-10-19
2004-10-19
John Foerch
No

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.

Discussion

  • John Foerch

    John Foerch - 2004-10-20

    Logged In: YES
    user_id=983545

    Solution will be to use output buffering. See function
    ob_start in the php manual.

     
  • John Foerch

    John Foerch - 2004-10-20

    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.

     

Log in to post a comment.

Auth0 Logo