[Cartoweb-users] Problem with Cartoweb basic setup

Jill Recla jill.recla at jax.org
Mon Feb 11 09:27:02 EST 2008


Hi Oliver,

I tried it the other way around and I get the same blank result.  Any 
other ideas?

Thanks,
Jill



Oliver Christen wrote:
> Hi
>
>> C:\ms4w\Apache\cgi-bin\>php.exe C:\ms4w\apps\cartoweb3\cw3setup.php 
>> --help
>
> you have to do it the other way around:
>
> C:\ms4w\apps\cartoweb3\>C:\ms4w\Apache\cgi-bin\php.exe cw3setup.php 
> --help
>
> for cw3setup.php to work correctly, you must be in the Cartoweb root 
> folder, this is a limitation of the setup script
>
> for convenience, you can add the path to php.exe in your windows's 
> PATH environment variable, this should make your life easier
>
> regards
> OLiver
>
> ----- Original Message ----- From: "Jill Recla" <jill.recla at jax.org>
> To: <cartoweb-users at lists.maptools.org>
> Sent: Saturday, February 09, 2008 10:47 PM
> Subject: [Cartoweb-users] Problem with Cartoweb basic setup
>
>
>> Hi all,
>>
>> I'm new to Cartoweb and am trying to get it set up.  I previously 
>> installed MS4W (v.2.2.6, which includes PHP version 5.2.5) on my 
>> Windows XP machine and had the MapServer Itasca 5.x demo up and 
>> running.  I downloaded Cartoweb and unzipped it in the directory 
>> C:\ms4w\Apache\htdocs.  However, when I try to run the basic setup 
>> using this command:
>>
>> C:\ms4w\Apache\cgi-bin\>php.exe C:\ms4w\apps\cartoweb3\cw3setup.php 
>> --help
>>
>> nothing happens.
>>
>> The URL http://localhost/cartoweb3/htdocs/client.php works fine, and 
>> I am able to try all of the demos in the dropdown box.  However, I 
>> clearly ran into a problem when I tried to create my won project.  I 
>> followed the instructions given in section C.1 of the Cartoweb3 
>> documentation to create my project directory, but I was unable to 
>> complete the set up of my project as described in section C.2, as 
>> nothing happened when I ran the above command.  When I go to my 
>> project URL (http://localhost/cartoweb3/htdocs/genosis.php), I get 
>> the following error:
>>
>> An exception in early stage occured:
>>
>> CartoclientException::__set_state(array(
>> 'msg' => 'You need to set cartoclientBaseUrl in client.ini',
>> 'message' => 'You need to set cartoclientBaseUrl in client.ini
>> Backtrace:
>>
>> file: 454 - C:\\ms4w\\apps\\cartoweb3\\client\\Cartoclient.php
>> call: ClientConfig->__construct(Object(ClientProjectHandler))
>>
>> file: 675 - C:\\ms4w\\apps\\cartoweb3\\client\\Cartoclient.php
>> call: Cartoclient->getConfig()
>>
>> file: 401 - C:\\ms4w\\apps\\cartoweb3\\client\\Cartoclient.php
>> call: Cartoclient->initializePlugins()
>>
>> file: 31 - C:\\ms4w\\apps\\cartoweb3\\htdocs\\client.php
>> call: Cartoclient->__construct()
>>
>> file: 3 - C:\\ms4w\\apps\\cartoweb3\\htdocs\\genosis.php
>> call: require_once("C:\\ms4w\\apps\\cartoweb3\\htdocs\\client.php")
>>
>> Which makes sense, since the cw3setup.php file doesn't appear to be 
>> doing anything.
>>
>> I made sure that the lines
>>
>> extension=php_soap.dll
>> extension=php_curl.dll
>> extension=php_gettext.dll
>>
>> were uncommented in php.ini and that the corresponding files were 
>> available in the php/ext directory.  Here is the link to my php_info 
>> if it helps:
>>
>> http://treebeard.informatics.jax.org/phpinfo.php
>>
>> Does anyone have any idea what the problem is??  Any help would be 
>> greatly appreciated.
>>
>> Thanks,
>> Jill
>>
>>
>>
>> -- 
>> *****************************************************
>> *****Jill M. Recla****UMaine Functional Genomics*****
>> ***jill.recla at jax.org*****************906-282-8033***
>> *****************************************************
>>
>> _______________________________________________
>> Cartoweb-users mailing list
>> Cartoweb-users at lists.maptools.org
>> http://lists.maptools.org/mailman/listinfo/cartoweb-users
>>
>

-- 
*****************************************************
*****Jill M. Recla****UMaine Functional Genomics*****
***jill.recla at jax.org*****************906-282-8033***
*****************************************************



More information about the Cartoweb-users mailing list