MapTools.org

[maplab-users] Can't save work in MapEdit

Tyler Mitchell TMitchell@lignum.com
Mon, 16 Feb 2004 08:13:05 -0800
This is a multipart message in MIME format.
--=_alternative 005916C488256E3C_=
Content-Type: text/plain; charset="US-ASCII"

Matthew, when you say that you can "save" but not "save as" - are you 
editing a map file that already exists?  I suspect that you may have a 
problem with creating a new map file, but are able to edit (and save) the 
file if it already exists.  Is that correct?

maplab-users-admin@lists.maptools.org wrote on 02/15/2004 06:22:40 AM:

> Matt,
> 
> Have you tried saving in a different location? You can set the browse 
> root in the maplab configure file. It limits where you can navigate 
> with the save dialog panel. If you're able to save the original 
> mapfile, I'm not sure what would stop you from creating a new one in 
> the same place.
> 
> zak
> --
> Zak James
> Applications and Software Development
> DM Solutions Group Inc.
> http://www.dmsolutions.ca
> 
> 
> On Feb 14, 2004, at 12:58 AM, Matthew Perry wrote:
> 
> > Zak,
> >   That was part of the problem. Once the permissions
> > were straight, I was able to "Save" but "Save As"
> > still gives me the same error.
> >
> >>> Can't create file name
> >>> (/var/www/htdocs///klamath2//klamath2.map). in
> >>> /maplab-2.1-rc3/htdocs/mapedit/action.phtml
> >
> > I can handle just being able to save the mapfile. I'm
> > still curious about how to fix it if anyone has any
> > ideas. Thanks.
> >
> > - Matt Perry
> >
> > --- Zak James <zak-ms@hoppsan.org> wrote:
> >> I don't think that the extra slashes are actually a
> >> problem. Can you
> >> confirm that the directory and the mapfile is
> >> writeable by the apache
> >> user?
> >>
> >> zak
> >> --
> >> Zak James
> >> Applications and Software Development
> >> DM Solutions Group Inc.
> >> http://www.dmsolutions.ca
> >>
> >>
> >> On Feb 13, 2004, at 7:23 PM, Matthew Perry wrote:
> >>
> >>> Hello,
> >>>
> >>>  I am new to Maplab but have been using mapserver
> >> for
> >>> about a year. MapEdit works great but I am running
> >>> into a MAJOR bug... I can't save ANY of my work.
> >>>
> >>>  I opened an existing mapfile and was able to edit
> >> it
> >>> just fine. When I select "Save Map" from the File
> >>> Menu, it sends the request and doesn't give me any
> >>> errors but the mapfile is not updated. When I
> >> select
> >>> "Save Map As", I get the following error.
> >>>
> >>> Can't create file name
> >>> (/var/www/htdocs///klamath2//klamath2.map). in
> >>> /maplab-2.1-rc3/htdocs/mapedit/action.phtml
> >>>
> >>> The problem is obviosuly the extra slashes. I have
> >>> played with the config files endlessly with no
> >>> apparent solution to the bug. I searched the
> >> archives
> >>> and found many complaints of the same problem, but
> >> no
> >>> solutions. I am running mapserver 4.0 with PHp
> >> 4.33
> >>> and maplab 2.1 rc3.
> >>>
> >>> Intuition says that this should be easy to fix but
> >> I
> >>> have no idea where to go from here. Could someone
> >>> point me to a good resource to solve this
> >> problem??
> >>>
> >>> Thanks,
> >>>
> >>> Matt Perry
> >>> Humboldt State University
> >>> _______________________________________________
> >>> Maplab-users mailing list
> >>> Maplab-users@lists.maptools.org
> >>>
> >>
> > http://lists.maptools.org/mailman/listinfo/maplab-users
> >>>
> >>
> >
> > _______________________________________________
> > Maplab-users mailing list
> > Maplab-users@lists.maptools.org
> > http://lists.maptools.org/mailman/listinfo/maplab-users
> >
> 
> _______________________________________________
> Maplab-users mailing list
> Maplab-users@lists.maptools.org
> http://lists.maptools.org/mailman/listinfo/maplab-users

--=_alternative 005916C488256E3C_=
Content-Type: text/html; charset="US-ASCII"


<br><font size=2 face="sans-serif">Matthew, when you say that you can &quot;save&quot;
but not &quot;save as&quot; - are you editing a map file that already exists?
&nbsp;I suspect that you may have a problem with creating a new map file,
but are able to edit (and save) the file if it already exists. &nbsp;Is
that correct?</font>
<br>
<br><font size=2><tt>maplab-users-admin@lists.maptools.org wrote on 02/15/2004
06:22:40 AM:<br>
<br>
&gt; Matt,<br>
&gt; <br>
&gt; Have you tried saving in a different location? You can set the browse
<br>
&gt; root in the maplab configure file. It limits where you can navigate
<br>
&gt; with the save dialog panel. If you're able to save the original <br>
&gt; mapfile, I'm not sure what would stop you from creating a new one
in <br>
&gt; the same place.<br>
&gt; <br>
&gt; zak<br>
&gt; --<br>
&gt; Zak James<br>
&gt; Applications and Software Development<br>
&gt; DM Solutions Group Inc.<br>
&gt; http://www.dmsolutions.ca<br>
&gt; <br>
&gt; <br>
&gt; On Feb 14, 2004, at 12:58 AM, Matthew Perry wrote:<br>
&gt; <br>
&gt; &gt; Zak,<br>
&gt; &gt; &nbsp; That was part of the problem. Once the permissions<br>
&gt; &gt; were straight, I was able to &quot;Save&quot; but &quot;Save
As&quot;<br>
&gt; &gt; still gives me the same error.<br>
&gt; &gt;<br>
&gt; &gt;&gt;&gt; Can't create file name<br>
&gt; &gt;&gt;&gt; (/var/www/htdocs///klamath2//klamath2.map). in<br>
&gt; &gt;&gt;&gt; /maplab-2.1-rc3/htdocs/mapedit/action.phtml<br>
&gt; &gt;<br>
&gt; &gt; I can handle just being able to save the mapfile. I'm<br>
&gt; &gt; still curious about how to fix it if anyone has any<br>
&gt; &gt; ideas. Thanks.<br>
&gt; &gt;<br>
&gt; &gt; - Matt Perry<br>
&gt; &gt;<br>
&gt; &gt; --- Zak James &lt;zak-ms@hoppsan.org&gt; wrote:<br>
&gt; &gt;&gt; I don't think that the extra slashes are actually a<br>
&gt; &gt;&gt; problem. Can you<br>
&gt; &gt;&gt; confirm that the directory and the mapfile is<br>
&gt; &gt;&gt; writeable by the apache<br>
&gt; &gt;&gt; user?<br>
&gt; &gt;&gt;<br>
&gt; &gt;&gt; zak<br>
&gt; &gt;&gt; --<br>
&gt; &gt;&gt; Zak James<br>
&gt; &gt;&gt; Applications and Software Development<br>
&gt; &gt;&gt; DM Solutions Group Inc.<br>
&gt; &gt;&gt; http://www.dmsolutions.ca<br>
&gt; &gt;&gt;<br>
&gt; &gt;&gt;<br>
&gt; &gt;&gt; On Feb 13, 2004, at 7:23 PM, Matthew Perry wrote:<br>
&gt; &gt;&gt;<br>
&gt; &gt;&gt;&gt; Hello,<br>
&gt; &gt;&gt;&gt;<br>
&gt; &gt;&gt;&gt; &nbsp;I am new to Maplab but have been using mapserver<br>
&gt; &gt;&gt; for<br>
&gt; &gt;&gt;&gt; about a year. MapEdit works great but I am running<br>
&gt; &gt;&gt;&gt; into a MAJOR bug... I can't save ANY of my work.<br>
&gt; &gt;&gt;&gt;<br>
&gt; &gt;&gt;&gt; &nbsp;I opened an existing mapfile and was able to edit<br>
&gt; &gt;&gt; it<br>
&gt; &gt;&gt;&gt; just fine. When I select &quot;Save Map&quot; from the
File<br>
&gt; &gt;&gt;&gt; Menu, it sends the request and doesn't give me any<br>
&gt; &gt;&gt;&gt; errors but the mapfile is not updated. When I<br>
&gt; &gt;&gt; select<br>
&gt; &gt;&gt;&gt; &quot;Save Map As&quot;, I get the following error.<br>
&gt; &gt;&gt;&gt;<br>
&gt; &gt;&gt;&gt; Can't create file name<br>
&gt; &gt;&gt;&gt; (/var/www/htdocs///klamath2//klamath2.map). in<br>
&gt; &gt;&gt;&gt; /maplab-2.1-rc3/htdocs/mapedit/action.phtml<br>
&gt; &gt;&gt;&gt;<br>
&gt; &gt;&gt;&gt; The problem is obviosuly the extra slashes. I have<br>
&gt; &gt;&gt;&gt; played with the config files endlessly with no<br>
&gt; &gt;&gt;&gt; apparent solution to the bug. I searched the<br>
&gt; &gt;&gt; archives<br>
&gt; &gt;&gt;&gt; and found many complaints of the same problem, but<br>
&gt; &gt;&gt; no<br>
&gt; &gt;&gt;&gt; solutions. I am running mapserver 4.0 with PHp<br>
&gt; &gt;&gt; 4.33<br>
&gt; &gt;&gt;&gt; and maplab 2.1 rc3.<br>
&gt; &gt;&gt;&gt;<br>
&gt; &gt;&gt;&gt; Intuition says that this should be easy to fix but<br>
&gt; &gt;&gt; I<br>
&gt; &gt;&gt;&gt; have no idea where to go from here. Could someone<br>
&gt; &gt;&gt;&gt; point me to a good resource to solve this<br>
&gt; &gt;&gt; problem??<br>
&gt; &gt;&gt;&gt;<br>
&gt; &gt;&gt;&gt; Thanks,<br>
&gt; &gt;&gt;&gt;<br>
&gt; &gt;&gt;&gt; Matt Perry<br>
&gt; &gt;&gt;&gt; Humboldt State University<br>
&gt; &gt;&gt;&gt; _______________________________________________<br>
&gt; &gt;&gt;&gt; Maplab-users mailing list<br>
&gt; &gt;&gt;&gt; Maplab-users@lists.maptools.org<br>
&gt; &gt;&gt;&gt;<br>
&gt; &gt;&gt;<br>
&gt; &gt; http://lists.maptools.org/mailman/listinfo/maplab-users<br>
&gt; &gt;&gt;&gt;<br>
&gt; &gt;&gt;<br>
&gt; &gt;<br>
&gt; &gt; _______________________________________________<br>
&gt; &gt; Maplab-users mailing list<br>
&gt; &gt; Maplab-users@lists.maptools.org<br>
&gt; &gt; http://lists.maptools.org/mailman/listinfo/maplab-users<br>
&gt; &gt;<br>
&gt; <br>
&gt; _______________________________________________<br>
&gt; Maplab-users mailing list<br>
&gt; Maplab-users@lists.maptools.org<br>
&gt; http://lists.maptools.org/mailman/listinfo/maplab-users<br>
</tt></font>
--=_alternative 005916C488256E3C_=--


This archive was generated by Pipermail.