Summary: | [Chameleon-Core]No message when loading a map file wIth the "IMAGETYPE" set to an unavailable type | ||
---|---|---|---|
Product: | Chameleon | Reporter: | Normand Savard <nsavard@mapgears.com> |
Component: | Core | Assignee: | chameleon-dev <chameleon-dev@lists.maptools.org> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | P2 | ||
Version: | 1.99 | ||
Target Milestone: | 1.99 beta 4 | ||
Hardware: | PC | ||
OS: | Linux | ||
Whiteboard: |
Changed target to 1.99 RC 1.
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?
actually now that I read this closer, you will only see a broken image instead of a message.
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.
Paul you are right I configured my php.ini to log errors. I will try without this option.
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.