Quantcast

ms4w_maplab

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

ms4w_maplab

robert_1
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

_______________________________________________
Maplab-users mailing list
[hidden email]
http://lists.maptools.org/mailman/listinfo/maplab-users
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: ms4w_maplab

Jeff McKenna-4
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
_______________________________________________
Maplab-users mailing list
[hidden email]
http://lists.maptools.org/mailman/listinfo/maplab-users
Loading...