Hello Paul,

it seems that you are using MS4W which provides PHP4.4.0 in its latest version. The problem is that CartoWeb3 requires PHP5!

For instance, at line 50 of Common.php there is a "public" keyword, only available in PHP5. That's probably the reason of your parse error.

We are preparing a Windows installer for CartoWeb based on WAMP (http://www.wampserver.com/en/index.php), that provides PHP5 and all other needed components. We'll post on the ML when it is ready. In the meantime it is possible to install WAMP and then follow the manual installation instructions, available at:
http://cartoweb.org/doc/cw3.1/xhtml/user.install.html#user.install.win32

Regards.
AS

Paul Shapley a écrit :
Dear List Users,

I'm new to Cartoweb. I'm having a problem getting the Demo
(client.php) to display.

The error is;

Parse error: parse error, expecting 'T_OLD_FUNCTION' or 'T_FUNCTION'
or 'T_VAR'or '}" in c:\ms4w\Apache\htdocs\cartoweb3\common\Common.php
on line 50

It seems to be linked somehow to the Mapscript.dll

If i display the 'info.php' page there is another error:

Warning: dl(): Unable to load dynamic
library'/ms4w/Apache/php/extensions/mapscript.dll' - The specified
module could not be found. in
c:\ms4w\Apache\htdocs\cartoweb3\htdocs\info.php on line 10
WARNING: can't load mapscript library

Has anyone had this problem. Should i have used 'wamp' instead of 'ms4w'?

Regards,

Paul Shapley

_______________________________________________
Cartoweb-users mailing list
[email protected]
http://lists.maptools.org/mailman/listinfo/cartoweb-users
_______________________________________________
Cartoweb-users mailing list
[email protected]
http://lists.maptools.org/mailman/listinfo/cartoweb-users

Reply via email to