[Cartoweb-users] php startup error
oliver
oliver.christen at camptocamp.com
Fri Dec 2 04:30:02 EST 2005
Hi Paul,
please verify that you have
<?php
exit();
}
and not
<?
exit();
}
at line 135 of the cw3setup.php file.
This is a known issue and it was fixed in the cvs version.
It prevent the installation script to complet, hence your second error, as
the base-url is not set.
Please let me know if this doesnt solve the problem.
Regards
Oliver Christen
Camptocamp SA
> Hi List Users,
>
> I'm getting two errors. One is when i startup 'cw3setup.php' in the
> 'terminal' app (mac os x) i get:
>
> %$> php
cw3setup.php --install --base-url=http://localhost/cartoweb3/htdocs/
>
> "Parse error: parse error in
> /Library/WebServer/Documents/cartoweb3/cw3setup.php on line 271"
>
> --------------------------------------------------------------------------
----------------------------------------------
>
> the other is when i open my browser to point to;
>
> http://localhost/cartoweb3/htdocs/demoCW3.php
>
> I get:
>
>
> An exception in early stage occured:
> object(CartoclientException)#35 (7) {
> ["msg:private"]=>
> string(48) "You need to set cartoclientBaseUrl in client.ini"
> ["message:protected"]=>
> string(777) "You need to set cartoclientBaseUrl in client.ini
> Backtrace:
>
> file: 121 - /Library/WebServer/Documents/cartoweb3/client/Cartoclient.php
> call: ClientConfig::__construct()
>
> file: 403 - /Library/WebServer/Documents/cartoweb3/client/Cartoclient.php
> call: ClientConfig->__construct(Object(ClientProjectHandler))
>
> file: 550 - /Library/WebServer/Documents/cartoweb3/client/Cartoclient.php
> call: Cartoclient->getConfig()
>
> file: 362 - /Library/WebServer/Documents/cartoweb3/client/Cartoclient.php
> call: Cartoclient->initializePlugins()
>
> file: 36 - /Library/WebServer/Documents/cartoweb3/htdocs/client.php
> call: Cartoclient->__construct()
>
> file: 3 - /Library/WebServer/Documents/cartoweb3/htdocs/demoCW3.php
> call:
require_once("/Library/WebServer/Documents/cartoweb3/htdocs/client.php")
>
> This error goes on!!
>
> Any ideas?.
>
> Many thanks,
>
> Paul Shapley
>
> _______________________________________________
> Cartoweb-users mailing list
> Cartoweb-users at lists.maptools.org
> http://lists.maptools.org/mailman/listinfo/cartoweb-users
>
More information about the Cartoweb-users
mailing list