|
||||
[maplab-users] RE: Maplab-users digest, Vol 1 #176 - 11 msgsOldes Cokdu ocokdu@occons.comFri, 28 Mar 2003 12:38:59 +1100
|
This is a multi-part message in MIME format. ------=_NextPart_000_0000_01C2F527.0186DB20 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 8bit Hi Paul, Colorpicker class is in the htdocs/common/color_picker directory but still have the classnotfound problem... My sistem is Win2000 server, IIS5, php-latest, mapserv-latest, php_mapscript_37.dll maplabRC5 About other directories... my installation folders are as the following MapLab Home dir: C:\MyGis\maplab C:\MyGis\maplab\htdocs ... maplab webserver url setup: http://localhost/maplab --> C:\MyGis\maplab (write enabled) Mapserver image temp: C:\Inetpub\wwwroot\tmp Maplab folders app_path: C:/MyGis/maplab file_browser_root: C:/MyGis/maplab log_path: C:/Inetpub/wwwroot/tmp 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) * mapserver and maplab image files points to same location ! * all directories were created and * write-enabled for Everyone * mapserver demo, itasca is working fine... 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 Fatal error: Failed writing image to /tmp/ms_tmp/10488148464281.png in C:\MyGis\maplab\htdocs\mapbrowser\map.php on line 697 >>>> "Huston, we have problem!" :) 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. Paul, Can you see any problem with the setup above? Kind regards, Oldes Çökdü oldes@occons.com <mailto:oldes@occons.com> www.occons.com <http://www.occons.com> Mob: +(61) 417 139 382 (AU) +(90) 536 816 1407 (TR) LEGAL DISCLAIMER: The information in this message is confidential and may be legally privileged. It is intended solely for the addressee. Access to this message by anyone else is unauthorised. If you are not the intended recipient, any disclosure, copying, or distribution of the message, or any action or omission taken by you in reliance on it, is prohibited and may be unlawful. Please immediately contact the sender if you have receive this message in error. Thank you. --__--__-- Message: 4 Date: Thu, 27 Mar 2003 16:56:21 -0500 From: Paul Spencer <pagameba@magma.ca> Reply-To: spencer@dmsolutions.ca To: Oldes Cokdu <ocokdu@occons.com>, Maplab-users <Maplab-users@dmsolutions.ca> Subject: Re: [maplab-users] Browser errors Oldes, the colorpicker class should be in the htdocs/common/color_picker directory, can you confirm that it is there? For the other errors, your map file defines a WEB object that has an imagepath and imageurl value. At least your imagepath is wrong. The imagepath needs to point to a directory on your system where mapserver can create images. On windows, it would be something like c:/tmp/ms_tmp (use forward slashes). This means that you have to create c:/tmp and c:/tmp/ms_tmp. You can use any directory that you like with two exceptions: 1. the directory is accessible by a URL (which you put in the imageurl setting :) 2. the directory is writeable by the web server user. Cheers, Paul Oldes Cokdu wrote: > Hi All, > > > I am getting following errors in the new rc5 > > > Mapbrowser window > > Warning: MapServer Error in msSaveImage(): (/tmp/ms_tmp/104875848811201.png) > in C:\MyGis\maplab\htdocs\mapbrowser\map.php on line 697 > > Fatal error: Failed writing image to /tmp/ms_tmp/104875848811201.png in > C:\MyGis\maplab\htdocs\mapbrowser\map.php on line 697 > > > MApfactory > Warning: MapServer Error in msSaveImage(): (/tmp/ms_tmp/104875877823201.png) > in C:\MyGis\maplab\projects\gmf_apps\tutor\tutor.php on line 550 > > Fatal error: Failed writing image to /tmp/ms_tmp/104875877823201.png in > C:\MyGis\maplab\projects\gmf_apps\tutor\tutor.php on line 550 > > > and finally > > colorpicker.class not found error. > > I guess this is related with the classpath environment setting but I assume > that should be handled by the appliction, isn't it? > > > I appriciate all kinds of help! > > kind regards, > > Oldes Cokdu > > _______________________________________________ > Maplab-users mailing list > Maplab-users@dmsolutions.ca > http://lists.dmsolutions.ca/mailman/listinfo/maplab-users > ------=_NextPart_000_0000_01C2F527.0186DB20 Content-Type: text/xml; name="maplab.xml" Content-Transfer-Encoding: quoted-printable Content-Disposition: attachment; filename="maplab.xml" <app-context>=0A= <context-param>=0A= <param-name>app_path</param-name>=0A= <param-value>C:/MyGis/maplab</param-value>=0A= <description>Absolute path to MapLab installation = directory.</description>=0A= </context-param>=0A= =0A= <context-param>=0A= <param-name>file_browser_root</param-name>=0A= <param-value>C:/MyGis/maplab</param-value>=0A= <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>=0A= </context-param>=0A= =0A= <context-param>=0A= <param-name>allow_browsing</param-name>=0A= <param-value>true</param-value>=0A= <description>Allow browsing on the server : true is yes and = false is no.</description>=0A= </context-param>=0A= =0A= <context-param>=0A= <param-name>group_name</param-name>=0A= <param-value>users</param-value>=0A= <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>=0A= </context-param>=0A= =0A= <context-param>=0A= <param-name>new_file_permission</param-name>=0A= <param-value>0664</param-value>=0A= <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>=0A= </context-param>=0A= =0A= <context-param>=0A= <param-name>mapscript_module</param-name>=0A= <param-value>php_mapscript_37.dll</param-value>=0A= <description>Mapscript module name (i.e. php_mapscript_36.dll = for Windows installations or php_mapscript.so for Unix = installations).</description>=0A= </context-param>=0A= =0A= <context-param>=0A= <param-name>log_path</param-name>=0A= <param-value>C:/Inetpub/wwwroot/tmp</param-value>=0A= <description>Directory in which to write log files.</description>=0A= </context-param>=0A= =0A= <context-param>=0A= <param-name>log_level</param-name>=0A= <param-value>LOG_OFF</param-value>=0A= <description>Control the application runtime logging level. = Must be one of LOG_OFF, LOG_QUIET, LOG_VERBOSE or LOG_ALL.</description>=0A= </context-param>=0A= =0A= <context-param>=0A= <param-name>tmp_map_path</param-name>=0A= <param-value>C:/Inetpub/wwwroot/tmp</param-value>=0A= <description>Directory in which to write tmp map = files.</description>=0A= </context-param>=0A= =0A= <context-param>=0A= <param-name>tmp_img_path</param-name>=0A= <param-value>C:/Inetpub/wwwroot/tmp</param-value>=0A= <description>Directory in which to write temporary image = files.</description>=0A= </context-param>=0A= =0A= <context-param>=0A= <param-name>tmp_web_img_path</param-name>=0A= <param-value>C:/Inetpub/wwwroot/tmp</param-value>=0A= <description>URL where browser can find temporary image (see = tmp_image_path).</description>=0A= </context-param>=0A= =0A= <context-param>=0A= <param-name>image_type</param-name>=0A= <param-value>PNG</param-value>=0A= <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>=0A= </context-param>=0A= =0A= <context-param>=0A= <param-name>rosa_file</param-name>=0A= <param-value>rosa/rosa.jar</param-value>=0A= <description>Path to ROSA Java Applet. THIS MUST BE A RELATIVE = PATH.</description>=0A= </context-param>=0A= =0A= <context-param>=0A= <param-name>default_navigation_mode</param-name>=0A= <param-value>ROSA</param-value>=0A= <description>The default mode of the map preview. Must be = either ROSA or HTML.</description>=0A= </context-param>=0A= =0A= <context-param>=0A= <param-name>execution_mode</param-name>=0A= <param-value>2</param-value>=0A= <description>MapEdit execution mode (0 =3D> DEMO, 1 =3D> NORMAL, = 2 =3D> EXPERT).</description>=0A= </context-param>=0A= =0A= <context-param>=0A= <param-name>demo_path</param-name>=0A= <param-value></param-value>=0A= <description>MapEdit DEMO mapfile path (when DEMO mode is = set.)</description>=0A= </context-param>=0A= =0A= <context-param>=0A= <param-name>allow_config</param-name>=0A= <param-value>TRUE</param-value>=0A= <description>This paramter controls access to the XML = configuration tool by enabling/disabling the toolbar = button.</description>=0A= </context-param>=0A= =0A= <context-param>=0A= <param-name>version</param-name>=0A= <param-value>2.0rc5</param-value>=0A= <description>MapLab Suite version. This value is set by = Makefile. YOU DO NOT NEED TO MODIFY THIS VALUE.</description>=0A= </context-param>=0A= =0A= <context-param>=0A= <param-name>installed_packages</param-name>=0A= <param-value>|MapEdit |MapBrowser |GMapFactory</param-value>=0A= <description>Currently installed packages separated by "|". This = value is set by Makefile. YOU DO NOT NEED TO MODIFY THIS = VALUE.</description>=0A= </context-param>=0A= =0A= <context-param>=0A= <param-name>build_date</param-name>=0A= <param-value>Wed Mar 12 16:12:53 EST 2003</param-value>=0A= <description>Build date and time. This value is set by Makefile. = YOU DO NOT NEED TO MODIFY THIS VALUE.</description>=0A= </context-param>=0A= =0A= </app-context> ------=_NextPart_000_0000_01C2F527.0186DB20--
This archive was generated by Pipermail. |
MapTools.org -- Hosted by DM Solutions Group |