On 22/06/2009 22:26, Chris Green wrote: > Hi Armin > > Thanks very much for the reply. I started again with a new installation of > ms4W which resolved all of my problems with the php error_log and getting > the pmapperv4 demo running. So far so good, but one problem remaining when I > modify the demo data on which I hope you or someone can help. > > I have changed the layer definitions in the map file and in > config_default.xml, and copied my own data into pmapper_demodata. The demo > runs and everything appears except the map, where the loading bar hangs > indefinitely. Moving the scale slider provokes a php error, which is: > PHP Warning: getLayerByName failed for : cities10000eu in > C:\ms4w\apps\pmapper\pmapper-4.0.beta2\incphp\map\map.php on line 708 > > There is obviously still some reference to the original demo layer > cities10000eu somewhere, but I have looked everywhere and can't find it. Any > suggestions what I should do to overcome this (hopefully last) problem > please? > > > Chris Green >
try: - Check the complete xml config file for the string 'cities10000eu' - delete all cookies in your browser - force reload the application (Ctrl-F5) My guess is a remaining session entry for an old selection... MS4W uses cookies for sessions, so sessions can be persistent (I always recommend to disable this for p.mapper, at least in the development phase with lots of modifications). armin ------------------------------------------------------------------------------ Are you an open source citizen? Join us for the Open Source Bridge conference! Portland, OR, June 17-19. Two days of sessions, one day of unconference: $250. Need another reason to go? 24-hour hacker lounge. Register today! http://ad.doubleclick.net/clk;215844324;13503038;v?http://opensourcebridge.org _______________________________________________ pmapper-users mailing list pmapper-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/pmapper-users