You have to read the migration doc (cartoline is deprecated) to use 
MapServer 6.

Le 11/01/2012 16:28, Eduardo Bieñkowski a écrit :
> Gracias Thomas:
> He hecho lo que me sugeriste y modifique el mapfile ahora, el error 
> es  siguiente:
>
> [11-Jan-2012 13:21:42] PHP Warning:  ms_newMapObj(): [MapServer 
> Error]: getSymbol(): Parsing error near (cartoline):(line 68)
>  in /var/www/pmapper-4.0/incphp/globals.php on line 60
> [11-Jan-2012 13:21:42] PHP Fatal error:  Uncaught exception 
> 'MapScriptException' with message 'Failed to open map file 
> "/var/www/pmapper-4.0/config/default/geoasse.map"' in 
> /var/www/pmapper-4.0/incphp/globals.php:60
>
> Creo que ahora el problema esta en el archivo de simbolos.
>
> Saludos
>
> ----------------------------------------------------------------------------------------------------------------
> Thomas, sorry for my bad English.
> I did what you suggested and change the mapfile now, the error is as 
> follows:
>
> [11-Jan-2012 13:21:42] PHP Warning: ms_newMapObj (): [MapServer 
> Error]: getSymbol (): Error Parsing near (Cartoline) (line 68)
> in / var/www/pmapper-4.0/incphp/globals.php on line 60
> [11-Jan-2012 13:21:42] PHP Fatal error: Uncaught exception 
> 'MapScriptException' with message 'Failed to open map file "/ 
> var/www/pmapper-4.0/config/default/geoasse.map"' in / 
> var/www/pmapper-4.0/incphp/globals.php: 60
>
> I think now the problem is in the symbol file.
>
> regards
>
> Eduardo
>
>
>
>
>
>
> 2012/1/11 Thomas RAFFIN <traf...@sirap.fr <mailto:traf...@sirap.fr>>
>
>     Hi,
>
>     I don't speak Spanish, but I think you are using mapfiles that are not
>     compatible with MapServer 6 ("Unknown identifier. Parsing error near
>     (BACKGROUNDCOLOR)").
>     Doc is here: http://mapserver.org/MIGRATION_GUIDE.html#migration
>
>     Concerning your OUTPUTFORMAT you have to take a look on your mapfile
>     where the PNG format is defined (maybe you have are using old
>     options).
>
>     The MapServer maling-list should help you.
>
>     Thomas
>
>
>     Le 11/01/2012 14:05, Eduardo Bieñkowski a écrit :
>     > Intenté lo que me dijiste pero me sigue tirando el error.
>     > Copio aquí:
>     >
>     > eduardo@eduardo:~$ shp2img -o mapa.png -m
>     > /var/www/pmapper-4.0/config/default/geoasse.map
>     > loadLabel(): Unknown identifier. Parsing error near
>     (BACKGROUNDCOLOR):(line
>     > 682)<br>
>     > msOutputFormatValidate(): General error message. OUTPUTFORMAT
>     png has
>     > IMAGEMODE RGB/RGBA, which is not supported for GD drivers.<br>
>     >
>     > Saludos
>     > Eduardo
>     >
>     > 2012/1/10 Nahum Castro<nahumcas...@gmail.com
>     <mailto:nahumcas...@gmail.com>>
>     >
>     >> Verifica tu .map con la aplicación de mapserver shp2img
>     >>
>     >> shp2img -o mimapa.png -m /ruta/a/tu/punto.map
>     >>
>     >> El error parece de mapserver.
>     >>
>     >> Saludos.
>     >> Nahum
>     >>
>     >>
>     >> 2012/1/10 Eduardo Bieñkowski<eduko...@gmail.com
>     <mailto:eduko...@gmail.com>>
>     >>
>     >>> Estimado Nahum
>     >>> Ahora si el php_error.log me envía un mensaje de error.
>     >>> Te lo copio aquí:
>     >>>
>     >>> [10-Jan-2012 09:55:43] PHP Warning:  session_start():
>     >>> open(/var/www/tmp/m/sess_m536j42p75pjemksmbrco0a916, O_RDWR)
>     failed: No
>     >>> such file or directory (2) in /var/www/pmapper-4.0/map.phtml
>     on line 29
>     >>> [10-Jan-2012 09:55:43] PHP Warning:  ms_newMapObj():
>     [MapServer Error]:
>     >>> loadOutputFormat(): OUTPUTFORMAT clause references driver
>     GD/JPEG, but this
>     >>> driver isn't configured.
>     >>>   in /var/www/pmapper-4.0/incphp/globals.php on line 60
>     >>> [10-Jan-2012 09:55:43] PHP Warning:  ms_newMapObj():
>     [MapServer Error]:
>     >>> msOutputFormatValidate(): OUTPUTFORMAT png has IMAGEMODE
>     RGB/RGBA, which is
>     >>> not supported for GD drivers.
>     >>>   in /var/www/pmapper-4.0/incphp/globals.php on line 60
>     >>> [10-Jan-2012 09:55:43] PHP Fatal error:  Uncaught exception
>     >>> 'MapScriptException' with message 'Failed to open map file
>     >>> "/var/www/pmapper-4.0/config/default/pmapper_demo.map"' in
>     >>> /var/www/pmapper-4.0/incphp/globals.php:60
>     >>> Stack trace:
>     >>> #0 /var/www/pmapper-4.0/incphp/globals.php(60):
>     >>> ms_newMapObj('/var/www/pmappe...')
>     >>> #1 /var/www/pmapper-4.0/map.phtml(37):
>     require_once('/var/www/pmappe...')
>     >>> #2 {main}
>     >>>    thrown in /var/www/pmapper-4.0/incphp/globals.php on line 60
>     >>> [10-Jan-2012 09:55:43] PHP Warning:  Unknown:
>     >>> open(/var/www/tmp/m/sess_m536j42p75pjemksmbrco0a916, O_RDWR)
>     failed: No
>     >>> such file or directory (2) in Unknown on line 0
>     >>> [10-Jan-2012 09:55:43] PHP Warning:  Unknown: Failed to write
>     session
>     >>> data (files). Please verify that the current setting of
>     session.save_path
>     >>> is correct (1;/var/www/tmp) in Unknown on line 0
>     >>>
>     >>> En teoría el directorio donde el servidor escribe la session
>     no es el
>     >>> correcto pero hasta ahora no me había enviado ningún tipo de
>     error.
>     >>>
>     >>> --
>     >>> Eduardo
>     >>>
>     >>
>     >>
>     >> --
>     >> Nahum Castro González
>     >> Blvd. Perdigón 214, Brisas del Lago.
>     >> CP 37216
>     >> León, Guanajuato, México
>     >> Tel (477)1950304
>     >>
>     >
>     >
>
>     
> ------------------------------------------------------------------------------
>     Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a
>     complex
>     infrastructure or vast IT resources to deliver seamless, secure
>     access to
>     virtual desktops. With this all-in-one solution, easily deploy virtual
>     desktops for less than the cost of PCs and save 60% on VDI
>     infrastructure
>     costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox
>     _______________________________________________
>     pmapper-users mailing list
>     pmapper-users@lists.sourceforge.net
>     <mailto:pmapper-users@lists.sourceforge.net>
>     https://lists.sourceforge.net/lists/listinfo/pmapper-users
>
>
>
>
> -- 
> Eduardo
------------------------------------------------------------------------------
Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex
infrastructure or vast IT resources to deliver seamless, secure access to
virtual desktops. With this all-in-one solution, easily deploy virtual 
desktops for less than the cost of PCs and save 60% on VDI infrastructure 
costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox
_______________________________________________
pmapper-users mailing list
pmapper-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pmapper-users

Reply via email to