Bug 747 - [Chameleon-Core]No message when loading a map file wIth the "IMAGETYPE" set to an unavailable type
: [Chameleon-Core]No message when loading a map file wIth the "IMAGETYPE" set t...
Status: RESOLVED FIXED
: Chameleon
Core
: 1.99
: PC Linux
: P2 normal
: 1.99 beta 4
Assigned To:
:
:
:
:
:
  Show dependency treegraph
 
Reported: 2004-10-21 15:08 by
Modified: 2004-12-02 21:27 (History)


Attachments


Note

You need to log in before you can comment on or make changes to this bug.


Description From 2004-10-21 15:08:16
When the "IMAGETYPE" parameter is set to an unavailable value (e.g. GIF), the
map is not loaded and no message is displayed.  To see the message a user need
to check the Apache log file.

CVS 20041021
Fedora Core 2
------- Comment #1 From 2004-10-21 15:28:29 -------
Changed target to 1.99 RC 1.
------- Comment #2 From 2004-10-22 09:17:22 -------
only if you've chosen to log errors instead of display them :>

looking into this now.  I suspect that the MapSession is failing to open the map
file and the error is not being trapped.  Not sure if we can do much about this,
but perhaps a warning can be displayed to the user?
------- Comment #3 From 2004-10-22 09:55:32 -------
actually now that I read this closer, you will only see a broken image instead
of a message.
------- Comment #4 From 2004-10-22 10:19:38 -------
I have added code to drawmap.php to return an image containing an error message
under several potential errors, including this one.  In particular, it will now
tell you that mapserver likely doesn't support the imagetype you have chosen and
to contact the administrator.

fix is to drawmap.php in cvs.
------- Comment #5 From 2004-10-22 10:25:59 -------
Paul you are right I configured my php.ini to log errors.  I will try without
this option.
------- Comment #6 From 2004-10-22 10:44:14 -------
I checked in the "php.ini" file and my settings as the following:

display_errors = On
display_startup_errors = On
log_errors = On

Anyway I"check this bug fixed with the new beta package.