|
||||
[Fwd: Re: [maplab-users] Starting tutorial next - more]Paul Spencer spencer@dmsolutions.caThu, 30 Jan 2003 09:31:17 -0500
|
This is a multi-part message in MIME format. --------------060006070904020103010002 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit forgot maplab-users on this one. -- Paul Spencer Applications and Software Development DM Solutions Group Inc. http://www.dmsolutions.ca --------------060006070904020103010002 Content-Type: message/rfc822; name="Re: [maplab-users] Starting tutorial next - more" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="Re: [maplab-users] Starting tutorial next - more" Message-ID: <3E393450.6030403@magma.ca> Date: Thu, 30 Jan 2003 09:18:56 -0500 From: Paul Spencer <pagameba@magma.ca> Reply-To: spencer@dmsolutions.ca User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.3a) Gecko/20021212 X-Accept-Language: en-us, en MIME-Version: 1.0 To: VAN DEN BUSSCHE FA PREF31 <FA.VAN-DEN-BUSSCHE@haute-garonne.pref.gouv.fr> Subject: Re: [maplab-users] Starting tutorial next - more References: <200301301138.MAA12395@checkpoint.interieur.gouv.fr> In-Reply-To: <200301301138.MAA12395@checkpoint.interieur.gouv.fr> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit <div class="moz-text-flowed" style="font-family: -moz-fixed">um. There is a note in the latest cvs version of maplab that I changed the default image type from GIF to PNG. If you look in the preview.php file around this line, you might find something that looks like the following (without the additional line feed on the last line): if (!session_is_registered("gszImageType")) $urlMainMap = $imgMainMap->saveWebImage(MS_PNG, 0, 0, -1); else eval("\$urlMainMap = \$imgMainMap->saveWebImage(MS_".$gszImageType.", 0, 0, -1);"); except that the second line probably uses MS_GIF instead of MS_PNG. If this is the case, try changing MS_GIF to MS_PNG. If this fixes your problem, great. But it means that for some reason, the value gszImageType is not getting registered in your session, which would be odd. If this doesn't fix your problem then it means that gszImageType is set (the second part of the else is being executed) but it is not set to PNG (something like "png" or "Png" or ".png" perhaps?). Check the configuration file and make sure that the imagetype is set to PNG (capitals). We will add a fix to make sure that any value is converted to uppercase at this point to avoid this type of problem in the future. Cheers, Paul VAN DEN BUSSCHE FA PREF31 wrote: > For my prior message about the error : > > Fatal error: Failed writing image to /tmp/104395273553851.gif in > /usr/local/httpd/htdocs/maplab/htdocs/mapedit/preview.php(444) : > eval()'d code on line 1 > > I look in the /tmp directory and I find 9 files suffixed by .png and 1 > by .gif, this last one is zero'd size. > > --- > Franz-Albert VAN DEN BUSSCHE > SIRACED-PC Haute-Garonne > Chef de Bureau > -- Paul Spencer Applications and Software Development DM Solutions Group Inc. http://www.dmsolutions.ca </div> --------------060006070904020103010002--
This archive was generated by Pipermail. |
MapTools.org -- Hosted by DM Solutions Group |