You need to log in before you can comment on or make changes to this bug.
(there are 30 bugs regarding errors in Chameleon, so if i could not find the existing bug i apologize ha, i tried) When an average user (yes a non-developer) supplies an invalid image path for a widget and sees the following cryptic message there is TROUBLE: Warning: imagesx(): supplied argument is not a valid Image resource in D:\ms4w\apps\chameleon\htdocs\widgets\TrueNorth\TrueNorth.widget.php on line 197 Warning: imagesy(): supplied argument is not a valid Image resource in D:\ms4w\apps\chameleon\htdocs\widgets\TrueNorth\TrueNorth.widget.php on line 198 Fatal error: [MapServer Error]: msCalculateScale(): Invalid image extent, minx=0.000000, miny=0.000000, maxx=0.000000, maxy=0.000000. in D:\ms4w\apps\chameleon\htdocs\widgets\TrueNorth\TrueNorth.widget.php on line 204
I just tried this with the latest cvs version of Chameleon by setting the truenorth image to an invalid value in the sample_enhanced.phtml template and I received no PHP errors and the following message through the Chameleon error handler: TrueNorthWidget: invalid or no image specified. I've modified it to read: * TrueNorth: invalid or no image specified. * TrueNorth: images/north_6_a.pngd cannot be found. which is a little more useful. I also tested with invalid URLs and invalid absolute paths and got the same Chameleon error messages. I'm assuming that I fixed this problem without seeing this bug, or forgot to update it's status.
i verify for relative and absolute paths. however when i try a valid URL i get an error through the Chameleon error handler: * TrueNorth: invalid or no image specified. * TrueNorth: http://192.168.2.206/chameleon/skins/default/images/north_6_b.png cannot be found. that URL displays the image when opened in a browser...is this a bug then?
that would be a new bug then :)