Hi there, Unfortunately its still not working...is there anything else that you 
may need to look at? Mark


 
 From: [email protected]
To: [email protected]; [email protected]
Subject: RE: [mapserver-users] adding gifs to index.html file?
Date: Thu, 4 Apr 2013 20:24:51 -0400









MapServer Message








See changes marked below in red:

 

I think that should do it.

 

Worth

 

 









From: Mark Mirrlees
[mailto:[email protected]] 

Sent: Thursday, April 04, 2013
8:18 PM

To: Worth Lutz;
[email protected]

Subject: RE: [mapserver-users]
adding gifs to index.html file?



 



Here is my index.html file.

 

!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">

<html>

<head>

<title>Mark Mirrlees Assignment 4</title>

<body>

<center>

<img src="./maps/M_Mirrlees_Assign4\bos.gif"
width="150" height="100">

</head>

</body>

</html>

<Center>

<BR>

   <form method=GET action="/cgi-bin/mapserv.exe">

      <INPUT type="hidden"
name="map"
value="/wwwroot/M_Mirrlees_Assign4/global.map">

   <INPUT type="hidden" name="layer"
value="provinces">

   <INPUT type="hidden" name="layer"
value="states">

   <INPUT type="hidden" name="layer"
value="cancity">

   <INPUT type="hidden" name="layer"
value="usacity">     

   <INPUT type="hidden" name="zoomdir"
value=1>

   <INPUT type="hidden" name="zoomsize"
value=2>

   <INPUT type="hidden" name="program"
value="/cgi-bin/mapserv.exe">

   <INPUT type="submit" value="Launch the
Map"/>

   </form>

<CENTER>







 



http://localhost/maps/M_Mirrlees_Assign4/ is
what I type in my internet browser to launch my map.

 

Thanks,

Mark

 









From: [email protected]

To: [email protected]; [email protected]

Subject: RE: [mapserver-users] adding gifs to index.html file?

Date: Thu, 4 Apr 2013 20:11:55 -0400



Post the whole index.html here and give me
what you are putting into your browser to show the index.html

 

Worth

 

 

 









From: Mark Mirrlees
[mailto:[email protected]] 

Sent: Thursday, April 04, 2013
8:02 PM

To: Worth Lutz;
[email protected]

Subject: RE: [mapserver-users]
adding gifs to index.html file?



 



Ok so I've tried both ways and
they both output another box. However this time with an X in the corner.
See attached. 

 

Thanks,

Mark



 





 









From: [email protected]

To: [email protected]; [email protected]

Subject: RE: [mapserver-users] adding gifs to index.html file?

Date: Thu, 4 Apr 2013 19:52:56 -0400



Try:

 

<img
src="/wwwroot/M_Mirrlees_Assign4\bos.gif" width="150"
height="100">

 

Or if “wwwroot” really is the web root:

 

<img src="/M_Mirrlees_Assign4\bos.gif"
width="150" height="100">

 

Worth Lutz









From:
[email protected]
[mailto:[email protected]] On Behalf Of Mark Mirrlees

Sent: Thursday, April 04, 2013
7:17 PM

To: Rahkonen Jukka;
[email protected]

Subject: [mapserver-users] adding
gifs to index.html file?



 



Hi there,

 

Ok I figured that part out! Thanks! Your a lifesaver! I have one other question
I'm trying to add images (gif files) to my index.html file.

 

When I place this code into my html file it neglects to show the image...

 

<img src="file:/wwwroot/M_Mirrlees_Assign4\bos.gif"
width="150" height="100">



It shows a white box with a black like square in the corner (see image)...not
sure what i'm missing...any ideas?

 

Thanks,

Mark



 





 









From: [email protected]

To: [email protected]

Date: Thu, 4 Apr 2013 07:55:41 +0000

Subject: Re: [mapserver-users] output issues (malformed template name)



Hi,

 

The immediate reason
for the error  is that you do not have a referred template file in your
system

TEMPLATE
'fooOnlyForWMSGetFeatureInfo'

 

For correcting this
error you must change TEMPLATE to refer to something that exists. The template 
file
must contain at least the magic string ‘mapserver template’ in the first line
of the template http://www.mapserver.org/mapfile/template.html

However, I have a
feeling that this will not be enough for making your application to launch. If
this happens, please tell a bit more about your application, how it works and
what happens when you press the launch button.  And absolutely add

CONFIG
"MS_ERRORFILE" "c:\good_errorfile_path_for_you.txt” and

DEBUG 5 into your
mapfile.  This way you will get much valuable information into the
errorfile. Comment out the DEBUG line once everything works perfectly for you.

 

The PyQgis MapServer
Export plugin should really be fixed. At least it should write the
“wms_enable_request” metadata item. Now it does not and no mapfile created with
QGis will work for WMS without editing. Plugin is also using the deprecated
TRANSPARENCY and I  would rather see PROJECTION blocks to use
"init=epsg:xxxx" but that  may not be so important.  I am
not sure it the plugin writes always SYMBOLSET
"/wwwroot/symbols/symbols.sty" and uses SYMBOL "circle" in
some type of classes but if it does it can also lead to not working
mapfiles.  Is there anything else to complain? I can make a QGis feature
request once I have collected the most important things to correct and checked
that they have not been corrected already.

 

-Jukka Rahkonen-

 

 

 







Mark Mirrlees wrote:





 



Hello everyone,

 

I am trying to create a new map and it is causing me some output issues.

 

When I click my launch button to start the application it comes up with this
message

 

Content-type: text/html msReturnPage(): Web application error. Malformed
template name (fooOnlyForWMSGetFeatureInfo). 

 

I have attached my mapfile and I do apologize for the length of it.

 

I'm not sure what's wrong in the map file! Any help would be greatly
appreciated!



Thanks,

Mark

            









_______________________________________________ mapserver-users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/mapserver-users











No virus found in this message.

Checked by AVG - www.avg.com

Version: 2013.0.3267 / Virus Database: 3162/6224 - Release Date: 04/04/13













No virus found in this message.

Checked by AVG - www.avg.com

Version: 2013.0.3267 / Virus Database: 3162/6224 - Release Date: 04/04/13

















No virus found in this message.

Checked by AVG - www.avg.com

Version: 2013.0.3267 / Virus Database: 3162/6224 - Release Date: 04/04/13

                                          
_______________________________________________
mapserver-users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/mapserver-users

Reply via email to