MapTools.org

[maplab-users] RE: Maplab-users digest, Vol 1 #176 - 11 msgs

Daniel Morissette morissette@dmsolutions.ca
Fri, 28 Mar 2003 07:07:11 -0500
Oldes Cokdu wrote:
> 
> tmp_map_path:           C:/Inetpub/wwwroot/tmp
> tmp_img_path:           C:/Inetpub/wwwroot/tmp
> tmp_web_img_path:               C:/Inetpub/wwwroot/tmp
> 
> temporary location webserver setup: http://localhost/tmp  --->
> C:/Inetpub/wwwroot/tmp (write enabled)
> 

tmp_web_img_path should be the URL pointing to the tmp directory
relative to the root of your web server, i.e.

 tmp_web_img_path:               /tmp

> and still I am getting  following errors in the browser...
> 
> >>>
> Warning: MapServer Error in msSaveImage(): (/tmp/ms_tmp/10488148464281.png)
> in C:\MyGis\maplab\htdocs\mapbrowser\map.php on line 697
> 


This is quite likely because the mapfile you are loading was not built
for your system, so it tries to write temporary images in a directory
that doesn't exist on your system.  Edit the WEB object in your mapfile
and set IMAGEPATH/IMAGEURL as follows:

 IMAGEPATH  "C:/Inetpub/wwwroot/tmp"
 IMAGEURL   "/tmp"

> 
> I wasn't sure where app_path should point to; C:/MyGis/maplab or
> C:/MyGis/maplab/htdocs ? That could possibly effect the class problem.
> However rest of the maplab seem to be accepting it.
> 

I leave that one to Paul.

-- 
------------------------------------------------------------
 Daniel Morissette               morissette@dmsolutions.ca
 DM Solutions Group              http://www.dmsolutions.ca/
------------------------------------------------------------


This archive was generated by Pipermail.