Hi, i am a newbie at pmapper and i have a similar problem to norbert and couldn't resolve it. There is a black screen and a never ending loading hint, if I start pmapper 3.1. The mapserver is working, because i've tested it with 'test_draw_map.phtml'. Besides pmapper works with Rasterlayer (demo: europa_dem.tif), but not with shapes! The layer-names are correctly shown in the layer-window. The tmp-folder exists, is writable and there are temporary png's in it, which i can open directly in a browser.
In the apache log there is the following error: [Thu Mar 15 15:05:51 2007] [error] [client x.x.x.x] PHP Notice: Use of undefined constant jpeg - assumed 'jpeg' in /srv/www/htdocs/pmapper31/incphp/init/initmap.php on line 366 [Thu Mar 15 15:05:51 2007] [error] [client x.x.x.x] Directory index forbidden by Options directive: /srv/www/htdocs/pmapper31/images/, referer: http://x.x.x.x/pmapper31/map.phtml [Thu Mar 15 15:05:51 2007] [error] [client x.x.x.x] PHP Warning: Division by zero in /srv/www/htdocs/pmapper31/incphp/map.php on line 290, referer: http://x.x.x.x/pmapper31/map.phtml [Thu Mar 15 15:05:51 2007] [error] [client x.x.x.x] PHP Warning: Division by zero in /srv/www/htdocs/pmapper31/incphp/map.php on line 291, referer: http://x.x.x.x/pmapper31/map.phtml [Thu Mar 15 15:05:51 2007] [error] [client x.x.x.x] PHP Warning: Division by zero in /srv/www/htdocs/pmapper31/incphp/map.php on line 292, referer: http://x.x.x.x/pmapper31/map.phtml [Thu Mar 15 15:05:51 2007] [error] [client x.x.x.x] PHP Warning: Division by zero in /srv/www/htdocs/pmapper31/incphp/map.php on line 293, referer: http://x.x.x.x/pmapper31/map.phtml [Thu Mar 15 15:05:51 2007] [error] [client x.x.x.x] PHP Warning: Division by zero in /srv/www/htdocs/pmapper31/incphp/map.php on line 294, referer: http://x.x.x.x/pmapper31/map.phtml [Thu Mar 15 15:05:51 2007] [error] [client x.x.x.x] PHP Warning: Division by zero in /srv/www/htdocs/pmapper31/incphp/map.php on line 295, referer: http://x.x.x.x/pmapper31/map.phtml There a no further errors in php logs. There must be a problem in the pmapper-config or in the map-file. What is the solution. Thank's a lot, Tim P.S. here is the demo.map: ------------------- MAP NAME USA1 STATUS ON SIZE 800 500 RESOLUTION 96 IMAGETYPE PNG IMAGECOLOR 240 240 240 SHAPEPATH "/srv/data/maps/" EXTENT -8000000 300000 5000000 1500000 UNITS METERS PROJECTION "proj=lcc" "lat_1=32" "lat_2=44" "lat_0=38" "lon_0=-100" "x_0=0" "y_0=0" "ellps=GRS80" "datum=NAD83" END WEB IMAGEPATH "/srv/www/htdocs/tmp/" IMAGEURL "/tmp/" END LAYER NAME "US_state_boundaries" TYPE POLYGON STATUS ON DATA "statesp020" PROJECTION "proj=latlong" "ellps=GRS80" "datum=NAD83" END CLASS NAME "US states" OUTLINECOLOR 60 60 60 COLOR 255 255 0 SYMBOL 0 END END LAYER NAME "credits" STATUS DEFAULT TRANSFORM FALSE TYPE ANNOTATION FEATURE POINTS 10 480 END TEXT 'Made with Mapserver.' END CLASS LABEL TYPE BITMAP POSITION CR COLOR 0 0 0 END END END END --------------------------- and the config.ini: --------------------------- [GENERAL] pmapper = 3.1.0 msVersion = 410 pm_config_location = default mapFile = demo.map pm_default_language = de defCharset = UTF-8 map2unicode = 1 layerAutoRefresh = 1 limitResult = 300 highlightColor = 0, 255, 255 highlightSelected = on autoZoom = search zoomAll = search nquery infoWin = window alignQueryResults = 1 pointBuffer = 10000 catStyle = tree grpStyle = tree legStyle = swap useCategories = 0 scaleLayers = 1 icoW = 18 icoH = 14 imgFormat = png sliderMax = max sliderMin = 100000 pdfres = 2 dpiLevels = 150, 200, 300 debugLevel = 1 ------------------------------------------------------------------------- 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