MapTools.org

[maplab-users] Invalid file name

Paul Spencer spencer@dmsolutions.ca
Wed, 05 Nov 2003 22:19:21 -0500
Rene,

the only thing that looks even slightly amiss is the file_browser_root 
doesn't have c: at the beginning, but I doubt that is a problem.

My first guess is permissions but you indicated that you checked them. 
Can you ensure that the tutorial map file is readable by the user that 
IIS runs as.

Cheers,

Paul

Rene Teniere wrote:

> Whenever I try to open a .map file in MapEdit I get the following
> error:
> 
> Invalid file name (//maplab21rc3/tutorial//tutorial.map). File don't
> exist in open_map request. in /maplab/htdocs/mapedit/action.phtml
> 
> I also cannot create a .map file. This is for MapEdit only, MapBrowser
> will open the .map file without any problems. I have checked my file
> permissions and I think everything is OK. I was running MapLab
> previously and it worked fine until my sys admin re-formatted my HD and
> I had to load everything on again. Am I missing something? Here are my
> specs:
> 
> Win2k
> IIS v5
> MapServer v4.0.1
> PHP v4.3.3
> MapLab v2.1 RC3
> 
> Here is my selected maplab.xml:
> 
>         <param-name>app_path</param-name>
>         <param-value>c:/maplab21rc3/</param-value>
> 
>         <param-name>file_browser_root</param-name>
>         <param-value>/</param-value>
> 
>         <param-name>allow_browsing</param-name>
>         <param-value>true</param-value>
> 
>         <param-name>convert_old_files</param-name>
>         <param-value>true</param-value>
> 
>         <param-name>group_name</param-name>
>         <param-value>users</param-value>
> 
>         <param-name>new_file_permission</param-name>
>         <param-value>0664</param-value>
> 
>         <param-name>mapscript_module</param-name>
>         <param-value>php_mapscript_4.0.1.dll</param-value>
> 
>         <param-name>log_path</param-name>
>         <param-value>/tmp/</param-value>
> 
>         <param-name>log_level</param-name>
>         <param-value>LOG_ALL</param-value>
> 
>         <param-name>tmp_map_path</param-name>
>         <param-value>/tmp/ms_tmp/</param-value>
> 
>         <param-name>tmp_img_path</param-name>
>         <param-value>/tmp/ms_tmp/</param-value>
> 
>         <param-name>tmp_web_img_path</param-name>
>         <param-value>/tmp/ms_tmp/</param-value>
> 
>         <param-name>image_type</param-name>
>         <param-value>PNG</param-value>
> 
>         <param-name>rosa_file</param-name>
>         <param-value>rosa/rosa.jar</param-value>
> 
>         <param-name>default_navigation_mode</param-name>
>         <param-value>ROSA</param-value>
> 
>         <param-name>execution_mode</param-name>
>         <param-value>2</param-value>
> 
>         <param-name>demo_path</param-name>
>         <param-value></param-value>
> 
>         <param-name>allow_config</param-name>
>         <param-value>TRUE</param-value>
> 
>         <param-name>version</param-name>
>         <param-value>2.1-rc3</param-value>
> 
>         <param-name>installed_packages</param-name>
>         <param-value>|MapEdit |MapBrowser |GMapFactory</param-value>
> 
>         <param-name>build_date</param-name>
>         <param-value>Mon Oct 27 15:52:41 EST 2003</param-value>
> 
> 
> Rene J.R. Teniere - BSc., D.GIS
> GIS Technician
> Department of Natural Resources
> Forestry Division (GIS) - Truro
> 
> Phone: (902) 893-5655
> Mobile: (902) 209-8956
> _______________________________________________
> Maplab-users mailing list
> Maplab-users@lists.maptools.org
> http://lists.maptools.org/mailman/listinfo/maplab-users
> 

-- 
  -----------------------------------------------------------------
|Paul Spencer                           spencer@dmsolutions.ca    |
|-----------------------------------------------------------------|
|Applications & Software Development                              |
|DM Solutions Group Inc                 http://www.dmsolutions.ca/|
  -----------------------------------------------------------------




This archive was generated by Pipermail.