<html><body bgcolor="#FFFFFF"><div>I don't know if this is related, but I doubt anyone has tested against MapServer 5.0.0 in a long time.<br><br><div><br></div></div><div><br>On Dec 8, 2011, at 11:25, Brent Fraser &lt;<a href="mailto:bfraser@geoanalytic.com">bfraser@geoanalytic.com</a>&gt; wrote:<br><br></div><div></div><blockquote type="cite"><div>
    &nbsp;&nbsp; The important part is that is has "SUPPORTS=GEOS", so that's good
    (from Googling, this is the component that supplies the
    ms_shapeObjFromWkt function to mapserver).<br>
    <br>
    &nbsp; You've got a serious and uncommon mapserver configuration
    problem.&nbsp; To figure out why the function is not available, I'd
    recommend making a simple PHP script containing ms_shapeObjFromWkt
    and executing it from command line.&nbsp; Or use PHP's
    get_extension_funcs('MapScript')&nbsp; function to list the function
    names that are available in mapserver's MapScript:<br>
    <br>
    <br>
    <tt>&lt;?php<br>
      if(!extension_loaded('MapScript')) {<br>
      &nbsp;&nbsp;&nbsp; dl('php_mapscript.'.PHP_SHLIB_SUFFIX);<br>
      }<br>
      echo implode('&lt;br /&gt; ', get_extension_funcs('MapScript') ),
      '&lt;br /&gt;';<br>
      ?&gt;</tt><br>
    <br>
    <br>
    <pre class="moz-signature" cols="72">Best Regards,
Brent Fraser</pre>
    <br>
    On 12/8/2011 9:47 AM, Efstathios Arapostathis wrote:
    <blockquote cite="mid:CAH+BHXm-ReozBZ=vB6531-AAhFhxs2Dxg+YRMMa7LwOYhL6RVA@mail.gmail.com" type="cite">Hi,<br>
      <br>
      The following message appears:<br>
      <br>
      <b>MapServer version 5.0.0 OUTPUT=GIF OUTPUT=PNG OUTPUT=JPEG
        OUTPUT=WBMP OUTPUT=PDF OUTPUT=SWF OUTPUT=SVG SUPPORTS=PROJ
        SUPPORTS=AGG SUPPORTS=FREETYPE&nbsp; SUPPORTS=WMS_SERVER
        SUPPORTS=WMS_CLIENT SUPPORTS=WFS_SERVER SUPPORTS=WFS_CLIENT
        SUPPORTS=WCS_SERVER SUPPORTS=SOS_SERVER SUPPORTS=FASTCGI
        SUPPORTS=THREADS<br>
        SUPPORTS=GEOS INPUT=JPEG INPUT=POSTGIS INPUT=GDAL
        INPUT=SHAPEFILE</b> <br>
      <br>
      <br>
      <div class="gmail_quote">On Wed, Dec 7, 2011 at 6:56 PM, Brent
        Fraser <span dir="ltr">&lt;<a moz-do-not-send="true" href="mailto:bfraser@geoanalytic.com"><a href="mailto:bfraser@geoanalytic.com">bfraser@geoanalytic.com</a></a>&gt;</span>
        wrote:<br>
        <blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt
          0.8ex; border-left: 1px solid rgb(204, 204, 204);
          padding-left: 1ex;">
          <div bgcolor="#FFFFFF" text="#000000"> Using a command line
            (in the directory containing mapserver executed by your
            webserver) what does the command "mapserv -v" show?<br>
            <br>
            <pre cols="72">Best Regards,
Brent Fraser</pre>
            <div>
              <div class="h5"> <br>
                On 12/7/2011 9:38 AM, Efstathios Arapostathis wrote: </div>
            </div>
            <blockquote type="cite">
              <div>
                <div class="h5">It's already&nbsp; uncommented..<br>
                  Any ideas?<br>
                  <br>
                  <br>
                  <br>
                  <i><b>Config.php:</b></i><br>
                  <br>
                  <br>
                  &lt;?php<br>
                  /*Copyright (c) 2009, Dan "Ducky" Little &amp;
                  <a href="http://GeoMOOSE.org"><a href="http://GeoMOOSE.org">GeoMOOSE.org</a></a><br>
                  <br>
                  Permission is hereby granted, free of charge, to any
                  person obtaining a copy<br>
                  of this software and associated documentation files
                  (the "Software"), to deal<br>
                  in the Software without restriction, including without
                  limitation the rights<br>
                  to use, copy, modify, merge, publish, distribute,
                  sublicense, and/or sell<br>
                  copies of the Software, and to permit persons to whom
                  the Software is<br>
                  furnished to do so, subject to the following
                  conditions:<br>
                  <br>
                  The above copyright notice and this permission notice
                  shall be included in<br>
                  all copies or substantial portions of the Software.<br>
                  <br>
                  THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF
                  ANY KIND, EXPRESS OR<br>
                  IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
                  OF MERCHANTABILITY,<br>
                  FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
                  IN NO EVENT SHALL THE<br>
                  AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,
                  DAMAGES OR OTHER<br>
                  LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR
                  OTHERWISE, ARISING FROM,<br>
                  OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE
                  OR OTHER DEALINGS IN<br>
                  THE SOFTWARE.*/<br>
                  <br>
                  #<br>
                  # This is meant to allow specific environmental
                  includes for<br>
                  # GeoMOOSE 2 PHP Services.&nbsp; Substantive configuraiton
                  options<br>
                  # should be added to settings.ini<br>
                  #<br>
                  <br>
                  /* Check for the required libraries<br>
                  &nbsp;* g2/curl are used for printing. If you're not using
                  printing<br>
                  &nbsp;* you can avoid using these modules.<br>
                  &nbsp;*<br>
                  &nbsp;* mapscript and dbase are used for most operations
                  using them<br>
                  &nbsp;* cannot be avoided<br>
                  &nbsp;*/<br>
                  <br>
                  if(!extension_loaded('gd') &amp;&amp;
                  !extension_loaded('gd2')) {<br>
                  &nbsp;&nbsp;&nbsp; dl('php_gd2.'.PHP_SHLIB_SUFFIX);<br>
                  }<br>
                  <br>
                  if(!extension_loaded('curl')) {<br>
                  &nbsp;&nbsp;&nbsp; dl('php_curl.'.PHP_SHLIB_SUFFIX);<br>
                  }<br>
                  <br>
                  if(!extension_loaded('MapScript')) {<br>
                  &nbsp;&nbsp;&nbsp; dl('php_mapscript.'.PHP_SHLIB_SUFFIX);<br>
                  }<br>
                  <br>
                  if(!extension_loaded('dbase')) {<br>
                  &nbsp;&nbsp;&nbsp; dl('php_dbase.'.PHP_SHLIB_SUFFIX);<br>
                  }<br>
                  <br>
                  <br>
                  # Load the configration file<br>
                  $CONFIGURATION =
                  parse_ini_file('../../conf/settings.ini');<br>
                  <br>
                  function getMapbook() {<br>
                  &nbsp;&nbsp;&nbsp; global $CONFIGURATION;<br>
                  &nbsp;&nbsp;&nbsp; $mapbook = new DOMDocument();<br>
                  &nbsp;&nbsp;&nbsp;
                  $mapbook-&gt;load('../../conf/'.$CONFIGURATION['mapbook']);<br>
                  &nbsp;&nbsp;&nbsp; return $mapbook;<br>
                  }<br>
                  <br>
                  function getUsername() {<br>
                  &nbsp;&nbsp;&nbsp; session_start();<br>
                  &nbsp;&nbsp;&nbsp; return $_SESSION['username'];<br>
                  }<br>
                  <br>
                  <br>
                  # Select Functionality ONLY works for Mapserver Layers<br>
                  function getMapfile($mb, $layerName) {<br>
                  &nbsp;&nbsp;&nbsp; $services =
                  $mb-&gt;getElementsByTagName('map-source');<br>
                  &nbsp;&nbsp;&nbsp; $mapfiles = array();<br>
                  &nbsp;&nbsp;&nbsp; for($i = 0; $i &lt; $services-&gt;length; $i++) {<br>
                  &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; $service = $services-&gt;item($i);<br>
                  &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; $root = $service-&gt;getAttribute('name');<br>
                  &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; $layers =
                  $service-&gt;getElementsByTagName('layer');<br>
                  &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; for($l = 0; $l &lt; $layers-&gt;length; $l++)
                  {<br>
                  &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; $layer = $layers-&gt;item($l);<br>
                  &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; $path =
                  $root.'/'.$layer-&gt;getAttribute('name');<br>
                  &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; if($path == $layerName) {<br>
                  &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; return
                  $service-&gt;getElementsByTagName('file')-&gt;item(0)-&gt;nodeValue;<br>
                  &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; }<br>
                  &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; }<br>
                  &nbsp;&nbsp;&nbsp; }<br>
                  &nbsp;&nbsp;&nbsp; return null;<br>
                  }<br>
                  <br>
                  # get a source based on it's name<br>
                  function getMapSource($mb, $layerName) {<br>
                  &nbsp;&nbsp;&nbsp; $services =
                  $mb-&gt;getElementsByTagName('map-source');<br>
                  &nbsp;&nbsp;&nbsp; $mapfiles = array();<br>
                  &nbsp;&nbsp;&nbsp; for($i = 0; $i &lt; $services-&gt;length; $i++) {<br>
                  &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;
                  if($services-&gt;item($i)-&gt;getAttribute('name') ==
                  $layerName) {<br>
                  &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; return $services-&gt;item($i);<br>
                  &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; }<br>
                  &nbsp;&nbsp;&nbsp; }<br>
                  &nbsp;&nbsp;&nbsp; return null;<br>
                  }<br>
                  <br>
                  <br>
                  <br>
                  <br>
                  ?&gt;<br>
                  <br>
                  <br>
                  <br>
                  <br>
                  <div class="gmail_quote">On Mon, Dec 5, 2011 at 6:52
                    PM, Eli Adam <span dir="ltr">&lt;<a moz-do-not-send="true" href="mailto:eadam@co.lincoln.or.us" target="_blank"><a href="mailto:eadam@co.lincoln.or.us">eadam@co.lincoln.or.us</a></a>&gt;</span>
                    wrote:<br>
                    <blockquote class="gmail_quote" style="margin: 0pt
                      0pt 0pt 0.8ex; border-left: 1px solid rgb(204,
                      204, 204); padding-left: 1ex;">Since you are using
                      PHP 5.2.4 I don't think that is an issue, but in<br>
                      later PHP versions, dl has been removed,<br>
                      <br>
                      <a moz-do-not-send="true" href="http://us2.php.net/manual/en/function.dl.php" target="_blank"><a href="http://us2.php.net/manual/en/function.dl.php">http://us2.php.net/manual/en/function.dl.php</a></a><br>
                      <span><font color="#888888"><br>
                          <br>
                          Eli<br>
                        </font></span></blockquote>
                  </div>
                  <br>
                  <br>
                  <fieldset></fieldset>
                  <br>
                </div>
              </div>
              <div class="im">
                <pre>_______________________________________________
Geomoose-users mailing list
<a moz-do-not-send="true" href="mailto:Geomoose-users@lists.osgeo.org" target="_blank"><a href="mailto:Geomoose-users@lists.osgeo.org">Geomoose-users@lists.osgeo.org</a></a>
<a moz-do-not-send="true" href="http://lists.osgeo.org/mailman/listinfo/geomoose-users" target="_blank"><a href="http://lists.osgeo.org/mailman/listinfo/geomoose-users">http://lists.osgeo.org/mailman/listinfo/geomoose-users</a></a>
</pre>
              </div>
            </blockquote>
          </div>
        </blockquote>
      </div>
      <br>
    </blockquote>
  

</div></blockquote><blockquote type="cite"><div><span>_______________________________________________</span><br><span>Geomoose-users mailing list</span><br><span><a href="mailto:Geomoose-users@lists.osgeo.org">Geomoose-users@lists.osgeo.org</a></span><br><span><a href="http://lists.osgeo.org/mailman/listinfo/geomoose-users">http://lists.osgeo.org/mailman/listinfo/geomoose-users</a></span><br></div></blockquote></body></html>