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

2011-12-21 Thread VT
Thomas and Armin, compiled mapserv -v cgi returns OUTPUT=PNG I'll checked apache error log and modify OUTPUTFORMAT in mapfile using also different drivers. Thank you very much for you help Valerio 2011/12/20 Armin Burger armin.bur...@gmail.com just run mapserv -v for your compiled Mapserver

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

2011-12-20 Thread Thomas RAFFIN
Hi, Createimg.log is only here for its date. OK, the error is due to your PHP / Mapserver compilation. Does Mapserver CGI write PNG images? There are few different ways to use PNG ouput with MapServer (GD, AGG, maybe openGL, and differrents options). Maybe you should try with different

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

2011-12-20 Thread Armin Burger
just run mapserv -v for your compiled Mapserver CGI and if it does not contain OUTPUT=PNG then the support for PNG is missing. Or you have some broken dependencies, check also the apache error log for segmentation faults if you use MS 6.0. It has a re-written/re-structured PHP Mapscript code

[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

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

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

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

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 traf...@sirap.fr Hi, Have you already made that:

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.

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

2011-12-19 Thread VT
it works if I set imgFormatjpeg/imgFormat 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