Re: [pmapper-users] problem with legend folder...

2011-12-19 Thread VT
it works if I set jpeg in config_default.xml and
IMAGETYPE jpeg in pmapper_demo.map
With png output I get error messages as above.
createimg.log reports no error.
I didn't modify demo config_default.xml and mapfile.
I'm pretty sure that I built php against libpng but I didn't found it in
phpinfo. Could this be the problem?

thank you very much

Giorgio



2011/12/19 Thomas RAFFIN 

>  Adn you have removed all png files after applying the rights? What about
> the "createimage.log" (or something like that) in this directory ?
>
> Le 19/12/2011 18:27, VT a écrit :
>
> Thomas,
>
> chmod u+rwx legend
> chmod go+rwx legend
>
> but it gives me the same error and creates again the 0 byte file.
>
> Maybe something wrong with png creation?
>
> thank you
>
> Giorgio
>
>  2011/12/19 Thomas RAFFIN 
>
>> Hi,
>>
>> Have you already made that:
>> http://svn.pmapper.net/trac/wiki/DocQuickinstall#Directoryimageslegend
>> (after deleting the existing files) ?
>> Maybe your case require a chmod u+ on the directory
>>
>> Thomas
>>
>> Le 19/12/2011 17:59, VT a écrit :
>>  > Walter,
>> > deleted all files in /images/legend but problem is not solved.
>> > I get again the message
>> > "Uncaught exception 'MapScriptException' with message 'Failed
>> >> writing image to /var/www/pmapper-4.2.0/images/
>> > legend/countries_i0.png"
>> > The strange thing is that it creates a 0 bytes countries_i0.png (now the
>> > only file) into the folder.
>> > -rw-r--r-- 1 www-data www-data 0 2011-12-19 17:54 countries_i0.png
>> >
>> > thanks
>> >
>> > Giorgio
>> >
>> >
>> > 2011/12/19 Walter Lorenzetti
>> >
>> >> Hi Giorgio,
>> >>
>> >> you are  right to change mode and owned of images/legend, but you've to
>> >> change also files inside permissions...
>> >>
>> >> The fast way for the first time is to delete every files in the
>> >> images/legend folder.
>> >>
>> >> W
>> >>
>> >>
>> >> Il 19/12/2011 15:39, VT ha scritto:
>> >>> Hi all,
>> >>> I installed pmapper 4.2 (Ubuntu 10.04, php5.3.2) and tried to
>> configure
>> >> it
>> >>> with demo data.
>> >>> I chmoded and chowned images/legend folder:
>> >>> **
>> >>> drwxr-sr-x 2 root 2002  4096 2011-12-19 12:39 cursors
>> >>> -rw-r--r-- 1 root 2002   201 2006-11-19 15:03 downsimple.png
>> >>> -rw-r--r-- 1 root 2002  1406 2006-11-19 15:03 favicon.ico
>> >>> -rw-r--r-- 1 root 2002  1787 2007-12-09 16:27 indicator.gif
>> >>> drwxr-sr-x 2 root 2002  4096 2011-12-19 12:39 indicators
>> >>> -rw-r--r-- 1 root 200265 2006-12-30 12:43 infolink.gif
>> >>> -rw-r--r-- 1 root 2002   150 2006-11-19 15:03 layer.gif
>> >>> -rw-r--r-- 1 root 2002   127 2006-11-19 15:03 layers.gif
>> >>> drwxrwsrwx 2 www-data www-data  4096 2011-12-19 12:39 legend
>> >>> -rw-r--r-- 1 root 2002  1718 2006-11-19 15:03 loading.gif
>> >>> drwxr-sr-x 2 root 2002  4096 2011-12-19 12:39 logos
>> >>> -rw-r--r-- 1 root 200270 2007-01-03 22:45 menudown.gif
>> >>> drwxr-sr-x 2 root 2002  4096 2011-12-19 12:39 menus
>> >>> ***
>> >>>
>> >>> but when I try to open demo url:
>> >>> http://127.0.0.1/pmapper-4.2.0/map_default.phtml
>> >>>
>> >>> I get this message:
>> >>> Fatal error: Uncaught exception 'MapScriptException' with message
>> 'Failed
>> >>> writing image to
>> /var/www/pmapper-4.2.0/images/legend/countries_i0.png'
>> >> in
>> >>> /var/www/pmapper-4.2.0/incphp/init/initmap.php:523 Stack trace: #0
>> >>> /var/www/pmapper-4.2.0/incphp/init/initmap.php(523):
>> >>> imageObj->saveImage('/var/www/pmappe...') #1
>> >>> /var/www/pmapper-4.2.0/incphp/init/initmap.php(402):
>> >>> Init_map->createLegendList() #2
>> >>> /var/www/pmapper-4.2.0/incphp/init/initmap.php(69):
>> >> Init_map->_initLegend()
>> >>> #3 /var/www/pmapper-4.2.0/incphp/init/init.php(34):
>> >>> Init_map->initAllParameters() #4
>> >>> /var/www/pmapper-4.2.0/map_default.phtml(48):
>> >>> include_once('/var/www/pmappe...') #5 {main} thrown in
>> >>> /var/www/pmapper-4.2.0/incphp/init/initmap.php on line 523
>> >>>
>> >>> Here is the phperror log:
>> >>> [19-Dec-2011 15:19:54] PHP Fatal error:  Uncaught exception
>> >>> 'MapScriptException' with message 'Failed writing image to
>> >>> /var/www/pmapper-4.2.0/images/legend/countries_i0.png' in
>> >>> /var/www/pmapper-4.2.0/incphp/init/initmap.php:523
>> >>> Stack trace:
>> >>> #0 /var/www/pmapper-4.2.0/incphp/init/initmap.php(523):
>> >>> imageObj->saveImage('/var/www/pmappe...')
>> >>> #1 /var/www/pmapper-4.2.0/incphp/init/initmap.php(402):
>> >>> Init_map->createLegendList()
>> >>> #2 /var/www/pmapper-4.2.0/incphp/init/initmap.php(69):
>> >>> Init_map->_initLegend()
>> >>> #3 /var/www/pmapper-4.2.0/incphp/init/init.php(34):
>> >>> Init_map->initAllParameters()
>> >>> #4 /var/www/pmapper-4.2.0/map_default.phtml(48):
>> >>> include_once('/var/www/pmappe...')
>> >>> #5 {main}
>> >>> thrown in /var/www/pmapper-4.2.0/incphp/init/initmap.php on line 523
>> >>>
>> >>> Mapscript is regularly loaded in phpinfo:
>> >>>
>> >>> MapScrip

Re: [pmapper-users] problem with legend folder...

2011-12-19 Thread Thomas RAFFIN
Adn you have removed all png files after applying the rights? What about 
the "createimage.log" (or something like that) in this directory ?

Le 19/12/2011 18:27, VT a écrit :
> Thomas,
>
> chmod u+rwx legend
> chmod go+rwx legend
>
> but it gives me the same error and creates again the 0 byte file.
>
> Maybe something wrong with png creation?
>
> thank you
>
> Giorgio
>
> 2011/12/19 Thomas RAFFIN mailto:traf...@sirap.fr>>
>
> Hi,
>
> Have you already made that:
> http://svn.pmapper.net/trac/wiki/DocQuickinstall#Directoryimageslegend
> (after deleting the existing files) ?
> Maybe your case require a chmod u+ on the directory
>
> Thomas
>
> Le 19/12/2011 17:59, VT a écrit :
> > Walter,
> > deleted all files in /images/legend but problem is not solved.
> > I get again the message
> > "Uncaught exception 'MapScriptException' with message 'Failed
> >> writing image to /var/www/pmapper-4.2.0/images/
> > legend/countries_i0.png"
> > The strange thing is that it creates a 0 bytes countries_i0.png
> (now the
> > only file) into the folder.
> > -rw-r--r-- 1 www-data www-data 0 2011-12-19 17:54 countries_i0.png
> >
> > thanks
> >
> > Giorgio
> >
> >
> > 2011/12/19 Walter Lorenzetti >
> >
> >> Hi Giorgio,
> >>
> >> you are  right to change mode and owned of images/legend, but
> you've to
> >> change also files inside permissions...
> >>
> >> The fast way for the first time is to delete every files in the
> >> images/legend folder.
> >>
> >> W
> >>
> >>
> >> Il 19/12/2011 15:39, VT ha scritto:
> >>> Hi all,
> >>> I installed pmapper 4.2 (Ubuntu 10.04, php5.3.2) and tried to
> configure
> >> it
> >>> with demo data.
> >>> I chmoded and chowned images/legend folder:
> >>> **
> >>> drwxr-sr-x 2 root 2002  4096 2011-12-19 12:39 cursors
> >>> -rw-r--r-- 1 root 2002   201 2006-11-19 15:03
> downsimple.png
> >>> -rw-r--r-- 1 root 2002  1406 2006-11-19 15:03 favicon.ico
> >>> -rw-r--r-- 1 root 2002  1787 2007-12-09 16:27
> indicator.gif
> >>> drwxr-sr-x 2 root 2002  4096 2011-12-19 12:39 indicators
> >>> -rw-r--r-- 1 root 200265 2006-12-30 12:43 infolink.gif
> >>> -rw-r--r-- 1 root 2002   150 2006-11-19 15:03 layer.gif
> >>> -rw-r--r-- 1 root 2002   127 2006-11-19 15:03 layers.gif
> >>> drwxrwsrwx 2 www-data www-data  4096 2011-12-19 12:39 legend
> >>> -rw-r--r-- 1 root 2002  1718 2006-11-19 15:03 loading.gif
> >>> drwxr-sr-x 2 root 2002  4096 2011-12-19 12:39 logos
> >>> -rw-r--r-- 1 root 200270 2007-01-03 22:45 menudown.gif
> >>> drwxr-sr-x 2 root 2002  4096 2011-12-19 12:39 menus
> >>> ***
> >>>
> >>> but when I try to open demo url:
> >>> http://127.0.0.1/pmapper-4.2.0/map_default.phtml
> >>>
> >>> I get this message:
> >>> Fatal error: Uncaught exception 'MapScriptException' with
> message 'Failed
> >>> writing image to
> /var/www/pmapper-4.2.0/images/legend/countries_i0.png'
> >> in
> >>> /var/www/pmapper-4.2.0/incphp/init/initmap.php:523 Stack trace: #0
> >>> /var/www/pmapper-4.2.0/incphp/init/initmap.php(523):
> >>> imageObj->saveImage('/var/www/pmappe...') #1
> >>> /var/www/pmapper-4.2.0/incphp/init/initmap.php(402):
> >>> Init_map->createLegendList() #2
> >>> /var/www/pmapper-4.2.0/incphp/init/initmap.php(69):
> >> Init_map->_initLegend()
> >>> #3 /var/www/pmapper-4.2.0/incphp/init/init.php(34):
> >>> Init_map->initAllParameters() #4
> >>> /var/www/pmapper-4.2.0/map_default.phtml(48):
> >>> include_once('/var/www/pmappe...') #5 {main} thrown in
> >>> /var/www/pmapper-4.2.0/incphp/init/initmap.php on line 523
> >>>
> >>> Here is the phperror log:
> >>> [19-Dec-2011 15:19:54] PHP Fatal error:  Uncaught exception
> >>> 'MapScriptException' with message 'Failed writing image to
> >>> /var/www/pmapper-4.2.0/images/legend/countries_i0.png' in
> >>> /var/www/pmapper-4.2.0/incphp/init/initmap.php:523
> >>> Stack trace:
> >>> #0 /var/www/pmapper-4.2.0/incphp/init/initmap.php(523):
> >>> imageObj->saveImage('/var/www/pmappe...')
> >>> #1 /var/www/pmapper-4.2.0/incphp/init/initmap.php(402):
> >>> Init_map->createLegendList()
> >>> #2 /var/www/pmapper-4.2.0/incphp/init/initmap.php(69):
> >>> Init_map->_initLegend()
> >>> #3 /var/www/pmapper-4.2.0/incphp/init/init.php(34):
> >>> Init_map->initAllParameters()
> >>> #4 /var/www/pmapper-4.2.0/map_default.phtml(48):
> >>> include_once('/var/www/pmappe...')
> >>> #5 {main}
> >>> thrown in /var/www/pmapper-4.2.0/incphp/init/initmap.php on
> line 523
> >>>
> >>> Mapscript is regularly loaded in phpinfo:
> >>>
> >>> MapScript
> 

Re: [pmapper-users] problem with legend folder...

2011-12-19 Thread VT
Thomas,

chmod u+rwx legend
chmod go+rwx legend

but it gives me the same error and creates again the 0 byte file.

Maybe something wrong with png creation?

thank you

Giorgio

2011/12/19 Thomas RAFFIN 

> Hi,
>
> Have you already made that:
> http://svn.pmapper.net/trac/wiki/DocQuickinstall#Directoryimageslegend
> (after deleting the existing files) ?
> Maybe your case require a chmod u+ on the directory
>
> Thomas
>
> Le 19/12/2011 17:59, VT a écrit :
> > Walter,
> > deleted all files in /images/legend but problem is not solved.
> > I get again the message
> > "Uncaught exception 'MapScriptException' with message 'Failed
> >> writing image to /var/www/pmapper-4.2.0/images/
> > legend/countries_i0.png"
> > The strange thing is that it creates a 0 bytes countries_i0.png (now the
> > only file) into the folder.
> > -rw-r--r-- 1 www-data www-data 0 2011-12-19 17:54 countries_i0.png
> >
> > thanks
> >
> > Giorgio
> >
> >
> > 2011/12/19 Walter Lorenzetti
> >
> >> Hi Giorgio,
> >>
> >> you are  right to change mode and owned of images/legend, but you've to
> >> change also files inside permissions...
> >>
> >> The fast way for the first time is to delete every files in the
> >> images/legend folder.
> >>
> >> W
> >>
> >>
> >> Il 19/12/2011 15:39, VT ha scritto:
> >>> Hi all,
> >>> I installed pmapper 4.2 (Ubuntu 10.04, php5.3.2) and tried to configure
> >> it
> >>> with demo data.
> >>> I chmoded and chowned images/legend folder:
> >>> **
> >>> drwxr-sr-x 2 root 2002  4096 2011-12-19 12:39 cursors
> >>> -rw-r--r-- 1 root 2002   201 2006-11-19 15:03 downsimple.png
> >>> -rw-r--r-- 1 root 2002  1406 2006-11-19 15:03 favicon.ico
> >>> -rw-r--r-- 1 root 2002  1787 2007-12-09 16:27 indicator.gif
> >>> drwxr-sr-x 2 root 2002  4096 2011-12-19 12:39 indicators
> >>> -rw-r--r-- 1 root 200265 2006-12-30 12:43 infolink.gif
> >>> -rw-r--r-- 1 root 2002   150 2006-11-19 15:03 layer.gif
> >>> -rw-r--r-- 1 root 2002   127 2006-11-19 15:03 layers.gif
> >>> drwxrwsrwx 2 www-data www-data  4096 2011-12-19 12:39 legend
> >>> -rw-r--r-- 1 root 2002  1718 2006-11-19 15:03 loading.gif
> >>> drwxr-sr-x 2 root 2002  4096 2011-12-19 12:39 logos
> >>> -rw-r--r-- 1 root 200270 2007-01-03 22:45 menudown.gif
> >>> drwxr-sr-x 2 root 2002  4096 2011-12-19 12:39 menus
> >>> ***
> >>>
> >>> but when I try to open demo url:
> >>> http://127.0.0.1/pmapper-4.2.0/map_default.phtml
> >>>
> >>> I get this message:
> >>> Fatal error: Uncaught exception 'MapScriptException' with message
> 'Failed
> >>> writing image to /var/www/pmapper-4.2.0/images/legend/countries_i0.png'
> >> in
> >>> /var/www/pmapper-4.2.0/incphp/init/initmap.php:523 Stack trace: #0
> >>> /var/www/pmapper-4.2.0/incphp/init/initmap.php(523):
> >>> imageObj->saveImage('/var/www/pmappe...') #1
> >>> /var/www/pmapper-4.2.0/incphp/init/initmap.php(402):
> >>> Init_map->createLegendList() #2
> >>> /var/www/pmapper-4.2.0/incphp/init/initmap.php(69):
> >> Init_map->_initLegend()
> >>> #3 /var/www/pmapper-4.2.0/incphp/init/init.php(34):
> >>> Init_map->initAllParameters() #4
> >>> /var/www/pmapper-4.2.0/map_default.phtml(48):
> >>> include_once('/var/www/pmappe...') #5 {main} thrown in
> >>> /var/www/pmapper-4.2.0/incphp/init/initmap.php on line 523
> >>>
> >>> Here is the phperror log:
> >>> [19-Dec-2011 15:19:54] PHP Fatal error:  Uncaught exception
> >>> 'MapScriptException' with message 'Failed writing image to
> >>> /var/www/pmapper-4.2.0/images/legend/countries_i0.png' in
> >>> /var/www/pmapper-4.2.0/incphp/init/initmap.php:523
> >>> Stack trace:
> >>> #0 /var/www/pmapper-4.2.0/incphp/init/initmap.php(523):
> >>> imageObj->saveImage('/var/www/pmappe...')
> >>> #1 /var/www/pmapper-4.2.0/incphp/init/initmap.php(402):
> >>> Init_map->createLegendList()
> >>> #2 /var/www/pmapper-4.2.0/incphp/init/initmap.php(69):
> >>> Init_map->_initLegend()
> >>> #3 /var/www/pmapper-4.2.0/incphp/init/init.php(34):
> >>> Init_map->initAllParameters()
> >>> #4 /var/www/pmapper-4.2.0/map_default.phtml(48):
> >>> include_once('/var/www/pmappe...')
> >>> #5 {main}
> >>> thrown in /var/www/pmapper-4.2.0/incphp/init/initmap.php on line 523
> >>>
> >>> Mapscript is regularly loaded in phpinfo:
> >>>
> >>> MapScript
> >>> MapServer Version MapServer version 6.0.1 OUTPUT=GIF OUTPUT=PNG
> >>> OUTPUT=JPEG SUPPORTS=PROJ SUPPORTS=AGG SUPPORTS=FREETYPE SUPPORTS=ICONV
> >>> SUPPORTS=WMS_SERVER SUPPORTS=WMS_CLIENT SUPPORTS=WFS_SERVER
> >>> SUPPORTS=WFS_CLIENT SUPPORTS=WCS_SERVER SUPPORTS=SOS_SERVER
> >>> SUPPORTS=THREADS SUPPORTS=GEOS INPUT=POSTGIS INPUT=OGR INPUT=GDAL
> >>> INPUT=SHAPEFILE
> >>> PHP MapScript Version ($Revision: 11619 $ $Date: 2011-04-27
> 11:23:07
> >>> -0400 (Wed, 27 Apr 2011) $)
> >>>
> >>> Any help appreciated
> >>>
> >>> Thanks
> >>>
> >>> Giorgio
> >>>
> >>
> --
> >>> Learn Windows Azure Live!  Tuesday, Dec

Re: [pmapper-users] problem with legend folder...

2011-12-19 Thread Thomas RAFFIN
Hi,

Have you already made that: 
http://svn.pmapper.net/trac/wiki/DocQuickinstall#Directoryimageslegend 
(after deleting the existing files) ?
Maybe your case require a chmod u+ on the directory

Thomas

Le 19/12/2011 17:59, VT a écrit :
> Walter,
> deleted all files in /images/legend but problem is not solved.
> I get again the message
> "Uncaught exception 'MapScriptException' with message 'Failed
>> writing image to /var/www/pmapper-4.2.0/images/
> legend/countries_i0.png"
> The strange thing is that it creates a 0 bytes countries_i0.png (now the
> only file) into the folder.
> -rw-r--r-- 1 www-data www-data 0 2011-12-19 17:54 countries_i0.png
>
> thanks
>
> Giorgio
>
>
> 2011/12/19 Walter Lorenzetti
>
>> Hi Giorgio,
>>
>> you are  right to change mode and owned of images/legend, but you've to
>> change also files inside permissions...
>>
>> The fast way for the first time is to delete every files in the
>> images/legend folder.
>>
>> W
>>
>>
>> Il 19/12/2011 15:39, VT ha scritto:
>>> Hi all,
>>> I installed pmapper 4.2 (Ubuntu 10.04, php5.3.2) and tried to configure
>> it
>>> with demo data.
>>> I chmoded and chowned images/legend folder:
>>> **
>>> drwxr-sr-x 2 root 2002  4096 2011-12-19 12:39 cursors
>>> -rw-r--r-- 1 root 2002   201 2006-11-19 15:03 downsimple.png
>>> -rw-r--r-- 1 root 2002  1406 2006-11-19 15:03 favicon.ico
>>> -rw-r--r-- 1 root 2002  1787 2007-12-09 16:27 indicator.gif
>>> drwxr-sr-x 2 root 2002  4096 2011-12-19 12:39 indicators
>>> -rw-r--r-- 1 root 200265 2006-12-30 12:43 infolink.gif
>>> -rw-r--r-- 1 root 2002   150 2006-11-19 15:03 layer.gif
>>> -rw-r--r-- 1 root 2002   127 2006-11-19 15:03 layers.gif
>>> drwxrwsrwx 2 www-data www-data  4096 2011-12-19 12:39 legend
>>> -rw-r--r-- 1 root 2002  1718 2006-11-19 15:03 loading.gif
>>> drwxr-sr-x 2 root 2002  4096 2011-12-19 12:39 logos
>>> -rw-r--r-- 1 root 200270 2007-01-03 22:45 menudown.gif
>>> drwxr-sr-x 2 root 2002  4096 2011-12-19 12:39 menus
>>> ***
>>>
>>> but when I try to open demo url:
>>> http://127.0.0.1/pmapper-4.2.0/map_default.phtml
>>>
>>> I get this message:
>>> Fatal error: Uncaught exception 'MapScriptException' with message 'Failed
>>> writing image to /var/www/pmapper-4.2.0/images/legend/countries_i0.png'
>> in
>>> /var/www/pmapper-4.2.0/incphp/init/initmap.php:523 Stack trace: #0
>>> /var/www/pmapper-4.2.0/incphp/init/initmap.php(523):
>>> imageObj->saveImage('/var/www/pmappe...') #1
>>> /var/www/pmapper-4.2.0/incphp/init/initmap.php(402):
>>> Init_map->createLegendList() #2
>>> /var/www/pmapper-4.2.0/incphp/init/initmap.php(69):
>> Init_map->_initLegend()
>>> #3 /var/www/pmapper-4.2.0/incphp/init/init.php(34):
>>> Init_map->initAllParameters() #4
>>> /var/www/pmapper-4.2.0/map_default.phtml(48):
>>> include_once('/var/www/pmappe...') #5 {main} thrown in
>>> /var/www/pmapper-4.2.0/incphp/init/initmap.php on line 523
>>>
>>> Here is the phperror log:
>>> [19-Dec-2011 15:19:54] PHP Fatal error:  Uncaught exception
>>> 'MapScriptException' with message 'Failed writing image to
>>> /var/www/pmapper-4.2.0/images/legend/countries_i0.png' in
>>> /var/www/pmapper-4.2.0/incphp/init/initmap.php:523
>>> Stack trace:
>>> #0 /var/www/pmapper-4.2.0/incphp/init/initmap.php(523):
>>> imageObj->saveImage('/var/www/pmappe...')
>>> #1 /var/www/pmapper-4.2.0/incphp/init/initmap.php(402):
>>> Init_map->createLegendList()
>>> #2 /var/www/pmapper-4.2.0/incphp/init/initmap.php(69):
>>> Init_map->_initLegend()
>>> #3 /var/www/pmapper-4.2.0/incphp/init/init.php(34):
>>> Init_map->initAllParameters()
>>> #4 /var/www/pmapper-4.2.0/map_default.phtml(48):
>>> include_once('/var/www/pmappe...')
>>> #5 {main}
>>> thrown in /var/www/pmapper-4.2.0/incphp/init/initmap.php on line 523
>>>
>>> Mapscript is regularly loaded in phpinfo:
>>>
>>> MapScript
>>> MapServer Version MapServer version 6.0.1 OUTPUT=GIF OUTPUT=PNG
>>> OUTPUT=JPEG SUPPORTS=PROJ SUPPORTS=AGG SUPPORTS=FREETYPE SUPPORTS=ICONV
>>> SUPPORTS=WMS_SERVER SUPPORTS=WMS_CLIENT SUPPORTS=WFS_SERVER
>>> SUPPORTS=WFS_CLIENT SUPPORTS=WCS_SERVER SUPPORTS=SOS_SERVER
>>> SUPPORTS=THREADS SUPPORTS=GEOS INPUT=POSTGIS INPUT=OGR INPUT=GDAL
>>> INPUT=SHAPEFILE
>>> PHP MapScript Version ($Revision: 11619 $ $Date: 2011-04-27 11:23:07
>>> -0400 (Wed, 27 Apr 2011) $)
>>>
>>> Any help appreciated
>>>
>>> Thanks
>>>
>>> Giorgio
>>>
>> --
>>> Learn Windows Azure Live!  Tuesday, Dec 13, 2011
>>> Microsoft is holding a special Learn Windows Azure training event for
>>> developers. It will provide a great way to learn Windows Azure and what
>> it
>>> provides. You can attend the event by watching it streamed LIVE online.
>>> Learn more at http://p.sf.net/sfu/ms-windowsazure
>>> ___
>>> pmapper-users mailing list
>>> pmapper-users@lists.sourceforge.net
>>> https://lists.sourcef

Re: [pmapper-users] selection color/style (and unselect)

2011-12-19 Thread Thomas RAFFIN
Hi,

You should try to add this file 
http://svn.pmapper.net/trac/browser/trunk/pmapper/plugins/common/selectTools.inc.php
 
in your pmapper 4.0 because it is required by the selectionManagement 
plugin. I think it is the only dependency that is not in pmapper 4.0.

Thomas


Le 17/12/2011 10:06, Giovanni Manghi a écrit :
> On Sat, 2011-12-17 at 06:23 +, Chris Jackson wrote:
>> Hi Giovanni,
>> There is a selection management plugin that could be of use...
>
> Thanks Chris, seems is what I need. I find it only inside pmapper 4.2,
> anyone knows if it works olso on 4.0?
>
> Anyway it would be interesting for me to know if/where I can control the
> selection style within the pmapper code.
>
> Thanks in adavnce
>
> -- Giovanni --
>
>
> --
> Learn Windows Azure Live!  Tuesday, Dec 13, 2011
> Microsoft is holding a special Learn Windows Azure training event for
> developers. It will provide a great way to learn Windows Azure and what it
> provides. You can attend the event by watching it streamed LIVE online.
> Learn more at http://p.sf.net/sfu/ms-windowsazure
> ___
> pmapper-users mailing list
> pmapper-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/pmapper-users
>
>

--
Learn Windows Azure Live!  Tuesday, Dec 13, 2011
Microsoft is holding a special Learn Windows Azure training event for 
developers. It will provide a great way to learn Windows Azure and what it 
provides. You can attend the event by watching it streamed LIVE online.  
Learn more at http://p.sf.net/sfu/ms-windowsazure
___
pmapper-users mailing list
pmapper-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pmapper-users


Re: [pmapper-users] problem with legend folder...

2011-12-19 Thread VT
Walter,
deleted all files in /images/legend but problem is not solved.
I get again the message
"Uncaught exception 'MapScriptException' with message 'Failed
> writing image to /var/www/pmapper-4.2.0/images/
legend/countries_i0.png"
The strange thing is that it creates a 0 bytes countries_i0.png (now the
only file) into the folder.
-rw-r--r-- 1 www-data www-data 0 2011-12-19 17:54 countries_i0.png

thanks

Giorgio


2011/12/19 Walter Lorenzetti 

> Hi Giorgio,
>
> you are  right to change mode and owned of images/legend, but you've to
> change also files inside permissions...
>
> The fast way for the first time is to delete every files in the
> images/legend folder.
>
> W
>
>
> Il 19/12/2011 15:39, VT ha scritto:
> > Hi all,
> > I installed pmapper 4.2 (Ubuntu 10.04, php5.3.2) and tried to configure
> it
> > with demo data.
> > I chmoded and chowned images/legend folder:
> > **
> > drwxr-sr-x 2 root 2002  4096 2011-12-19 12:39 cursors
> > -rw-r--r-- 1 root 2002   201 2006-11-19 15:03 downsimple.png
> > -rw-r--r-- 1 root 2002  1406 2006-11-19 15:03 favicon.ico
> > -rw-r--r-- 1 root 2002  1787 2007-12-09 16:27 indicator.gif
> > drwxr-sr-x 2 root 2002  4096 2011-12-19 12:39 indicators
> > -rw-r--r-- 1 root 200265 2006-12-30 12:43 infolink.gif
> > -rw-r--r-- 1 root 2002   150 2006-11-19 15:03 layer.gif
> > -rw-r--r-- 1 root 2002   127 2006-11-19 15:03 layers.gif
> > drwxrwsrwx 2 www-data www-data  4096 2011-12-19 12:39 legend
> > -rw-r--r-- 1 root 2002  1718 2006-11-19 15:03 loading.gif
> > drwxr-sr-x 2 root 2002  4096 2011-12-19 12:39 logos
> > -rw-r--r-- 1 root 200270 2007-01-03 22:45 menudown.gif
> > drwxr-sr-x 2 root 2002  4096 2011-12-19 12:39 menus
> > ***
> >
> > but when I try to open demo url:
> > http://127.0.0.1/pmapper-4.2.0/map_default.phtml
> >
> > I get this message:
> > Fatal error: Uncaught exception 'MapScriptException' with message 'Failed
> > writing image to /var/www/pmapper-4.2.0/images/legend/countries_i0.png'
> in
> > /var/www/pmapper-4.2.0/incphp/init/initmap.php:523 Stack trace: #0
> > /var/www/pmapper-4.2.0/incphp/init/initmap.php(523):
> > imageObj->saveImage('/var/www/pmappe...') #1
> > /var/www/pmapper-4.2.0/incphp/init/initmap.php(402):
> > Init_map->createLegendList() #2
> > /var/www/pmapper-4.2.0/incphp/init/initmap.php(69):
> Init_map->_initLegend()
> > #3 /var/www/pmapper-4.2.0/incphp/init/init.php(34):
> > Init_map->initAllParameters() #4
> > /var/www/pmapper-4.2.0/map_default.phtml(48):
> > include_once('/var/www/pmappe...') #5 {main} thrown in
> > /var/www/pmapper-4.2.0/incphp/init/initmap.php on line 523
> >
> > Here is the phperror log:
> > [19-Dec-2011 15:19:54] PHP Fatal error:  Uncaught exception
> > 'MapScriptException' with message 'Failed writing image to
> > /var/www/pmapper-4.2.0/images/legend/countries_i0.png' in
> > /var/www/pmapper-4.2.0/incphp/init/initmap.php:523
> > Stack trace:
> > #0 /var/www/pmapper-4.2.0/incphp/init/initmap.php(523):
> > imageObj->saveImage('/var/www/pmappe...')
> > #1 /var/www/pmapper-4.2.0/incphp/init/initmap.php(402):
> > Init_map->createLegendList()
> > #2 /var/www/pmapper-4.2.0/incphp/init/initmap.php(69):
> > Init_map->_initLegend()
> > #3 /var/www/pmapper-4.2.0/incphp/init/init.php(34):
> > Init_map->initAllParameters()
> > #4 /var/www/pmapper-4.2.0/map_default.phtml(48):
> > include_once('/var/www/pmappe...')
> > #5 {main}
> > thrown in /var/www/pmapper-4.2.0/incphp/init/initmap.php on line 523
> >
> > Mapscript is regularly loaded in phpinfo:
> >
> > MapScript
> > MapServer Version MapServer version 6.0.1 OUTPUT=GIF OUTPUT=PNG
> > OUTPUT=JPEG SUPPORTS=PROJ SUPPORTS=AGG SUPPORTS=FREETYPE SUPPORTS=ICONV
> > SUPPORTS=WMS_SERVER SUPPORTS=WMS_CLIENT SUPPORTS=WFS_SERVER
> > SUPPORTS=WFS_CLIENT SUPPORTS=WCS_SERVER SUPPORTS=SOS_SERVER
> > SUPPORTS=THREADS SUPPORTS=GEOS INPUT=POSTGIS INPUT=OGR INPUT=GDAL
> > INPUT=SHAPEFILE
> > PHP MapScript Version ($Revision: 11619 $ $Date: 2011-04-27 11:23:07
> > -0400 (Wed, 27 Apr 2011) $)
> >
> > Any help appreciated
> >
> > Thanks
> >
> > Giorgio
> >
> --
> > Learn Windows Azure Live!  Tuesday, Dec 13, 2011
> > Microsoft is holding a special Learn Windows Azure training event for
> > developers. It will provide a great way to learn Windows Azure and what
> it
> > provides. You can attend the event by watching it streamed LIVE online.
> > Learn more at http://p.sf.net/sfu/ms-windowsazure
> > ___
> > pmapper-users mailing list
> > pmapper-users@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/pmapper-users
>
>
> --
>
> Walter Lorenzetti phD
> email: lorenze...@gis3w.it
> skype: aiki74
> Cell: (+39) 347-6597931  Tel+Fax: (+39) 0588 85021
> Viale Giuseppe Verdi n. 24, 51016
> Montecatini Terme,Pistoia
> P.IVA 01686280478
> Italy
>
>
>
> 

Re: [pmapper-users] problem with legend folder...

2011-12-19 Thread Walter Lorenzetti
Hi Giorgio,

you are  right to change mode and owned of images/legend, but you've to 
change also files inside permissions...

The fast way for the first time is to delete every files in the 
images/legend folder.

W


Il 19/12/2011 15:39, VT ha scritto:
> Hi all,
> I installed pmapper 4.2 (Ubuntu 10.04, php5.3.2) and tried to configure it
> with demo data.
> I chmoded and chowned images/legend folder:
> **
> drwxr-sr-x 2 root 2002  4096 2011-12-19 12:39 cursors
> -rw-r--r-- 1 root 2002   201 2006-11-19 15:03 downsimple.png
> -rw-r--r-- 1 root 2002  1406 2006-11-19 15:03 favicon.ico
> -rw-r--r-- 1 root 2002  1787 2007-12-09 16:27 indicator.gif
> drwxr-sr-x 2 root 2002  4096 2011-12-19 12:39 indicators
> -rw-r--r-- 1 root 200265 2006-12-30 12:43 infolink.gif
> -rw-r--r-- 1 root 2002   150 2006-11-19 15:03 layer.gif
> -rw-r--r-- 1 root 2002   127 2006-11-19 15:03 layers.gif
> drwxrwsrwx 2 www-data www-data  4096 2011-12-19 12:39 legend
> -rw-r--r-- 1 root 2002  1718 2006-11-19 15:03 loading.gif
> drwxr-sr-x 2 root 2002  4096 2011-12-19 12:39 logos
> -rw-r--r-- 1 root 200270 2007-01-03 22:45 menudown.gif
> drwxr-sr-x 2 root 2002  4096 2011-12-19 12:39 menus
> ***
>
> but when I try to open demo url:
> http://127.0.0.1/pmapper-4.2.0/map_default.phtml
>
> I get this message:
> Fatal error: Uncaught exception 'MapScriptException' with message 'Failed
> writing image to /var/www/pmapper-4.2.0/images/legend/countries_i0.png' in
> /var/www/pmapper-4.2.0/incphp/init/initmap.php:523 Stack trace: #0
> /var/www/pmapper-4.2.0/incphp/init/initmap.php(523):
> imageObj->saveImage('/var/www/pmappe...') #1
> /var/www/pmapper-4.2.0/incphp/init/initmap.php(402):
> Init_map->createLegendList() #2
> /var/www/pmapper-4.2.0/incphp/init/initmap.php(69): Init_map->_initLegend()
> #3 /var/www/pmapper-4.2.0/incphp/init/init.php(34):
> Init_map->initAllParameters() #4
> /var/www/pmapper-4.2.0/map_default.phtml(48):
> include_once('/var/www/pmappe...') #5 {main} thrown in
> /var/www/pmapper-4.2.0/incphp/init/initmap.php on line 523
>
> Here is the phperror log:
> [19-Dec-2011 15:19:54] PHP Fatal error:  Uncaught exception
> 'MapScriptException' with message 'Failed writing image to
> /var/www/pmapper-4.2.0/images/legend/countries_i0.png' in
> /var/www/pmapper-4.2.0/incphp/init/initmap.php:523
> Stack trace:
> #0 /var/www/pmapper-4.2.0/incphp/init/initmap.php(523):
> imageObj->saveImage('/var/www/pmappe...')
> #1 /var/www/pmapper-4.2.0/incphp/init/initmap.php(402):
> Init_map->createLegendList()
> #2 /var/www/pmapper-4.2.0/incphp/init/initmap.php(69):
> Init_map->_initLegend()
> #3 /var/www/pmapper-4.2.0/incphp/init/init.php(34):
> Init_map->initAllParameters()
> #4 /var/www/pmapper-4.2.0/map_default.phtml(48):
> include_once('/var/www/pmappe...')
> #5 {main}
> thrown in /var/www/pmapper-4.2.0/incphp/init/initmap.php on line 523
>
> Mapscript is regularly loaded in phpinfo:
>
> MapScript
> MapServer Version MapServer version 6.0.1 OUTPUT=GIF OUTPUT=PNG
> OUTPUT=JPEG SUPPORTS=PROJ SUPPORTS=AGG SUPPORTS=FREETYPE SUPPORTS=ICONV
> SUPPORTS=WMS_SERVER SUPPORTS=WMS_CLIENT SUPPORTS=WFS_SERVER
> SUPPORTS=WFS_CLIENT SUPPORTS=WCS_SERVER SUPPORTS=SOS_SERVER
> SUPPORTS=THREADS SUPPORTS=GEOS INPUT=POSTGIS INPUT=OGR INPUT=GDAL
> INPUT=SHAPEFILE
> PHP MapScript Version ($Revision: 11619 $ $Date: 2011-04-27 11:23:07
> -0400 (Wed, 27 Apr 2011) $)
>
> Any help appreciated
>
> Thanks
>
> Giorgio
> --
> Learn Windows Azure Live!  Tuesday, Dec 13, 2011
> Microsoft is holding a special Learn Windows Azure training event for
> developers. It will provide a great way to learn Windows Azure and what it
> provides. You can attend the event by watching it streamed LIVE online.
> Learn more at http://p.sf.net/sfu/ms-windowsazure
> ___
> pmapper-users mailing list
> pmapper-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/pmapper-users


-- 

Walter Lorenzetti phD
email: lorenze...@gis3w.it
skype: aiki74
Cell: (+39) 347-6597931  Tel+Fax: (+39) 0588 85021
Viale Giuseppe Verdi n. 24, 51016
Montecatini Terme,Pistoia
P.IVA 01686280478
Italy


--
Learn Windows Azure Live!  Tuesday, Dec 13, 2011
Microsoft is holding a special Learn Windows Azure training event for 
developers. It will provide a great way to learn Windows Azure and what it 
provides. You can attend the event by watching it streamed LIVE online.  
Learn more at http://p.sf.net/sfu/ms-windowsazure
___
pmapper-users mailing list
pmapper-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pmapper-users


[pmapper-users] problem with legend folder...

2011-12-19 Thread VT
Hi all,
I installed pmapper 4.2 (Ubuntu 10.04, php5.3.2) and tried to configure it
with demo data.
I chmoded and chowned images/legend folder:
**
drwxr-sr-x 2 root 2002  4096 2011-12-19 12:39 cursors
-rw-r--r-- 1 root 2002   201 2006-11-19 15:03 downsimple.png
-rw-r--r-- 1 root 2002  1406 2006-11-19 15:03 favicon.ico
-rw-r--r-- 1 root 2002  1787 2007-12-09 16:27 indicator.gif
drwxr-sr-x 2 root 2002  4096 2011-12-19 12:39 indicators
-rw-r--r-- 1 root 200265 2006-12-30 12:43 infolink.gif
-rw-r--r-- 1 root 2002   150 2006-11-19 15:03 layer.gif
-rw-r--r-- 1 root 2002   127 2006-11-19 15:03 layers.gif
drwxrwsrwx 2 www-data www-data  4096 2011-12-19 12:39 legend
-rw-r--r-- 1 root 2002  1718 2006-11-19 15:03 loading.gif
drwxr-sr-x 2 root 2002  4096 2011-12-19 12:39 logos
-rw-r--r-- 1 root 200270 2007-01-03 22:45 menudown.gif
drwxr-sr-x 2 root 2002  4096 2011-12-19 12:39 menus
***

but when I try to open demo url:
http://127.0.0.1/pmapper-4.2.0/map_default.phtml

I get this message:
Fatal error: Uncaught exception 'MapScriptException' with message 'Failed
writing image to /var/www/pmapper-4.2.0/images/legend/countries_i0.png' in
/var/www/pmapper-4.2.0/incphp/init/initmap.php:523 Stack trace: #0
/var/www/pmapper-4.2.0/incphp/init/initmap.php(523):
imageObj->saveImage('/var/www/pmappe...') #1
/var/www/pmapper-4.2.0/incphp/init/initmap.php(402):
Init_map->createLegendList() #2
/var/www/pmapper-4.2.0/incphp/init/initmap.php(69): Init_map->_initLegend()
#3 /var/www/pmapper-4.2.0/incphp/init/init.php(34):
Init_map->initAllParameters() #4
/var/www/pmapper-4.2.0/map_default.phtml(48):
include_once('/var/www/pmappe...') #5 {main} thrown in
/var/www/pmapper-4.2.0/incphp/init/initmap.php on line 523

Here is the phperror log:
[19-Dec-2011 15:19:54] PHP Fatal error:  Uncaught exception
'MapScriptException' with message 'Failed writing image to
/var/www/pmapper-4.2.0/images/legend/countries_i0.png' in
/var/www/pmapper-4.2.0/incphp/init/initmap.php:523
Stack trace:
#0 /var/www/pmapper-4.2.0/incphp/init/initmap.php(523):
imageObj->saveImage('/var/www/pmappe...')
#1 /var/www/pmapper-4.2.0/incphp/init/initmap.php(402):
Init_map->createLegendList()
#2 /var/www/pmapper-4.2.0/incphp/init/initmap.php(69):
Init_map->_initLegend()
#3 /var/www/pmapper-4.2.0/incphp/init/init.php(34):
Init_map->initAllParameters()
#4 /var/www/pmapper-4.2.0/map_default.phtml(48):
include_once('/var/www/pmappe...')
#5 {main}
thrown in /var/www/pmapper-4.2.0/incphp/init/initmap.php on line 523

Mapscript is regularly loaded in phpinfo:

MapScript
MapServer Version MapServer version 6.0.1 OUTPUT=GIF OUTPUT=PNG
OUTPUT=JPEG SUPPORTS=PROJ SUPPORTS=AGG SUPPORTS=FREETYPE SUPPORTS=ICONV
SUPPORTS=WMS_SERVER SUPPORTS=WMS_CLIENT SUPPORTS=WFS_SERVER
SUPPORTS=WFS_CLIENT SUPPORTS=WCS_SERVER SUPPORTS=SOS_SERVER
SUPPORTS=THREADS SUPPORTS=GEOS INPUT=POSTGIS INPUT=OGR INPUT=GDAL
INPUT=SHAPEFILE
PHP MapScript Version ($Revision: 11619 $ $Date: 2011-04-27 11:23:07
-0400 (Wed, 27 Apr 2011) $)

Any help appreciated

Thanks

Giorgio
--
Learn Windows Azure Live!  Tuesday, Dec 13, 2011
Microsoft is holding a special Learn Windows Azure training event for 
developers. It will provide a great way to learn Windows Azure and what it 
provides. You can attend the event by watching it streamed LIVE online.  
Learn more at http://p.sf.net/sfu/ms-windowsazure
___
pmapper-users mailing list
pmapper-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pmapper-users