[maplab-users] ms4w_maplab

Jeff McKenna jmckenna at dmsolutions.ca
Mon Feb 26 10:48:32 EST 2007


Comment inline below:

Buchholz, Robert wrote:
> 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?

Confirmed.  You probably read that on the MS4W download page: "MS4W 1.x 
is recommended for MapLab, because of possible problems with PHP5 in 
MS4W 2.x".  You've found that problem.


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

If you are willing to create and maintain a mapstorer-ms4w addon that 
would be great.  If so please let the MS4W mailing list know (join at 
http://lists.maptools.org/mailman/listinfo/ms4w-users)

jeff


-- 
Jeff McKenna
DM Solutions Group Inc.
http://www.dmsolutions.ca


More information about the Maplab-users mailing list