MapTools.org

[Fwd: Re: [maplab-users] help]

Paul Spencer spencer@dmsolutions.ca
Mon, 11 Nov 2002 09:41:34 -0500
This is a multi-part message in MIME format.
--------------080306050400080604070602
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit

for the record.
-- 
Paul Spencer
Applications and Software Development
DM Solutions Group Inc.
http://www.dmsolutions.ca

--------------080306050400080604070602
Content-Type: message/rfc822;
 name="Re: [maplab-users] help"
Content-Transfer-Encoding: 8bit
Content-Disposition: inline;
 filename="Re: [maplab-users] help"

>From - Mon Nov 11 09:36:09 2002
X-Mozilla-Status2: 00000000
Received: from xcalibur.dmsolutions.ca (www2.dmsolutions.on.ca [209.217.116.146])
	by in2.magma.ca (Magma's Mail Server) with ESMTP id gAB8VfAo018122
	for <pagameba@magma.ca>; Mon, 11 Nov 2002 03:31:41 -0500 (EST)
Received: from denebola.ceti.etat-ge.ch (denebola.ceti.etat-ge.ch [160.53.239.115])
	by xcalibur.dmsolutions.ca (8.11.2/8.11.2) with ESMTP id gAB8VQt03633
	for <spencer@dmsolutions.ca>; Mon, 11 Nov 2002 03:31:40 -0500
Received: by denebola.etat-ge.ch with Internet Mail Service (5.5.2656.59)
	id <WBX1DB38>; Mon, 11 Nov 2002 09:31:09 +0100
Message-ID: <D4C72C4ECA8CD511B69900B0D0689956FC66E5@almanon.ceti.etat-ge.ch>
From: "Antonio Martin (DIAE)" <martin.antonio@etat.ge.ch>
To: "'spencer@dmsolutions.ca'" <spencer@dmsolutions.ca>
Subject: RE: [maplab-users] help
Date: Mon, 11 Nov 2002 09:31:06 +0100
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.5.2656.59)
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from quoted-printable to 8bit by in2.magma.ca id gAB8VfAo018122

Paul,
thanks for your help. All is ok.
Great tool!!!

Antonio

-----Message d'origine-----
De : Paul Spencer [mailto:spencer@dmsolutions.ca]
Envoyé : vendredi, 8. novembre 2002 01:36
À : Antonio Martin (DIAE)
Objet : Re: [maplab-users] help


Antonio,

couple of issues:

1. in your maplab.xml file, your tmp_img_path is /tmp/ and your 
tmp_web_img_path is /ms_tmp/ ... this means that images will be saved in 
/tmp/ but the application will try to get them from 
http://<myserver>/ms_tmp/.  I would recommend that you create an ms_tmp 
directory in /tmp, change tmp_img_path to /tmp/ms_tmp and make a symlink 
from /var/www/html/ms_tmp/ to /tmp/ms_tmp/.

2. the fatal error and warning are related I think to the same thing. 
In the tutorial.map file, there are settings for

   IMAGEPATH "/tmp/ms_tmp/"
   IMAGEURL "/ms_tmp/"

which means that it is trying to save web images in /tmp/ms_tmp :)

This might fix the problem, but if not, next we reconfigure mapserver 
with --enable-debug and look in /var/log/httpd/error_log after a fatal 
error and try to figure out the details from the error_log.

Cheers,

Paul

Antonio Martin (DIAE) wrote:
> Paul,
> I try to open the tutorial demo and I get some error messages in MapEdit
> when I use the "preview map":
> 
> I)Warning: MapServer Error in msGetLabelSize(): Could not find/open font
in
> /var/www/maplab-2.0rc3/htdocs/mapedit/preview.php on line 437
> 
> II)Fatal error: Call to a member function on a non-object in
> /var/www/maplab-2.0rc3/htdocs/mapedit/preview.php(444) : eval()'d code on
> line 1
> 
> MapBrowser and GMapFactory don't open the map. (a "white" window is open)
> I send you the maplab.xml file.
> In spite of this, I think that MapLab is really a great tool. (thanks
> DMsolutions)
> Thanks for your help.
> 
> antonio
> 
> 
> -----Message d'origine-----
> De : Paul Spencer [mailto:spencer@dmsolutions.ca]
> Envoyé : mercredi, 6. novembre 2002 18:13
> À : Antonio Martin (DIAE)
> Objet : Re: [maplab-users] help
> 
> 
> Looks like a configuration problem, please check your maplab.xml file or 
> send it to me and I will check it.
> 
> Cheers,
> 
> Paul
> 
> Antonio Martin (DIAE) wrote:
> 
>>Hi,
>>I upgrade to mapserver 3.6.3, php 4.2.3 and maplab 2.0rc3.
>>The mapserverdemo Itasca seems to work fine with MapEdit but I get some
>>error messages when  I use MapBrowser and GMapFactory:
>>
>>I)Warning: MapServer Error in msLoadMap():
>>(/var/www/maplab-2.0rc3//var/www/maplab 2.0rc3///projects/itasca/demo.map)
>>in /var/www/maplab-2.0rc3/htdocs/gmapfactory/build_phtml.php on line 1274
>>
>>II)Fatal error: Failed to open map file
>>/var/www/maplab-2.0rc3//var/www/maplab-
> 
> 2.0rc3///projects/itasca/demo.map
> 
>>in /var/www/maplab-2.0rc3/htdocs/gmapfactory/build_phtml.php on line 1274
>>
>>III)Error Parsing demo.map      
>>Description
>>Can't display symbol preview, empty symbol file in Map File. 
>>in /maplab-2.0rc3/htdocs/mapedit/symbol.php
>>
>>Thanks for your help...
>>
>>Antonio
>>
>>-----Message d'origine-----
>>De : Paul Spencer [mailto:spencer@dmsolutions.ca]
>>Envoyé : mardi, 29. octobre 2002 17:40
>>À : maplab-users
>>Objet : Re: [maplab-users] help
>>
>>
>>Antonio, is it possible for you to upgrade to mapserver 3.6.3, maplab 
>>2.0 rc3 (the development link on the web site for now, it will be 
>>released in a couple of days formally I hope), and php 4.2.3? 
>>Unfortunately, there are several problems relating to the issues you 
>>have here that were addressed in newer versions of maplab, but they 
>>require newer php and mapscript versions.
>>
>>Cheers,
>>
>>Paul
>>
>>Antonio Martin (DIAE) wrote:
>>
>>
>>>Hi all,
>>>
>>>I installed the Mapserverdemo Itasca and it seems to work ok.
>>>But, I get these error messages when I try to work with MapLab:
>>>
>>>In MapLab:
>>>Warning: MapServer Error in loadSymbol(): Symbol of type VECTOR or
>>>ELLIPSE has no point data. in
>>>/var/www/maplab-2.0rc1/common/wrapper/map_session.php on line 259
>>>
>>>Fatal error: Failed to open map file
>>>/tmp//10e47801e826d91280967f5b069fe125.map in
>>>/var/www/maplab-2.0rc1/common/wrapper/map_session.php on line 259
>>>
>>>What is installed:
>>>
>>>- apache 1.3.26
>>>- php4 4.1.2
>>>- mapserver 3.6.1
>>>- maplab 2.0rc1
>>>
>>>Some information:
>>>
>>>- Apache DocumentRoot is in /var/www
>>>
>>>- error messages (Gif and Dbase) in Maplab Information
>>>
>>>- Maplab installed in /var/www/maplab-2.0rc1/
>>>
>>>The file  / tmp / 10e.... exist and can be opened
>>>
>>>About mapscript in phpinfo :
>>>
>>>MapScript Version ($Revision: 1.104.2.1 $ $Date: 2002/06/03 14:19:53 $)
>>>MapServer version 3.6.1 OUTPUT=PNG OUTPUT=JPEG OUTPUT=WBMP SUPPORTS=TTF
>>>INPUT=TIFF INPUT=EPPL7 INPUT=JPEG INPUT=SHAPEFILE
>>>
>>>Thanks for your help...
>>>
>>>MARTIN DIAZ Antonio
>>>
>>>
>>>
>>>_______________________________________________
>>>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 Inc.
http://www.dmsolutions.ca



--------------080306050400080604070602--




This archive was generated by Pipermail.