[mapserver-users] how to disappear Warning: session_start() in the page?

elisabeth theresia dbee_kawai at yahoo.com
Sat Aug 21 00:28:06 EDT 2010


Hello All Mr.

Already works... Thanks for you advices, yesterday i did some changes in coding 
and no more error message. ~~Horray !!~~
I don't use index_cobacham.phtml anymore. just change in the coding for 
template.

in the template for map i put: 

<html>
<head>xxxxx</head>

<body>
<form>
//css

//code HTML...~bla.......bla.........bla~

<body onLoad="CWC2OnLoadFunction()">

    
    <table border="0" cellpadding="2" cellspacing="0">
    <tr>
    <td colspan="3" align="center">
    <CWC2 TYPE="MapDHTML"
        VISIBLE="true"
        WIDTH="384"
        HEIGHT="204"
        ALLOWRESIZE="true"
        MARQUEECOLOR="#FF3333"
        MARQUEEWIDTH="2"
        MINSCALE="1"/>
        
        <CWC2 TYPE="Title"
            VISIBLE="true"
            LABEL="Aplikasi Web-based GIS"
            LABELCLASS="CWCHelpTitle1" />
            
         <CWC2 TYPE="Scale" VISIBLE="true" />
         
         <CWC2 TYPE="LegendTemplate"
                 VISIBLE="true"
                ENABLED="true"
                EMBEDDED="false"
                POPUPWIDTH="500"
                POPUPHEIGHT="250"
                
                TEMPLATE="./legend_template_widget2.html"/>
                
           <CWC2 TYPE="ZoomIn"
                   VISIBLE="true"
                IMAGETIP="Zoom In: box atau klik"
                TOOLSET="Navigation"
                IMAGEWIDTH="24"
                IMAGEHEIGHT="24">
                <IMAGE STATE="normal"
                        IMAGE="images/tool_zoomin_off.gif"/>
                <IMAGE STATE="hover"
                        IMAGE="images/tool_zoomin_over.gif"/>
                <IMAGE STATE="selected"
                        IMAGE="images/tool_zoomin_on.gif"/> 
             </CWC2> 
             <b>Zoom In</b><br>
             
             <CWC2 TYPE="Recenter"
                         VISIBLE ="true"
                        IMAGETIP="Menggeser Tampilan Peta"
                           TOOLSET="Navigation"
                        IMAGEWIDTH="24"
                        IMAGEHEIGHT="24"
                        IMAGE="images/tool_pan_off.gif"/>
                </CWC2>
                <b>Pan/Recenter</b><br>
                
                <cwc2 TYPE="PanMap"
                        VISIBLE="true"
                        IMAGETIP="Menggeser: drag"
                        TOOLSET="Navigation"
                        IMAGEWIDTH="24"
                        IMAGEHEIGHT="24"
                        IMAGE="images/tool_pan_off.gif"/>
                 </cwc2>
                 <b> Pan/Drag</b><br>
                 
                 <CWC2 TYPE="Zoomout"
                         VISIBLE="true"
                        IMAGETIP="Memperkecil Tampilan Peta"
                        TOOLSET="Navigation"
                        IMAGEWIDTH="24"
                        IMAGEHEIGHT="24"
                        IMAGE="images/tool_zoomout_off.gif"/>
                  </CWC2> 
                  <b>Zoom Out</b><br>
                  
                  <CWC2 TYPE="ZoomAllLayers"
                          ENABLED="true"
                        VISIBLE="true"
                        IMAGETIP="Zoom Full Extent"
                        TOOLSET="Navigation"
                        IMAGEWIDTH="24"
                        IMAGEHEIGHT="24"
                        IMAGE="images/tool_zoomfull_off.gif"/>
                  </CWC2>
                  
                  <b>Full Extent</b><br>
                
                <cwc2 TYPE="CursorPos"
                        axis="X"
                        label="Bujur :"
                        labelposition="8"
                        labelvalign="middle"
                        labelclass="label"
                        widgetclass="inputbox"/>
                    
                <cwc2 TYPE="CursorPos"
                        axis="Y"
                        label="Lintang:"
                        labelposition="8"
                        labelvalign="middle"
                        labelclass="label"
                        widgetclass="inputbox"/>
                        
                 <cwc2 TYPE="Query"
                         VISIBLE= "true"
                        IMAGETIP="Identifikasi Unsur"
                        TOOLSET="Navigation"
                        IMAGEWIDTH="20"
                        IMAGEHEIGHT="20"
                        IMAGE="images/icon_query.gif"
                        POPUPWIDTH="400"
                        POPUPHEIGHT="200"
                        RADIUS="3"
                        MAXFEATURES="15">
                  </cwc2>
                  <b>Query</b><br>
                  
                 <cwc2 TYPE="UpdateMap"
                         VISIBLE="true"
                        IMAGETIP="Meng-update/Refresh tampilan Peta"
                        IMAGE="images/icon_update.gif"
                        LABEL="Redraw Map"
                        IMAGEWIDTH="90"
                        IMAGEHEIGHT="22">
                 </cwc2>
       </td>
       </tr>
       </table>
       
       <CWC2 TYPE="ErrorReport"
               POPUPWIDTH="500"
            POPUPHEIGHT="400"
            TOOLBAR="false"
            STATUS="false"
            MENUBAR="false"
            VISIBLE="false"
            IMAGE="images/icon_error.png" IMAGEWIDTH="18"
            IMAGEHEIGHT="18"
            IMAGETIP="Display Error Report" LABEL="Error Report"/>
      </form>
    </body>
</html>

Thanks all for your help. 

-dbee



      
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/mapserver-users/attachments/20100820/38f2d706/attachment-0001.html


More information about the mapserver-users mailing list