Laurent, the problem exists because of an overlapping of the gettext function '_()' and the one used in pmapper. On Windows it should not be a problem to disable the getetxt because it is probably loaded as an etxension and not compiled as dependency inside of PHP. So just disable it in the php.ini (should be: extension=php_gettext.dll).
I modified already the code to substitute '_()' with '_p()' and then it should not have any more this overlapping. It will be put into 1.1.1 soon, and 1.9.5 (or 2.0). Armin > Hello, > > I try to install p.mapper on a windows for testing purpose. I used first > a manual installation with apache 2.0.55, php 5.0.4 and > mapserver-4.5-win32-php5.0.3 with no real success neither with the last > developpement version nor the stable one. > Now, I use the Wamp 1.4.5 installation and the cartoweb3.1 installation > kit where I put the p.mapper directory. > Config.ini is modified and php.ini too as described on the web site... > > But I still find this when I select an option from the start.html page : > > "Fatal error: Cannot redeclare _() in > c:\wamp\www\pmapper\incphp\common.php on line 109" > > (the same error appeared with my manual installation of Apache/PHP) > > Any suggestion for a newbie in p.mapper ? > > Thanks in advance, > > Laurent > > > > _______________________________________________ > Pmapper-users mailing list > Pmapper-users at faunalia.it > http://faunalia.it/cgi-bin/mailman/listinfo/pmapper-users > -- DSL-Aktion wegen großer Nachfrage bis 28.2.2006 verlängert: GMX DSL-Flatrate 1 Jahr kostenlos* http://www.gmx.net/de/go/dsl