*Hello,

I'll tried to run my application with apache+php+mapserver+pmapper in RHEL.
I'm getting the next errors when I run my application.*

[Tue Nov 30 11:29:01 2010] [error] [client 10.226.103.16] PHP Warning:
[MapServer Error]: msDrawMap(): Failed to draw layer named 'sombras'.\n in
/var/www/html/cultura/museos/CAC/sicac/pmapper-4.0.0/incphp/map/map.php on
line 326, referer:
http://localhost/cultura/museos/CAC/sicac/necropolis_map.phtml?config=necropolis<http://sicacpre/cultura/museos/CAC/sicac/necropolis_map.phtml?config=necropolis>
[Tue Nov 30 11:29:01 2010] [error] [client 10.226.103.16] PHP Warning:
[MapServer Error]: msDrawRaster(): Unrecognized or unsupported image
format\n in
/var/www/html/cultura/museos/CAC/sicac/pmapper-4.0.0/incphp/map/map.php on
line 326, referer:
http://localhost/cultura/museos/CAC/sicac/necropolis_map.phtml?config=necropolis<http://sicacpre/cultura/museos/CAC/sicac/necropolis_map.phtml?config=necropolis>
[Tue Nov 30 11:29:01 2010] [error] [client 10.226.103.16] PHP Warning:
[MapServer Error]: drawEPP():
/var/www/html/cultura/museos/CAC/sicac/datos_necropolis/sombras.tif is not
an EPPL file.\n in
/var/www/html/cultura/museos/CAC/sicac/pmapper-4.0.0/incphp/map/map.php on
line 326, referer:
http://localhost/cultura/museos/CAC/sicac/necropolis_map.phtml?config=necropolis<http://sicacpre/cultura/museos/CAC/sicac/necropolis_map.phtml?config=necropolis>
[Tue Nov 30 11:29:01 2010] [error] [client 10.226.103.16] PHP Fatal error:
Call to a member function saveImage() on a non-object in
/var/www/html/cultura/museos/CAC/sicac/pmapper-4.0.0/incphp/common.php on
line 257, referer:
http://localhost/cultura/museos/CAC/sicac/necropolis_map.phtml?config=necropolis<http://sicacpre/cultura/museos/CAC/sicac/necropolis_map.phtml?config=necropolis>

*I check this:*

*./mapserv -v
MapServer version 5.6.4 OUTPUT=GIF OUTPUT=PNG OUTPUT=JPEG OUTPUT=WBMP
OUTPUT=SVG SUPPORTS=PROJ SUPPORTS=AGG SUPPORTS=FREETYPE SUPPORTS=ICONV
SUPPORTS=WMS_SERVER SUPPORTS=WMS_CLIENT SUPPORTS=WFS_SERVER
SUPPORTS=WFS_CLIENT SUPPORTS=WCS_SERVER INPUT=TIFF INPUT=EPPL7 INPUT=OGR
INPUT=GDAL INPUT=SHAPEFILE

**gdalinfo --formats
Supported Formats:
  VRT (rw+): Virtual Raster
  GTiff (rw+): GeoTIFF
  .
  .
  .

*Everything seems ok and then I tried with:

*./shp2img -m
/var/www/html/cultura/museos/CAC/sicac/pmapper-4.0.0/config/necropolis/necropolis.map
-o /var/www/html/cultura/museos/CAC/sicac/ms_tmp/prueba.jpg
msDrawMap(): Image handling error. Failed to draw layer named 'sombras'.
<br>
msDrawRaster(): Image handling error. Unrecognized or unsupported image
format <br>
drawEPP(): Image handling error.
/var/www/html/cultura/museos/CAC/sicac/datos_necropolis/sombras.tif is not
an EPPL file. <br>
*
*I don't know what else can I try. Any idea to solve this problem.

Thanks in advance
**
*
-- 
FJRicca
------------------------------------------------------------------------------
Increase Visibility of Your 3D Game App & Earn a Chance To Win $500!
Tap into the largest installed PC base & get more eyes on your game by
optimizing for Intel(R) Graphics Technology. Get started today with the
Intel(R) Software Partner Program. Five $500 cash prizes are up for grabs.
http://p.sf.net/sfu/intelisp-dev2dev
_______________________________________________
pmapper-users mailing list
pmapper-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pmapper-users

Reply via email to