<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
I did a quick trial of Fusion with MapServer 6 and it appears that
the underlying Mapscript objects have changed so Fusion PHP code
needs to be fixed for MapServer 6. I wouldn't go down that route
yet.<br>
<br>
It's hard to say what the issue is without seeing the site, but I
would focus on the "parsing error" in your stack trace.<br>
<br>
Mike<br>
<br>
<br>
<br>
On 21/11/2011 8:39 AM, Paul Spencer wrote:
<blockquote
cite="mid:DB59D01A-C0CC-4A61-B77D-E3359B0F022B@dmsolutions.ca"
type="cite">The likely suspects are usually the PHP and mapserver
versions, both could cause problems.
<div>
<div><br>
</div>
<div>Just to be sure, have you run shp2img on your map file to
ensure that its not some subtle mapfile syntax change that is
biting you? I'd say that in general Fusion should work with
6.0 but I don't think anyone else has tried it yet. I'm not
sure that there were any API changes in PHP mapscript, it is
possible. </div>
<div><br>
</div>
<div>Cheers</div>
<div><br>
</div>
<div>Paul<br>
<div><br>
</div>
<div><br>
<div>
<div>On 2011-11-20, at 9:07 AM, jbogdani wrote:</div>
<br class="Apple-interchange-newline">
<blockquote type="cite">
<div>Hello list,<br>
I've a working Fusion installation that gets geo-data
from a mysql database.<br>
1) My server configuration (working fine) is the
following:<br>
Ubuntu server 10.04.03<br>
Apache 2.2.14<br>
MySQL 5.1.41<br>
PHP 5.3.2-1ubuntu4.10<br>
MapServer 5.6.1 with Mapscript installed<br>
<br>
2) But I had serious problems setting on a second
server using the following<br>
configuration:<br>
Ubuntu 11.10<br>
Apache 2.2.20<br>
MySQL 5.1.58<br>
PHP 5.3.6-13<br>
MapServer 5.6.6<br>
<br>
Using the same geo data & the same mapfiles I can
see the map but I can<br>
select no feature! Firebug reports the following
errors:<br>
"NetworkError: 500 Internal Server Error -<br>
<a moz-do-not-send="true"
href="http://localhost/gis/fusion/layers/MapServer/php/Query.php">http://localhost/gis/fusion/layers/MapServer/php/Query.php</a>"<br>
Apache log reports:<br>
[Sun Nov 20 15:03:12 2011] [error] PHP Warning:
[MapServer Error]:<br>
msQueryByPoint(): No matching record(s) found.\n in<br>
/home/webgis/www/fusion/layers/MapServer/php/Query.php
on line 213<br>
[Sun Nov 20 15:03:12 2011] [error] PHP Warning:
[MapServer Error]:<br>
msLoadMap(): Parsing error near (ENDa):(line 367)\n in<br>
/home/webgis/www/fusion/layers/MapServer/php/Query.php
on line 213<br>
[Sun Nov 20 15:03:12 2011] [error] PHP Warning:
[MapServer Error]:<br>
msLoadMap(): Parsing error near (ENDa):(line 367)\n in<br>
/home/webgis/www/fusion/layers/MapServer/php/Query.php
on line 213<br>
[Sun Nov 20 15:03:12 2011] [error] PHP Fatal error:
[MapServer Error]:<br>
msQueryByPoint(): No matching record(s) found.\n in<br>
/home/webgis/www/fusion/layers/MapServer/php/Query.php
on line 270<br>
<br>
Working with shapefiles everything seems to work fine.
Is it a Fusion<br>
problem, a Mapserver / mapscript problem, or what?<br>
<br>
3) Finally no map is shown if Mapserver 6 is installed
in the same server<br>
(no. 2). Has Fusion been tested with Mapserver 6.x?<br>
<br>
<br>
--<br>
View this message in context: <a
moz-do-not-send="true"
href="http://osgeo-org.1803224.n2.nabble.com/Known-problems-with-mapserver-5-6-6-6-tp7013710p7013710.html">http://osgeo-org.1803224.n2.nabble.com/Known-problems-with-mapserver-5-6-6-6-tp7013710p7013710.html</a><br>
Sent from the Fusion Users mailing list archive at <a
moz-do-not-send="true" href="http://Nabble.com">Nabble.com</a>.<br>
_______________________________________________<br>
fusion-users mailing list<br>
<a moz-do-not-send="true"
href="mailto:fusion-users@lists.osgeo.org">fusion-users@lists.osgeo.org</a><br>
<a moz-do-not-send="true"
href="http://lists.osgeo.org/mailman/listinfo/fusion-users">http://lists.osgeo.org/mailman/listinfo/fusion-users</a><br>
</div>
</blockquote>
</div>
<br>
<div apple-content-edited="true">
<span class="Apple-style-span" style="border-collapse:
separate; color: rgb(0, 0, 0); font-family: 'Bitstream
Vera Sans'; font-size: 12px; font-style: normal;
font-variant: normal; font-weight: normal;
letter-spacing: normal; line-height: normal; orphans: 2;
text-align: auto; text-indent: 0px; text-transform:
none; white-space: normal; widows: 2; word-spacing: 0px;
-webkit-border-horizontal-spacing: 0px;
-webkit-border-vertical-spacing: 0px;
-webkit-text-decorations-in-effect: none;
-webkit-text-size-adjust: auto;
-webkit-text-stroke-width: 0; "><span
class="Apple-style-span" style="border-collapse:
separate; color: rgb(0, 0, 0); font-family: Helvetica;
font-size: 12px; font-style: normal; font-variant:
normal; font-weight: normal; letter-spacing: normal;
line-height: normal; orphans: 2; text-indent: 0px;
text-transform: none; white-space: normal; widows: 2;
word-spacing: 0px; -webkit-border-horizontal-spacing:
0px; -webkit-border-vertical-spacing: 0px;
-webkit-text-decorations-in-effect: none;
-webkit-text-size-adjust: auto;
-webkit-text-stroke-width: 0px; ">
<div><font class="Apple-style-span" face="Monaco"
size="2"><br class="Apple-interchange-newline">
__________________________________________</font></div>
<div><font class="Apple-style-span" face="Monaco"
size="2"><br class="webkit-block-placeholder">
</font></div>
<div><font class="Apple-style-span" face="Monaco"
size="2"> Paul Spencer</font></div>
<div><font class="Apple-style-span" face="Monaco"
size="2"> Chief Technology Officer</font></div>
<div><font class="Apple-style-span" face="Monaco"
size="2"> DM Solutions Group Inc</font></div>
<div><font class="Apple-style-span" face="Monaco"
size="2"> <a moz-do-not-send="true"
href="http://research.dmsolutions.ca/">http://research.dmsolutions.ca/</a></font></div>
</span></span>
</div>
<br>
</div>
</div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
fusion-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:fusion-users@lists.osgeo.org">fusion-users@lists.osgeo.org</a>
<a class="moz-txt-link-freetext" href="http://lists.osgeo.org/mailman/listinfo/fusion-users">http://lists.osgeo.org/mailman/listinfo/fusion-users</a>
</pre>
</blockquote>
</body>
</html>