<html><head></head><body><div class="ydp186d0c7cyahoo-style-wrap" style="font-family:Helvetica Neue, Helvetica, Arial, sans-serif;font-size:13px;"><div></div>
<div dir="ltr" data-setdir="false">Hi Jeff, </div><div dir="ltr" data-setdir="false"> </div><div dir="ltr" data-setdir="false"> I know that this is the correct syntax (<span><span style="font-family: Helvetica Neue, Helvetica, Arial, sans-serif;">new mapOb</span></span>) but isn't this file gererated during compilation time ? Are we supposed to change code in there ? </div><div dir="ltr" data-setdir="false">Thank you </div><div dir="ltr" data-setdir="false"><br></div><div dir="ltr" data-setdir="false">Regards,</div><div dir="ltr" data-setdir="false">Stefanos</div><div><br></div>
</div><div id="yahoo_quoted_4773980607" class="yahoo_quoted">
<div style="font-family:'Helvetica Neue', Helvetica, Arial, sans-serif;font-size:13px;color:#26282a;">
<div>
Στις ΤετάÏτη, 11 ΜαÏτίου 2020, 12:53:09 μ.μ. EET, ο χÏήστης Jeff McKenna <jmckenna@gatewaygeomatics.com> ÎγÏαψε:
</div>
<div><br></div>
<div><br></div>
<div><div dir="ltr">On 2020-03-11 4:47 a.m., Stefanos Anastasiou wrote:<br clear="none">> Hello,<br clear="none">> I also have the same problem. I have only compiled the PHPNG version <br clear="none">> and there is libphp_mapscriptng.so generated which I try to put in <br clear="none">> /usr/lib/php/2017(...) folder, as this is the extension folder shown by <br clear="none">> phpinfo(). But test_draw_map still fails complaining about new_mapObj <br clear="none">> in line 2508 (if I remember correct) of the mapscript.php file which I <br clear="none">> include in the beginning of the script as described in the migration <br clear="none">> guide <a shape="rect" href="https://mapserver.org/MIGRATION_GUIDE.html . " target="_blank">https://mapserver.org/MIGRATION_GUIDE.html . </a>I have compiled SWIG <br clear="none">> 3.0.12 .<br clear="none">> <br clear="none"><br clear="none">The correct syntax is: new mapObj('path/to/file.map');<br clear="none"><br clear="none">You can also find working scripts submitted by users in the "Additional <br clear="none">Notes, Tips" section at <a shape="rect" href="https://ms4w.com/trac" target="_blank">https://ms4w.com/trac</a><br clear="none"><br clear="none">-jeff<br clear="none"><br clear="none"><br clear="none">-- <br clear="none">Jeff McKenna<br clear="none">MapServer Consulting and Training Services<br clear="none"><a shape="rect" href="https://gatewaygeomatics.com/" target="_blank">https://gatewaygeomatics.com/</a><div class="yqt3498651986" id="yqtfd11739"><br clear="none"><br clear="none"><br clear="none"><br clear="none"><br clear="none"><br clear="none">_______________________________________________<br clear="none">mapserver-users mailing list<br clear="none"><a shape="rect" ymailto="mailto:mapserver-users@lists.osgeo.org" href="mailto:mapserver-users@lists.osgeo.org">mapserver-users@lists.osgeo.org</a><br clear="none"><a shape="rect" href="https://lists.osgeo.org/mailman/listinfo/mapserver-users" target="_blank">https://lists.osgeo.org/mailman/listinfo/mapserver-users</a></div></div></div>
</div>
</div></body></html>