[mapguide-users] ParseLocaleDouble (PHP) with TCPDF

pcardinal pierre.cardinal at sympatico.ca
Tue Jan 26 05:02:14 PST 2016


Finally the problem was not the function "ParseLocaleDouble" but the fact
that we have to change the permission of the directory of the cache for
TCPDF. ("C:\Program Files\OSGeo\MapGuide\Web\www\fusion\lib\tcpdf\cache") =>
the installation script should be modified.

Also an other problem is the following code lines in "C:\Program
Files\OSGeo\MapGuide\Web\www\fusion\widgets\QuickPlot\PlotAsPDF.php"

   if("80" === $port)
    {
        $filelocation =
$protocol.$host.$pathString.$generatePage.$query_string;
        if ($showLegend)
            $legendfilelocation =
$protocol.$host.$legendPathString.$generateLegend.$legend_query_string;
    }
    else
    {
        $filelocation =
$protocol.$host.":".$port.$pathString.$generatePage.$query_string;
        if ($showLegend)
            $legendfilelocation =
$protocol.$host.":".$port.$legendPathString.$generateLegend.$legend_query_string;
    }


which I change for

        $filelocation =
$protocol.$_SERVER["COMPUTERNAME"].$pathString.$generatePage.$query_string;
        if ($showLegend)
            $legendfilelocation =
$protocol.$_SERVER["COMPUTERNAME"].$legendPathString.$generateLegend.$legend_query_string;




--
View this message in context: http://osgeo-org.1560.x6.nabble.com/ParseLocaleDouble-PHP-tp5247179p5247304.html
Sent from the MapGuide Users mailing list archive at Nabble.com.


More information about the mapguide-users mailing list