[Chameleon] Enigmatic Warning Messages
Jeff McKenna
jmckenna at dmsolutions.ca
Fri Nov 12 19:06:25 EST 2004
Hi Jennifer,
Well I'm not exactly a developer either ha, but I have a couple
questions. Did you install the same versions of MS4W and Chameleon that
your application was running on? just curious as to what versions you
are using. Also, do the Chameleon sample applications work? e.g.
http://127.0.0.1/chameleon/samples/sample_other.phtml (contains a
TrueNorth widget)
jeff
Jennifer Zeisloft wrote:
> Hello All,
>
> I'm not certain whether this is a Chameleon issue or a MapServer
> issue, but it seems like something to resolve with the Chameleon
> files...
>
> I am getting the error messages:
>
> Warning: imagesx(): supplied argument is not a valid Image resource in
> C:\ms4w\apps\chameleon\htdocs\widgets\TrueNorth\TrueNorth.widget.php
> on line 196
>
> Warning: imagesy(): supplied argument is not a valid Image resource in
> C:\ms4w\apps\chameleon\htdocs\widgets\TrueNorth\TrueNorth.widget.php
> on line 197
>
> Fatal error: [MapServer Error]: msCalculateScale(): Invalid image
> extent, minx=0.000000, miny=0.000000, maxx=0.000000, maxy=0.000000. in
> C:\ms4w\apps\chameleon\htdocs\widgets\TrueNorth\TrueNorth.widget.php
> on line 203
>
>
> I am not (by any means) a programmer, and I haven't been able to
> determine from where these errors stem. I tried commenting out the
> TrueNorth widget section in the Chameleon html template file, but
> received the same errors.
>
> Everything was working well until I tried to add my Chameleon and
> MapServer files to another computer (both my home computer and the new
> computer are set up with ms4w) and began getting these errors. I
> compared the file setup to that of my home computer and couldn't see
> anything different that I thought could cause these errors. Out of
> curiousity, I uninstalled ms4w and Chameleon on my home computer and
> reinstalled them to see what would happen - and now I am getting the
> same errors at home.
>
> Does anyone have a suggestion as to how to resolve this issue? I
> thank you in advance for any advice you can offer!
>
> Jennifer Zeisloft
> (Sea Grant - UW-Madison)
> _______________________________________________
> Chameleon mailing list
> Chameleon at lists.maptools.org
> http://lists.maptools.org/mailman/listinfo/chameleon
>
--
Jeff McKenna
GIS Specialist
DM Solutions Group Inc.
http://www.dmsolutions.ca
More information about the Chameleon
mailing list