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 <>
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. 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. Good luck, Chris On Tue, Feb 12, 2013 at 5:57 PM, Rafael Dantas <raffaeldan...@gmail.com>wrote: > Hi Chris, > > tanks for the reply! > > Read my answers below: > > > 2013/2/12 Chris forum <bak.fo...@gmail.com> > >> Hi Rafael, >> >> Some infos below. >> >> Cheers, >> Chris >> >> >> On Tue, Feb 12, 2013 at 3:26 AM, Rafael Dantas >> <raffaeldan...@gmail.com>wrote: >> >>> sorry, >>> >>> I'm using Ubuntu 12.10... >>> >>> grateful >>> >>> >>> 2013/2/12 Rafael Dantas <raffaeldan...@gmail.com> >>> >>> > Hello all, >>> > >>> > sorry my english. >>> > >>> > I'm trying to install pmapper5 unsuccessfully. >>> > He just does not load anything and gives the following error message in >>> > the browser: Erro HTTP {500 (Internal Server Error) >>> > >>> > Also got the following error messages from Apache: >>> > >>> > [Tue Feb 12 00:13:00 2013] [error] [client 127.0.0.1] File does not >>> exist: >>> > /var/www/favicon.ico >>> >> Try to add a favicon into /var/www/ : any16x16px .ico file >> >> > I did this: > sudo cp -a /var/www/pmapper-5.0-beta2/img/favicon.ico /var/www/ > resolved > > > >>> > [Tue Feb 12 00:13:02 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, >>> > referer: http://localhost/pmapper-5.0-beta2/ >>> >> ??? >> >> >>> > >>> > [Tue Feb 12 00:13:02 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, referer: >>> > http://localhost/pmapper-5.0-beta2/ >>> >> Check in /usr/local/share/proj/ or /usr/share/proj/ if the projection >> 4326 is defined into the file 'epsg' >> > > Checked. > In the espg file, line line 487/498 is the information: > > # WGS 84 > <4326> +proj=longlat +datum=WGS84 +no_defs <> > > > >> >> >> > >>> > [Tue Feb 12 00:13:02 2013] [error] [client 127.0.0.1] PHP Warning: >>> > ms_newMapObj(): [MapServer Error]: msSaveImage(): Failed to create >>> output >>> > file (/var/www/pmapper/images/legend/countries_i0.png).\n in >>> > /var/www/pmapper-5.0-beta2/lib/globals.php on line 66, referer: >>> > http://localhost/pmapper-5.0-beta2/ >>> >> Do a 'chown -r www-data:users' to the directoy legend, Apache needs the >> right to write there. >> However it looks strange to me, as in my pmapper-5.0-beta2 installation, >> the parent directory of the legend one is called 'img' and not 'images' >> like your log is saying. 'images ' was used in pmapper 4.x though. >> >> > > There is something rotten in the kingdom of Denmark: > > rafael@rafael-note:/var/www/pmapper-5.0-beta2$ ls -la > total 76 > drwxrwxr-x 9 rafael rafael 4096 Fev 11 23:57 . > drwxr-xr-x 12 root root 4096 Fev 12 14:38 .. > drwxrwxr-x 6 rafael rafael 4096 Fev 12 01:46 config > drwxrwxr-x 6 rafael rafael 4096 Fev 11 23:29 css > -rwxrwxr-x 1 rafael rafael 2364 Fev 11 23:29 downloaddlg.phtml > -rwxrwxr-x 1 rafael rafael 3135 Fev 11 23:29 download.phtml > -rwxrwxr-x 1 rafael rafael 615 Fev 11 23:29 help.phtml > *drwxrwxr-x 8 rafael rafael 4096 Fev 11 23:29 img* > -rwxrwxr-x 1 rafael rafael 5765 Fev 11 23:29 index.phtml > drwxrwxr-x 5 rafael rafael 4096 Fev 11 23:29 js > drwxrwxr-x 10 rafael rafael 4096 Fev 12 01:59 lib > -rwxrwxr-x 1 rafael rafael 8846 Fev 11 23:29 license.txt > drwxrwxr-x 7 rafael rafael 4096 Fev 11 23:29 plugins > -rwxrwxr-x 1 rafael rafael 2320 Fev 11 23:29 printdlg.phtml > -rwxrwxr-x 1 rafael rafael 3713 Fev 11 23:29 printmap.phtml > drwxrwxr-x 2 rafael rafael 4096 Fev 11 23:29 test > > rafael@rafael-note:/var/www/pmapper-5.0-beta2$ ls -la /var/www/pmapper/ > total 120 > drwxrwxr-x 8 rafael rafael 4096 Nov 23 22:10 . > drwxr-xr-x 12 root root 4096 Fev 12 14:38 .. > drwxrwxr-x 5 rafael rafael 4096 Nov 23 22:10 config > -rwxrwxr-x 1 rafael rafael 17987 Jan 14 2009 COPYING > -rwxrwxr-x 1 rafael rafael 2080 Out 6 2010 debian.html > -rwxrwxr-x 1 rafael rafael 2373 Fev 7 2011 downloaddlg.phtml > -rwxrwxr-x 1 rafael rafael 3141 Set 28 12:22 download.phtml > -rwxrwxr-x 1 rafael rafael 624 Set 18 2010 help.phtml > -rwxrwxr-x 1 rafael rafael 110 Set 28 12:58 .htaccess > *drwxrwxr-x 9 rafael rafael 4096 Nov 23 22:10 images* > drwxrwxr-x 10 rafael rafael 4096 Nov 23 22:10 incphp > -rwxrwxr-x 1 rafael rafael 358 Fev 28 2010 index.phtml > drwxrwxr-x 4 rafael rafael 4096 Nov 23 22:10 javascript > -rwxrwxr-x 1 rafael rafael 15309 Set 4 2010 license.txt > -rwxrwxr-x 1 rafael rafael 8159 Jun 13 2011 map_default.phtml > -rwxrwxr-x 1 rafael rafael 6965 Jun 13 2011 map_uilayout.phtml > drwxrwxr-x 38 rafael rafael 4096 Nov 23 22:10 plugins > -rwxrwxr-x 1 rafael rafael 2026 Set 18 2010 printdlg.phtml > -rwxrwxr-x 1 rafael rafael 3594 Out 20 2011 printmap.phtml > -rwxrwxr-x 1 rafael rafael 433 Nov 14 2009 README.txt > drwxrwxr-x 5 rafael rafael 4096 Nov 23 22:10 templates > rafael@rafael-note:/var/www/pmapper-5.0-beta2$ > > Why is pointing to the wrong location? > > >> > >>> > [Tue Feb 12 00:13:02 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, referer: >>> > http://localhost/pmapper-5.0-beta2/ >>> >> Mapfile can not be opened, probably because of the other errors. >> >> > >>> > >>> > I would, if possible, any tips to understand the error messages that >>> > Apache is talking. >>> > >>> > grateful >>> > >>> > -- >>> > Rafael Dantas >>> > >>> >>> >>> >>> -- >>> Rafael Dantas >>> >>> ------------------------------------------------------------------------------ >>> 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 >>> >> >> > > > -- > Rafael Dantas > ------------------------------------------------------------------------------ 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