MapTools.org

[maplab-users] mapedit tutorial - cannot see map ...

ian macnaughtan ian.macnaughtan@braziermotti.com.au
Fri, 2 May 2003 13:58:55 +1000
This is a multipart message in MIME format.
--=_alternative 0015DFC74A256D1A_=
Content-Type: text/plain; charset="US-ASCII"

After your email i checked my settings again and adjusted them a little. 
However, i still experience the same problem. I have checked that the 
apache user has write access to all files and folders in this folder ... 
/var/www/html. Perhaps you can see something wrong with my config. So, 
here it is ...

MAPLAB CONFIG:

app_path = /var/www/html/maplab
file_browser_root = /var/www/html/maplab
allow_browsing = true
group_name = apache
new_file_permission = 0664
mapscript_module = php_mapscript.so
log_path = /var/www/html/tmp/
log_level = LOG_ALL
tmp_map_path = /var/www/html/tmp
tmp_web_img_path = /tmp/
image_type = PNG
rosa_file = rosa/rosa.jar
default_navigation_mode = ROSA
execution_mode = 1
demo_path = nothing/blank
allow_config = true
version = 2.0rc5
installed_package = |MapEdit|MapBrowser|GMapFactory
build_date = wed mar 12 16:12:53 est 2003

MAPEDIT CONFIG:

maplab.xml path = /var/www/html/maplab/config/maplab.xml
configuration_file = mapserv_36.xml
min_zoom_rect = 5
zoom_factor = 2
warehouse_mapfiles = nothing/blank

MAPBROWSER CONFIG:

maplab.xml path = /var/www/html/maplab/config/maplab.xml
ows_schemas_location = http://ogc.dmsolutions.ca

GMAPFACTORY CONFIG:

maplab.xml path = /var/www/html/maplab/config/maplab.xml
new_app_path = /var/www/html/maplab/projects/
new_app_url = /maplab/projects/
app_folder_name = gmf_apps
proj_folder_name = gmf_projects

I noticed something else while editing the config. If i clicked the apply 
button the close button would no longer work with this error. 

        line 49
        char 9
        error: variable uses an automation type not supported in jscript
        code: 9
        url: 
http://server-ip-address/maplab/htdocs/toolbar.phtml?sid=3eb1e0f03834e

I got the error text from the error button in the bottom left corner of 
the ie status bar.

Regards
Ian.

maplab-users-admin@dmsolutions.ca wrote on 02/05/2003 12:18:05 PM:

> Ian, did you visit the configuration page and make sure that all the 
> settings and paths are correct?
> 
> Paul
> 
> ian macnaughtan wrote:
> 
> > 
> > Thanks for your reply. Here is the contents of the error page that i 
get 
> > ...
> > 
> > ------ start of error page -------
> > 
> > The page cannot be displayed
> > The page you are looking for is currently unavailable. The Web site 
> > might be experiencing technical difficulties, or you may need to 
adjust 
> > your browser settings.
> > 
> > 
> 
--------------------------------------------------------------------------------
> > 
> > 
> > Please try the following:
> > 
> > Click the  Refresh button, or try again later.
> > 
> > If you typed the page address in the Address bar, make sure that it is 

> > spelled correctly.
> > 
> > To check your connection settings, click the Tools menu, and then 
click 
> > Internet Options. On the Connections tab, click Settings. The settings 

> > should match those provided by your local area network (LAN) 
> > administrator or Internet service provider (ISP).
> > If your Network Administrator has enabled it, Microsoft Windows can 
> > examine your network and automatically discover network connection 
> > settings.
> > If you would like Windows to try and discover them,
> > click  Detect Network Settings
> > Some sites require 128-bit connection security. Click the Help menu 
and 
> > then click About Internet Explorer to determine what strength security 

> > you have installed.
> > If you are trying to reach a secure site, make sure your Security 
> > settings can support it. Click the Tools menu, and then click Internet 

> > Options. On the Advanced tab, scroll to the Security section and check 

> > settings for SSL 2.0, SSL 3.0, TLS 1.0, PCT 1.0.
> > Click the  Back button to try another link.
> > 
> > 
> > 
> > Cannot find server or DNS Error
> > Internet Explorer 
> > 
> > ---- end of error page ----
> > 
> > I notice that in the url that pop ups briefly in the status bar of ie 
> > there is a parameter which says 'map&name=/tutorial///tutorial'. The 
> > '///' strikes me as strange. I have the following folder structure ...
> > 
> > The root path of my web pages is /var/www/html
> > The maplab files are in this path '/var/www/html/maplab'. I have not 
> > modified any folders except the maplab folder itself. When i unpacked 
> > the files it had a folder of 'maplab-2.0rc5'. I moved this folder to 
> > '/var/www/html/maplab'. I have not made any changes to the files 
within 
> > this folder except to change the group name on the file to 'apache'. 
It 
> > was root since i unpacked the files as root.
> > 
> > I start by opening 'http://server-ip-address/maplab/htdocs'. This 
opens 
> > the main maplab page. I then click on the mapedit link. Then click on 
> > open a map link. This presents a list of folders and files. I then 
click 
> > on the tutorial folder. Then i click on the tutorial.map file and 
click 
> > the ok button. That is when i see the parameter mentioned above and 
get 
> > the error message.
> > 
> > The mapserver cgi is in /var/www/cgi-bin. The php cgi is in the same 
> > location.
> > 
> > Regards
> > Ian.
> > 
> > 
> > maplab-users-admin@dmsolutions.ca wrote on 01/05/2003 10:12:33 PM:
> > 
> >  > Ian,
> >  >
> >  > What's the error message you get ?
> >  >
> >  > Sacha
> >  >
> >  > ian macnaughtan wrote:
> >  > >
> >  > > Hi. I have just finished setting up mapserver and maplab on a 
rh7.2
> >  > > server. I started following the tutorial for maplab but when i 
opened
> >  > > the map file in mapedit, nothing displays. Interestingly, an 
error 
> > page
> >  > > appears in the top right frame where the dm solutions logo 
normally
> >  > > goes. Any ideas?
> >  > >
> >  > > I have compiled everything except apache from source. That took 
me 
> > some
> >  > > time! I have used the rh up2date agent to ensure that rh has the 
> > latest
> >  > > kernel etc. The mapserver demo works okay. Php as a cgi appears 
to be
> >  > > working okay. In maplab i am able to edit the configuration 
without a
> >  > > problem. The only thing is that gif support is not enabled.
> >  > >
> >  > > Regards
> >  > > Ian Macnaughtan.
> >  >
> >  > --
> >  > Sacha Fournier
> >  > Applications Developer
> >  > DM Solutions Group
> >  > sfournier@dmsolutions.ca
> >  > tel: 418.696.5056
> >  > fax: 418.696.5056
> >  >
> >  > www.dmsolutions.ca
> >  > --
> >  > -------------------------------------------------
> >  > /"\  ASCII Ribbon Campaign against HTML
> >  > \ /  email and proprietary format
> >  >   X   attachments.
> >  > / \
> >  > -------------------------------------------------
> >  >
> >  > _______________________________________________
> >  > 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
> 
> 
> _______________________________________________
> Maplab-users mailing list
> Maplab-users@dmsolutions.ca
> http://lists.dmsolutions.ca/mailman/listinfo/maplab-users

--=_alternative 0015DFC74A256D1A_=
Content-Type: text/html; charset="US-ASCII"


<br><font size=2 face="sans-serif">After your email i checked my settings
again and adjusted them a little. However, i still experience the same
problem. I have checked that the apache user has write access to all files
and folders in this folder ... /var/www/html. Perhaps you can see something
wrong with my config. So, here it is ...</font>
<br>
<br><font size=2 face="sans-serif">MAPLAB CONFIG:</font>
<br>
<br><font size=2 face="sans-serif">app_path = /var/www/html/maplab</font>
<br><font size=2 face="sans-serif">file_browser_root = /var/www/html/maplab</font>
<br><font size=2 face="sans-serif">allow_browsing = true</font>
<br><font size=2 face="sans-serif">group_name = apache</font>
<br><font size=2 face="sans-serif">new_file_permission = 0664</font>
<br><font size=2 face="sans-serif">mapscript_module = php_mapscript.so</font>
<br><font size=2 face="sans-serif">log_path = /var/www/html/tmp/</font>
<br><font size=2 face="sans-serif">log_level = LOG_ALL</font>
<br><font size=2 face="sans-serif">tmp_map_path = /var/www/html/tmp</font>
<br><font size=2 face="sans-serif">tmp_web_img_path = /tmp/</font>
<br><font size=2 face="sans-serif">image_type = PNG</font>
<br><font size=2 face="sans-serif">rosa_file = rosa/rosa.jar</font>
<br><font size=2 face="sans-serif">default_navigation_mode = ROSA</font>
<br><font size=2 face="sans-serif">execution_mode = 1</font>
<br><font size=2 face="sans-serif">demo_path = nothing/blank</font>
<br><font size=2 face="sans-serif">allow_config = true</font>
<br><font size=2 face="sans-serif">version = 2.0rc5</font>
<br><font size=2 face="sans-serif">installed_package = |MapEdit|MapBrowser|GMapFactory</font>
<br><font size=2 face="sans-serif">build_date = wed mar 12 16:12:53 est
2003</font>
<br>
<br><font size=2 face="sans-serif">MAPEDIT CONFIG:</font>
<br>
<br><font size=2 face="sans-serif">maplab.xml path = /var/www/html/maplab/config/maplab.xml</font>
<br><font size=2 face="sans-serif">configuration_file = mapserv_36.xml</font>
<br><font size=2 face="sans-serif">min_zoom_rect = 5</font>
<br><font size=2 face="sans-serif">zoom_factor = 2</font>
<br><font size=2 face="sans-serif">warehouse_mapfiles = nothing/blank</font>
<br>
<br><font size=2 face="sans-serif">MAPBROWSER CONFIG:</font>
<br>
<br><font size=2 face="sans-serif">maplab.xml path = /var/www/html/maplab/config/maplab.xml</font>
<br><font size=2 face="sans-serif">ows_schemas_location = http://ogc.dmsolutions.ca</font>
<br>
<br><font size=2 face="sans-serif">GMAPFACTORY CONFIG:</font>
<br>
<br><font size=2 face="sans-serif">maplab.xml path = /var/www/html/maplab/config/maplab.xml</font>
<br><font size=2 face="sans-serif">new_app_path = /var/www/html/maplab/projects/</font>
<br><font size=2 face="sans-serif">new_app_url = /maplab/projects/</font>
<br><font size=2 face="sans-serif">app_folder_name = gmf_apps</font>
<br><font size=2 face="sans-serif">proj_folder_name = gmf_projects</font>
<br>
<br><font size=2 face="sans-serif">I noticed something else while editing
the config. If i clicked the apply button the close button would no longer
work with this error. </font>
<br>
<br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; line
49</font>
<br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; char
9</font>
<br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; error:
variable uses an automation type not supported in jscript</font>
<br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; code:
9</font>
<br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; url:
http://server-ip-address/maplab/htdocs/toolbar.phtml?sid=3eb1e0f03834e</font>
<br>
<br><font size=2 face="sans-serif">I got the error text from the error
button in the bottom left corner of the ie status bar.</font>
<br>
<br><font size=2 face="sans-serif">Regards</font>
<br><font size=2 face="sans-serif">Ian.</font>
<br>
<br><font size=2><tt>maplab-users-admin@dmsolutions.ca wrote on 02/05/2003
12:18:05 PM:<br>
<br>
&gt; Ian, did you visit the configuration page and make sure that all the
<br>
&gt; settings and paths are correct?<br>
&gt; <br>
&gt; Paul<br>
&gt; <br>
&gt; ian macnaughtan wrote:<br>
&gt; <br>
&gt; &gt; <br>
&gt; &gt; Thanks for your reply. Here is the contents of the error page
that i get <br>
&gt; &gt; ...<br>
&gt; &gt; <br>
&gt; &gt; ------ start of error page -------<br>
&gt; &gt; <br>
&gt; &gt; The page cannot be displayed<br>
&gt; &gt; The page you are looking for is currently unavailable. The Web
site <br>
&gt; &gt; might be experiencing technical difficulties, or you may need
to adjust <br>
&gt; &gt; your browser settings.<br>
&gt; &gt; <br>
&gt; &gt; <br>
&gt; --------------------------------------------------------------------------------<br>
&gt; &gt; <br>
&gt; &gt; <br>
&gt; &gt; Please try the following:<br>
&gt; &gt; <br>
&gt; &gt; Click the &nbsp;Refresh button, or try again later.<br>
&gt; &gt; <br>
&gt; &gt; If you typed the page address in the Address bar, make sure that
it is <br>
&gt; &gt; spelled correctly.<br>
&gt; &gt; <br>
&gt; &gt; To check your connection settings, click the Tools menu, and
then click <br>
&gt; &gt; Internet Options. On the Connections tab, click Settings. The
settings <br>
&gt; &gt; should match those provided by your local area network (LAN)
<br>
&gt; &gt; administrator or Internet service provider (ISP).<br>
&gt; &gt; If your Network Administrator has enabled it, Microsoft Windows
can <br>
&gt; &gt; examine your network and automatically discover network connection
<br>
&gt; &gt; settings.<br>
&gt; &gt; If you would like Windows to try and discover them,<br>
&gt; &gt; click &nbsp;Detect Network Settings<br>
&gt; &gt; Some sites require 128-bit connection security. Click the Help
menu and <br>
&gt; &gt; then click About Internet Explorer to determine what strength
security <br>
&gt; &gt; you have installed.<br>
&gt; &gt; If you are trying to reach a secure site, make sure your Security
<br>
&gt; &gt; settings can support it. Click the Tools menu, and then click
Internet <br>
&gt; &gt; Options. On the Advanced tab, scroll to the Security section
and check <br>
&gt; &gt; settings for SSL 2.0, SSL 3.0, TLS 1.0, PCT 1.0.<br>
&gt; &gt; Click the &nbsp;Back button to try another link.<br>
&gt; &gt; <br>
&gt; &gt; <br>
&gt; &gt; <br>
&gt; &gt; Cannot find server or DNS Error<br>
&gt; &gt; Internet Explorer &nbsp;<br>
&gt; &gt; <br>
&gt; &gt; ---- end of error page ----<br>
&gt; &gt; <br>
&gt; &gt; I notice that in the url that pop ups briefly in the status bar
of ie <br>
&gt; &gt; there is a parameter which says 'map&amp;name=/tutorial///tutorial'.
The <br>
&gt; &gt; '///' strikes me as strange. I have the following folder structure
...<br>
&gt; &gt; <br>
&gt; &gt; The root path of my web pages is /var/www/html<br>
&gt; &gt; The maplab files are in this path '/var/www/html/maplab'. I have
not <br>
&gt; &gt; modified any folders except the maplab folder itself. When i
unpacked <br>
&gt; &gt; the files it had a folder of 'maplab-2.0rc5'. I moved this folder
to <br>
&gt; &gt; '/var/www/html/maplab'. I have not made any changes to the files
within <br>
&gt; &gt; this folder except to change the group name on the file to 'apache'.
It <br>
&gt; &gt; was root since i unpacked the files as root.<br>
&gt; &gt; <br>
&gt; &gt; I start by opening 'http://server-ip-address/maplab/htdocs'.
This opens <br>
&gt; &gt; the main maplab page. I then click on the mapedit link. Then
click on <br>
&gt; &gt; open a map link. This presents a list of folders and files. I
then click <br>
&gt; &gt; on the tutorial folder. Then i click on the tutorial.map file
and click <br>
&gt; &gt; the ok button. That is when i see the parameter mentioned above
and get <br>
&gt; &gt; the error message.<br>
&gt; &gt; <br>
&gt; &gt; The mapserver cgi is in /var/www/cgi-bin. The php cgi is in the
same <br>
&gt; &gt; location.<br>
&gt; &gt; <br>
&gt; &gt; Regards<br>
&gt; &gt; Ian.<br>
&gt; &gt; <br>
&gt; &gt; <br>
&gt; &gt; maplab-users-admin@dmsolutions.ca wrote on 01/05/2003 10:12:33
PM:<br>
&gt; &gt; <br>
&gt; &gt; &nbsp;&gt; Ian,<br>
&gt; &gt; &nbsp;&gt;<br>
&gt; &gt; &nbsp;&gt; What's the error message you get ?<br>
&gt; &gt; &nbsp;&gt;<br>
&gt; &gt; &nbsp;&gt; Sacha<br>
&gt; &gt; &nbsp;&gt;<br>
&gt; &gt; &nbsp;&gt; ian macnaughtan wrote:<br>
&gt; &gt; &nbsp;&gt; &gt;<br>
&gt; &gt; &nbsp;&gt; &gt; Hi. I have just finished setting up mapserver
and maplab on a rh7.2<br>
&gt; &gt; &nbsp;&gt; &gt; server. I started following the tutorial for
maplab but when i opened<br>
&gt; &gt; &nbsp;&gt; &gt; the map file in mapedit, nothing displays. Interestingly,
an error <br>
&gt; &gt; page<br>
&gt; &gt; &nbsp;&gt; &gt; appears in the top right frame where the dm solutions
logo normally<br>
&gt; &gt; &nbsp;&gt; &gt; goes. Any ideas?<br>
&gt; &gt; &nbsp;&gt; &gt;<br>
&gt; &gt; &nbsp;&gt; &gt; I have compiled everything except apache from
source. That took me <br>
&gt; &gt; some<br>
&gt; &gt; &nbsp;&gt; &gt; time! I have used the rh up2date agent to ensure
that rh has the <br>
&gt; &gt; latest<br>
&gt; &gt; &nbsp;&gt; &gt; kernel etc. The mapserver demo works okay. Php
as a cgi appears to be<br>
&gt; &gt; &nbsp;&gt; &gt; working okay. In maplab i am able to edit the
configuration without a<br>
&gt; &gt; &nbsp;&gt; &gt; problem. The only thing is that gif support is
not enabled.<br>
&gt; &gt; &nbsp;&gt; &gt;<br>
&gt; &gt; &nbsp;&gt; &gt; Regards<br>
&gt; &gt; &nbsp;&gt; &gt; Ian Macnaughtan.<br>
&gt; &gt; &nbsp;&gt;<br>
&gt; &gt; &nbsp;&gt; --<br>
&gt; &gt; &nbsp;&gt; Sacha Fournier<br>
&gt; &gt; &nbsp;&gt; Applications Developer<br>
&gt; &gt; &nbsp;&gt; DM Solutions Group<br>
&gt; &gt; &nbsp;&gt; sfournier@dmsolutions.ca<br>
&gt; &gt; &nbsp;&gt; tel: 418.696.5056<br>
&gt; &gt; &nbsp;&gt; fax: 418.696.5056<br>
&gt; &gt; &nbsp;&gt;<br>
&gt; &gt; &nbsp;&gt; www.dmsolutions.ca<br>
&gt; &gt; &nbsp;&gt; --<br>
&gt; &gt; &nbsp;&gt; -------------------------------------------------<br>
&gt; &gt; &nbsp;&gt; /&quot;\ &nbsp;ASCII Ribbon Campaign against HTML<br>
&gt; &gt; &nbsp;&gt; \ / &nbsp;email and proprietary format<br>
&gt; &gt; &nbsp;&gt; &nbsp; X &nbsp; attachments.<br>
&gt; &gt; &nbsp;&gt; / \<br>
&gt; &gt; &nbsp;&gt; -------------------------------------------------<br>
&gt; &gt; &nbsp;&gt;<br>
&gt; &gt; &nbsp;&gt; _______________________________________________<br>
&gt; &gt; &nbsp;&gt; Maplab-users mailing list<br>
&gt; &gt; &nbsp;&gt; Maplab-users@dmsolutions.ca<br>
&gt; &gt; &nbsp;&gt; http://lists.dmsolutions.ca/mailman/listinfo/maplab-users<br>
&gt; <br>
&gt; -- <br>
&gt; Paul Spencer<br>
&gt; Applications and Software Development<br>
&gt; DM Solutions Group Inc.<br>
&gt; http://www.dmsolutions.ca<br>
&gt; <br>
&gt; <br>
&gt; _______________________________________________<br>
&gt; Maplab-users mailing list<br>
&gt; Maplab-users@dmsolutions.ca<br>
&gt; http://lists.dmsolutions.ca/mailman/listinfo/maplab-users<br>
</tt></font>
--=_alternative 0015DFC74A256D1A_=--


This archive was generated by Pipermail.