Hi Rafael, Check in your mapfile (pmapper_demo.map) if the location of the epsg file is correct: CONFIG "PROJ_LIB" "/usr/share/proj/"
I remember now that I had to change it, before it was: CONFIG "PROJ_LIB" "/usr/*local*/share/proj/" Everything else should be ok from what I see. Please keep sending your messages to the pmapper list, there are better pmapper users than me out there! ; ) For your info, I always keep an eye on the following logs: - Apache error - PHP error - Mapserver error - PM debug Cheers, Chris On Wed, Feb 13, 2013 at 2:22 PM, Rafael Dantas <raffaeldan...@gmail.com>wrote: > Hi Chris, > > thanks for you reply! > > >>>>> > > > 2013/2/13 Chris forum <bak.fo...@gmail.com> > >> Here is what I have in my epsg file for projection >> 4326<http://spatialreference.org/ref/epsg/4326/proj4/> >> : >> <4326> +proj=longlat *+ellps=WGS84* +datum=WGS84 +no_defs <> >> > > Edited file: > > # WGS 84 > <4326> +proj=longlat +ellps=WGS84 +datum=WGS84 +no_defs <> > > >> >> For the legend, can't tell why is it pointing to the wrong directory. >> You could do a grep of $legPath to see where/how it is configured. >> >> It should work with www-data:rafael but I am used to set www-data:users >> or www-data:www-data >> To be safe, do it for both images and img directories. >> > > Executed: > > $sudo chown www-data:www-data img -R > drwxrwxr-x 8 www-data www-data 4096 Fev 11 23:29 img > > ok? > > >> >> Still don't know why you have 'PHP Notice: Undefined variable: >> plugin_cssFileList' >> but it's only a notice, a low level error that should not be a problem >> for the page to load. >> >> Hopefully the mapfile error will disappear along with the projection >> error. >> >> :( > > log: > > [Wed Feb 13 11:20:27 2013] [error] [client 127.0.0.1] PHP Notice: > Undefined variable: plugin_cssFileList in > /var/www/pmapper-5.0-beta2/config/__startup_config.php on line 467 > [Wed Feb 13 11:20:27 2013] [error] [client 127.0.0.1] PHP Warning: > ms_newMapObj(): [MapServer Error]: msProcessProjection(): proj error > "no system list, errno: 2\n" for "init=epsg:4326"\n in > /var/www/pmapper-5.0-beta2/lib/globals.php on line 66 > [Wed Feb 13 11:20:27 2013] [error] [client 127.0.0.1] PHP Fatal error: > Uncaught exception 'MapScriptException' with message 'Failed to open map > file "/var/www/pmapper-5.0-beta2/config/default/pmapper_demo.map", or map > file error.' in /var/www/pmapper-5.0-beta2/lib/globals.php:66\nStack > trace:\n#0 /var/www/pmapper-5.0-beta2/lib/globals.php(66): > ms_newMapObj('/var/www/pmappe...')\n#1 > /var/www/pmapper-5.0-beta2/index.phtml(17): > require_once('/var/www/pmappe...')\n#2 {main}\n thrown in > /var/www/pmapper-5.0-beta2/lib/globals.php on line 66 > > ------------------------------------------------------------------------------ Free Next-Gen Firewall Hardware Offer Buy your Sophos next-gen firewall before the end March 2013 and get the hardware for free! Learn more. http://p.sf.net/sfu/sophos-d2d-feb _______________________________________________ pmapper-users mailing list pmapper-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/pmapper-users