MapTools.org

[maplab-users] problem with creating and saving new map files

Philipp Jacob philipp.jacob@geosysnet.de
Fri, 10 Jan 2003 14:00:31 +0100
Hello,

i'm running suse 8.1 and maplab2.0rc3 with mapserver 3.6.4.
when trying to create a new map file or saving a modified map file with 
'save as map file' i get an error, that the file can't be created.
the path for the file is named 
'/srv/www/htdocs/maplab///projects/world/world.map'

the problem is quite obvious, the three slashes..
one of those is caused by a leading slash in the 'save as' dialog box 
when i browse through the directories, which should not be there.
but whithout this, there is still one slash too much. where does this 
come from?

i appended my maplab.xml.
could someone help me with my problem?


-------------------------------
<app-context>
    <context-param>
        <param-name>app_path</param-name>
        <param-value>/srv/www/htdocs/maplab</param-value>
        <description>Absolute path to MapLab installation 
directory.</description>
    </context-param>

    <context-param>
        <param-name>file_browser_root</param-name>
        <param-value>/srv/www/htdocs/maplab</param-value>
        <description>Absolute path to the root directory for the file 
browser dialog.  This will be the highest directory a user can browse to 
in the file browser dialog.</description>
    </context-param>

    <context-param>
        <param-name>allow_browsing</param-name>
        <param-value>true</param-value>
        <description>Allow browsing on the server : true is yes and 
false is no.</description>
    </context-param>

    <context-param>
        <param-name>group_name</param-name>
        <param-value>users</param-value>
        <description>UNIX ONLY: Group name used when creating a new file 
or project. Used for permission access. The Web Server user must be a 
member of this group in order for this to work.</description>
    </context-param>

    <context-param>
        <param-name>new_file_permission</param-name>
        <param-value>0664</param-value>
        <description>UNIX ONLY: New file permission in 0XXX format. 
First digit must always be 0. Second is for owner permission and must 
always be equal or greater than 6, third for group and last one for 
other. Possible values for each three permission is 7 (read, write and 
execute), 6 (read and write), 5 (read and execute), 4 (read 
only).</description>
    </context-param>

    <context-param>
        <param-name>mapscript_module</param-name>
        <param-value>php_mapscript.so</param-value>
        <description>Mapscript module name (i.e. php_mapscript_36.dll 
for Windows installations or php_mapscript.so for Unix 
installations).</description>
    </context-param>

    <context-param>
        <param-name>log_path</param-name>
        <param-value>/srv/www/htdocs/maplab/log</param-value>
        <description>Directory in which to write log files.</description>
    </context-param>

    <context-param>
        <param-name>log_level</param-name>
        <param-value>LOG_OFF</param-value>
        <description>Control the application runtime logging level.  
Must be one of LOG_OFF, LOG_QUIET, LOG_VERBOSE or LOG_ALL.</description>
    </context-param>

    <context-param>
        <param-name>tmp_map_path</param-name>
        <param-value>tmp/</param-value>
        <description>Directory in which to write tmp map 
files.</description>
    </context-param>

    <context-param>
        <param-name>tmp_img_path</param-name>
        <param-value>tmp/</param-value>
        <description>Directory in which to write temporary image 
files.</description>
    </context-param>

    <context-param>
        <param-name>tmp_web_img_path</param-name>
        <param-value>tmp/</param-value>
        <description>URL where browser can find temporary image (see 
tmp_image_path).</description>
    </context-param>

    <context-param>
        <param-name>image_type</param-name>
        <param-value>PNG</param-value>
        <description>Output image type (eg: PNG, GIF). Must be 
uppercase. This image format MUST be supported by your browser and GD 
(on the server). Please don't change that value unless you know what 
you'r doing.</description>
    </context-param>

    <context-param>
        <param-name>rosa_file</param-name>
        <param-value>rosa/rosa.jar</param-value>
        <description>Path to ROSA Java Applet.  THIS MUST BE A RELATIVE 
PATH.</description>
    </context-param>

    <context-param>
        <param-name>default_navigation_mode</param-name>
        <param-value>ROSA</param-value>
        <description>The default mode of the map preview.  Must be 
either ROSA or HTML.</description>
    </context-param>

    <context-param>
        <param-name>execution_mode</param-name>
        <param-value>2</param-value>
        <description>MapEdit execution mode (0 => DEMO, 1 => NORMAL, 2 
=> EXPERT).</description>
    </context-param>

    <context-param>
        <param-name>demo_path</param-name>
        <param-value></param-value>
        <description>MapEdit DEMO mapfile path (when DEMO mode is 
set.)</description>
    </context-param>

    <context-param>
        <param-name>allow_config</param-name>
        <param-value>TRUE</param-value>
        <description>This paramter controls access to the XML 
configuration tool by enabling/disabling the toolbar button.</description>
    </context-param>

    <context-param>
        <param-name>version</param-name>
        <param-value>2.0rc3</param-value>
        <description>MapLab Suite version. This value is set by 
Makefile.  YOU DO NOT NEED TO MODIFY THIS VALUE.</description>
    </context-param>

    <context-param>
        <param-name>installed_packages</param-name>
        <param-value>|MapEdit |MapBrowser |GMapFactory</param-value>
        <description>Currently installed packages separated by "|". This 
value is set by Makefile. YOU DO NOT NEED TO MODIFY THIS 
VALUE.</description>
    </context-param>

    <context-param>
        <param-name>build_date</param-name>
        <param-value>Wed Oct 30 13:41:58 EST 2002</param-value>
        <description>Build date and time. This value is set by Makefile. 
YOU DO NOT NEED TO MODIFY THIS VALUE.</description>
    </context-param>
</app-context>
-----------------------------------




This archive was generated by Pipermail.