[Cartoweb-users] Problem with Cartoweb basic setup

Jill Recla jill.recla at jax.org
Mon Feb 11 10:44:04 EST 2008


Hi Oliver,

Here is my client.ini file:

-----------------------------------------
;@BLURB@

cartoclientBaseUrl =  
"http://treebeard.informatics.jax.org/cartoweb3/htdocs"
profile = development

mapId = genosis

; Shows a drop-down list for selecting the active project
showProjectChooser = false

;## Plugins ##
; the list of plugins to load, separated by comma
loadPlugins =

; Indicates how to render toolbar
toolbarRendering = outline
-----------------------------------------

but still no luck.  Is there something else I need to change?

Thanks,
Jill



Oliver Christen wrote:
> sorry, I missread your previous email
>
> the setup script replace the cartoclientBaseUrl only if the client.ini 
> file contains the corresponding replacement variables in a 
> client.ini.in file
> you probably do not have these variables nor the .ini.in file, so you 
> need to write the url by hand in your project's client.ini
>
> cartoclientBaseUrl = http://localhost/cartoweb3/htdocs/ or something 
> like that
>
> regards
> Oliver
>
>> 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***
>> *****************************************************
>>
>>
>

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



More information about the Cartoweb-users mailing list