[Chameleon] Drawmap.php
Eric Bridger
eric at gomoos.org
Thu Sep 30 09:26:01 EDT 2004
I am seeing the same error message in Apache log using the latest
version (actually from Sept. 23). But only when using the LayerManager2
widget.Using the July 7 version all works fine. All works fine in my
application except for LayerManager2, which I believe utilizes the
LegendTemplate widget, so that makes sense.
Eric
On Wed, 2004-09-29 at 20:59, Jacob Delfos wrote:
> Paul,
>
> Can you tell me what exactly has been changed in drawmap.php? I'm having a few problems with the latest file (modified Sept 30th). It appears the mapimage takes on the size of the querymap. I tested this, and changing the querymap size in my mapfile does in fact change the size of the mapimage. Is it supposed to work like that? Also, the new drawmap file doesn't seem to take in the nWidth and nHeight GET variables from the URL. I used to be able to pass them in, which is handy for changing imagesize on the fly. Also, my legend images do not appear, because it cannot seem to find the template file (see below), even if I use an absolute URL. Does it look in a different place? If I replace the drawmap.php file with the one from June 7th, it all works well again.
>
> This is what my PHP log file says if I use the latest version of drawmap:
>
> [30-Sep-2004 08:41:51] PHP Warning: [MapServer Error]: generateLegendTemplate(): Error while opening template file.
> in C:\chameleon\epra\htdocs\widgets\LegendTemplate\LegendTemplate.widget.php on line 503
> [30-Sep-2004 08:41:51] PHP Warning: [MapServer Error]: msInsertHashTable: Invalid hash table or key
> in C:\chameleon\epra\htdocs\widgets\LegendTemplate\LegendTemplate.widget.php on line 503
> [30-Sep-2004 08:41:51] PHP Warning: [MapServer Error]: msInsertHashTable: Invalid hash table or key
> in C:\chameleon\epra\htdocs\widgets\LegendTemplate\LegendTemplate.widget.php on line 503
> [30-Sep-2004 08:41:51] PHP Warning: [MapServer Error]: msInsertHashTable: Invalid hash table or key
> in C:\chameleon\epra\htdocs\widgets\LegendTemplate\LegendTemplate.widget.php on line 503
> [30-Sep-2004 08:41:51] PHP Warning: [MapServer Error]: msInsertHashTable: Invalid hash table or key
>
> regards,
>
> Jacob
>
>
> JACOB DELFOS
> SPATIAL INFORMATION ANALYST
> Maunsell Australia Pty Ltd
> 629 Newcastle Street
> PO Box 81
> Leederville 6902
> Western Australia
> ABN 20 093 846 925
>
> Tel + 61 8 9281 6185
> Fax + 61 8 9281 6297
> jacob.delfos at maunsell.com
> ----
>
> _______________________________________________
> Chameleon mailing list
> Chameleon at lists.maptools.org
> http://lists.maptools.org/mailman/listinfo/chameleon
More information about the Chameleon
mailing list