MapTools.org

[maplab-users] [Fwd: problems with preview]

Daniel Morissette morissette@dmsolutions.ca
Tue, 01 Oct 2002 15:19:05 -0400
This is a multi-part message in MIME format.
--------------34CFF7B42AA78FA8941ACAC4
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

 
--------------34CFF7B42AA78FA8941ACAC4
Content-Type: message/rfc822
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

Received: from xcalibur.dmsolutions.ca (www2.dmsolutions.on.ca [209.217.116.146])
	by in2.magma.ca (Magma's Mail Server) with ESMTP id g91J96ac008805;
	Tue, 1 Oct 2002 15:09:06 -0400 (EDT)
Received: from www.mapsherpa.com ([64.26.174.2])
	by xcalibur.dmsolutions.ca (8.11.2/8.11.2) with ESMTP id g91J95t18766
	for <lists-admin@dmsolutions.ca>; Tue, 1 Oct 2002 15:09:05 -0400
Received: from www.mapsherpa.com (www.mapsherpa.com [127.0.0.1])
	by www.mapsherpa.com (8.11.6/8.11.6) with ESMTP id g91J90901320
	for <lists-admin@dmsolutions.ca>; Tue, 1 Oct 2002 15:09:00 -0400
Received: from xcalibur.dmsolutions.ca (www2.dmsolutions.on.ca [209.217.116.146])
	by www.mapsherpa.com (8.11.6/8.11.6) with ESMTP id g91J8n901314
	for <maplab-users-admin@lists.dmsolutions.ca>; Tue, 1 Oct 2002 15:08:49 -0400
Received: from swoodbridge.com (dsl-65-187-198-197.telocity.com [65.187.198.197])
	by xcalibur.dmsolutions.ca (8.11.2/8.11.2) with ESMTP id g91J8ht18763
	for <maplab-users-admin@dmsolutions.ca>; Tue, 1 Oct 2002 15:08:44 -0400
Received: from woodbri.swoodbridge.com ([10.1.1.1] helo=woodbri)
	by swoodbridge.com with esmtp (Exim 3.33 #1)
	id 17wSNm-0008Fp-00; Tue, 01 Oct 2002 15:08:34 -0400
From: woodbri@swoodbridge.com
To: "Alfredo Pereira de Queiroz" <aqueiroz@usp.br>,
   <maplab-users-admin@dmsolutions.ca>
Date: Tue, 1 Oct 2002 15:08:35 -0400
MIME-Version: 1.0
Subject: Re: problems with preview
Reply-to: woodbri@swoodbridge.com
Message-ID: <3D99BA73.9736.49342F2B@localhost>
Priority: normal
In-reply-to: <00bf01c26996$3ee19fe0$6ff06b8f@geo100>
X-mailer: Pegasus Mail for Windows (v4.01)
Content-type: text/plain; charset=US-ASCII
Content-transfer-encoding: 7BIT
Content-description: Mail message body
Sender: maplab-users-owner@dmsolutions.ca
Errors-To: maplab-users-owner@dmsolutions.ca
X-BeenThere: maplab-users@dmsolutions.ca
X-Mailman-Version: 2.0.11
Precedence: bulk
List-Help: <mailto:maplab-users-request@dmsolutions.ca?subject=help>
List-Post: <mailto:maplab-users@dmsolutions.ca>
List-Subscribe: <http://lists.dmsolutions.ca/mailman/listinfo/maplab-users>,
	<mailto:maplab-users-request@dmsolutions.ca?subject=subscribe>
List-Id: Maplab Users Mailing list <maplab-users.dmsolutions.ca>
List-Unsubscribe: <http://lists.dmsolutions.ca/mailman/listinfo/maplab-users>,
	<mailto:maplab-users-request@dmsolutions.ca?subject=unsubscribe>
List-Archive: <http://lists.dmsolutions.ca/pipermail/maplab-users/>
X-Mozilla-Status2: 00000000

Alfredo,

if you are sure you have the permissions set correctly so the webuser 
has r/w access to the directory and files, then I would check the // 
in the path. While I know this works ok on Linux I seem to remember 
that Windows does not like that.

-Stephen Woodbridge
 http://iMapTools.com

On 1 Oct 2002 at 15:02, Alfredo Pereira de Queiroz wrote:

> 
> I can open the tutorial mapfile in mapedit, but when I click on 
> PreviewMap I get a new browser window with the error:
> Warning: MapServer Error in msLoadMap(): 
> (F:\Inetpub\wwwroot\msapps\maplab-
> 2.0rc2\htdocs\mapedit\/php/sessiondata//3d99df38ce2df.map) in 
> F:\Inetpub\wwwroot\msapps\maplab-
> 2.0rc2\common\wrapper\map_session.php on line 271
> Fatal error: Failed to open map file 
> /php/sessiondata//3d99df38ce2df.map in 
> F:\Inetpub\wwwroot\msapps\maplab-
> 2.0rc2\common\wrapper\map_session.php on line 271
> I already changed the directories and their permissions a few times.
> The first error message was in preview.php lines 220, 221, 222 and 271
> (fopen /x/x/*.map, "w+", fwrite and fclose) and the directory was
> /ms_tmp/. How can I fix it?
> 
> Alfredo
> 



--------------34CFF7B42AA78FA8941ACAC4--



This archive was generated by Pipermail.