Hi, Very difficult for me to understand your email. By the way, you are talking about "BACKGROUNDCOLOR", so I think you are using MapServer >= 6 with mapfile made for MapServer < 6.
The migration guide is here : http://mapserver.org/MIGRATION_GUIDE.html#migration Thomas Le 22/11/2011 02:50, Eduardo Bieñkowski a écrit : > ---------- Forwarded message ---------- > From: Eduardo Bieñkowski<eduko...@gmail.com> > Date: 2011/11/10 > Subject: Re: [pmapper-users] Problemas para abrir aplicación. > To: Albert Bonsoms<abons...@gmail.com> > Cc: pmapper-users@lists.sourceforge.net > > > Como les contaba en un mail reportado anteriormente sin respuesta > "Problemas al migrar" , tengo el mismo problema que Albert. > Me tira lo siguiente > > *Warning*: ms_newMapObj() > [function.ms-newmapobj<http://localhost/pmapper-4.0/function.ms-newmapobj>]: > [MapServer Error]: loadLabel(): Parsing error near (BACKGROUNDCOLOR):(line > 502) in */var/www/pmapper-4.0/incphp/globals.php* on line *60* > > *Warning*: ms_newMapObj() > [function.ms-newmapobj<http://localhost/pmapper-4.0/function.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* > > *Fatal error*: Uncaught exception 'MapScriptException' with message 'Failed > to open map file "/var/www/pmapper-4.0/config/default/imagenologia.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* > > Igual que Albert necesito ayuda . > Saludos > > English translate > > As I had previously reported an unanswered mail "Problems when migration", > it generates the same problem as Albert. > The error message is: > *Warning*: ms_newMapObj() > [function.ms-newmapobj<http://localhost/pmapper-4.0/function.ms-newmapobj>]: > [MapServer Error]: loadLabel(): Parsing error near (BACKGROUNDCOLOR):(line > 502) in */var/www/pmapper-4.0/incphp/globals.php* on line *60* > > *Warning*: ms_newMapObj() > [function.ms-newmapobj<http://localhost/pmapper-4.0/function.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* > > *Fatal error*: Uncaught exception 'MapScriptException' with message 'Failed > to open map file "/var/www/pmapper-4.0/config/default/imagenologia.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* > > Regards > Eduardo > > > > > > > 2011/11/10 Albert Bonsoms<abons...@gmail.com> > >> Tengo un proyecto que me funciona perfectamente con pmapper 4.0.0, quiero >> que me funcione con pmapper 4.2.0 y me sale el siguiente error. >> >> >> Warning: ms_newMapObj(): [MapServer Error]: loadOutputFormat(): >> OUTPUTFORMAT clause references driver GD/JPEG, but this driver isn't >> configured. in C:\ms4w\apps\pmapper\pmapper-4.2.0\incphp\globals.php on >> line 66 Warning: ms_newMapObj(): [MapServer Error]: >> msOutputFormatValidate(): OUTPUTFORMAT png has IMAGEMODE RGB/RGBA, which is >> not supported for GD drivers. in >> C:\ms4w\apps\pmapper\pmapper-4.2.0\incphp\globals.php on line 66 Fatal >> error: Uncaught exception 'MapScriptException' with message 'Failed to open >> map file "C:/ms4w/apps/pmapper/pmapper-4.2.0/config/Bisbal/Bisbal.map"' in >> C:\ms4w\apps\pmapper\pmapper-4.2.0\incphp\globals.php:66 Stack trace: #0 >> C:\ms4w\apps\pmapper\pmapper-4.2.0\incphp\globals.php(66): >> ms_newMapObj('C:/ms4w/apps/pm...') #1 >> C:\ms4w\apps\pmapper\pmapper-4.2.0\map_Bisbal.phtml(37): >> require_once('C:\ms4w\apps\pm...') #2 {main} thrown in >> C:\ms4w\apps\pmapper\pmapper-4.2.0\incphp\globals.php on line 66 >> >> Me podeis ayudar, gracias. >> >> ------------------------------------------------------------------------------ >> RSA(R) Conference 2012 >> Save $700 by Nov 18 >> Register now >> http://p.sf.net/sfu/rsa-sfdev2dev1 >> _______________________________________________ >> pmapper-users mailing list >> pmapper-users@lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/pmapper-users >> > > ------------------------------------------------------------------------------ All the data continuously generated in your IT infrastructure contains a definitive record of customers, application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-novd2d _______________________________________________ pmapper-users mailing list pmapper-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/pmapper-users