[maplab-users] ms4w_maplab

Buchholz, Robert Robert.Buchholz at LUA.Brandenburg.de
Mon Feb 26 06:41:18 EST 2007


Dear list,

I got problems with the applications on ms4w 2.2.2.
ms4w is installed in C: directory, as well as some app. I have created
the necessary files at \apache\htdos\ (i.e..: maplab-2.2.1.pkg.html) and
at \ms4w\httpd.d (i.e.: maplab.conf). These apps are presented on the
indexpage of ms4w (so server is running).
I face one problem. Opening 

Maplab 2.2.1 -> MapEdit-> Open map-> tutorial.map -> Preview

I receive the error:

Warning: [MapServer Error]: loadClass(): Too many CLASS styles defined,
only 5 allowed. To change, edit value of MS_MAXSTYLES in map.h and
recompile. in
C:\ms4w\apps\maplab-2.2.1\htdocs\common\wrapper\map_session.php on line
215
Warning: Failed to open map file /ms4w/tmp//45dd71021a7ae.map in
C:\ms4w\apps\maplab-2.2.1\htdocs\common\wrapper\map_session.php on line
215
Warning: [MapServer Error]: loadClass(): Too many CLASS styles defined,
only 5 allowed. To change, edit value of MS_MAXSTYLES in map.h and
recompile. in
C:\ms4w\apps\maplab-2.2.1\htdocs\common\wrapper\map_session.php on line
215
Warning: [MapServer Error]: loadClass(): Too many CLASS styles defined,
only 5 allowed. To change, edit value of MS_MAXSTYLES in map.h and
recompile. in
C:\ms4w\apps\maplab-2.2.1\htdocs\common\wrapper\map_session.php on line
215
Warning: Failed to open map file /ms4w/tmp//45dd71021a7ae.map in
C:\ms4w\apps\maplab-2.2.1\htdocs\common\wrapper\map_session.php on line
215
Fatal error: Call to a member function set() on a non-object in
C:\ms4w\apps\maplab-2.2.1\htdocs\mapedit\preview.php on line 311

Unfortunately I cannot find the map.h file. If I would, I might be able
to do modification, but how do I compile then? Where to?
I read somewhere that might be a problem with the PHP version 5.2.0 from
ms4w. Can someone confirm this?

As I imagine Maplab is a powerful tool in creating own web-services and
good for to get practice. 

Did somebody try to integrate MapStorer to ms4w? It is not from the
maptools site but as well a helpful tool.

I would be thankful for any help.

Regards,
Robert



More information about the Maplab-users mailing list