MapTools.org

[maplab-users] another maplab-2.0rc3 problem

Paul Spencer pgs@magma.ca
Thu, 05 Sep 2002 10:51:29 -0400
Scott, I have just isolated a problem with some maplab code that could 
possibly have caused this problem.  Look for an email about a new rc3 
dev version and hopefully it will fix this problem

Paul

Tweedy, Scott wrote:
> I'm having a similar type problem with the preview using Windows NT,
> MapScript 3.6, and MapLab2.0 rc3.  The preview window seems to open OK, but
> the map face is blank.  If I open a web page with the .map file or open the
> .map file in an older version of MapLab everything is fine.
> 
> Thanks,
> st
> 
> -----Original Message-----
> From: woodbri@swoodbridge.com [mailto:woodbri@swoodbridge.com]
> Sent: Wednesday, September 04, 2002 9:46 PM
> To: maplab-users
> Subject: [maplab-users] another maplab-2.0rc3 problem
> 
> 
> After install and last email, I created a simple mapfile, saved it, 
> then went to preview and got:
> 
> Warning: MapServer Error in loadReferenceMap(): No image defined for 
> the reference map. in
> /home/httpd/html/maplab-2.0rc3/htdocs/common/wrapper/map_session.php 
> on line 274
> 
> Fatal error: Failed to open map file 
> /home/httpd/html/web2/tmp//3d7687a5dbbce.map in
> /home/httpd/html/maplab-2.0rc3/htdocs/common/wrapper/map_session.php 
> on line 274
> 
> ls -l /home/httpd/html/web2/tmp
> -rw-r--r--    1 nobody   nobody        823 Sep  4 21:25 
> 3d7687a5dbbce.map
> 
> is the problem the "//" in the path above? If so, you need to deal 
> with that in the code. Sometimes you require the trailing slash 
> sometimes not. The user should not have to worry about this, just 
> make the code robust.
> 
> I often do not want a legend and in fact set the reference object to 
> status off. I went back and deleted the reference object from the 
> mapfile and the preview worked. So I don't get why that is because I 
> didn't change anything else!!!! (ie: why did the 2nd error go away?)
> 
> -Steve
> _______________________________________________
> Maplab-users mailing list
> Maplab-users@dmsolutions.ca
> http://lists.dmsolutions.ca/mailman/listinfo/maplab-users
> _______________________________________________
> Maplab-users mailing list
> Maplab-users@dmsolutions.ca
> http://lists.dmsolutions.ca/mailman/listinfo/maplab-users
> 


-- 
Paul Spencer
Applications and Software Development
DM Solutions Group



This archive was generated by Pipermail.