Hi,

I am trying to use pmapper with PHP 5.2.0 and Apache 2.2.3 under MS4W
v2.2.1. Since I was using some older PHP/Apache versions, I was hoping
the MS4W will make the things easier but...

After configuring all the stuff, I have tried opening the map (pmapper
3.0.0-beta1) and got the error:

PHP Fatal error:  zoomPoint failed : incorrect parameters in
C:\Projekti\GIS\WebGIS\pmapper-3.0.0-beta1\incphp\map.php on line 510

The line is:

$this->map->zoompoint($this->zoom_factor, $xy_pix, $this->mapwidth,
$this->mapheight, $this->geoext0, $this->maxextent);

...I have realised that mapwidth and mapheight are not defined
(error_log displays NaN). Going further, it seems that
$_SESSION["mapwidth"] is undefined even if defined in init.php after
line 42 ($_SESSION["mapwidth"]  = $mapW;).

Did I miss something?

thanks

regards, dejan

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
pmapper-users mailing list
pmapper-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pmapper-users

Reply via email to