[Cartoweb-users] New projet : error cartoclientBaseUrl

Jacolin Yves yjacolin at free.fr
Thu Apr 20 05:35:48 EDT 2006


Hello,
I try to create another project from the first one I created. At the begining 
I wanted to change the name of my project. So I changed the name of the 
directory in server_conf, the ini and map file like this :
server_conf/test2/test2.ini
server_conf/test2/test2.map.php

I changed the mapfil as well :
MAP
  NAME test2
  [...]
end

I removed the current_project.txt and enabled the showProjectChooser to true 
in the both project. But I got this error :
An exception in early stage occured:

object(CartoclientException)#37 (7) {
  ["msg:private"]=>
  string(48) "You need to set cartoclientBaseUrl in client.ini"
  ["message:protected"]=>
  string(554) "You need to set cartoclientBaseUrl in client.ini
Backtrace:
[..]

this parameter exist in the client.ini file of the both project. If I change 
the client.ini in client_conf/ of the root directory of cartoweb, the error 
message disapears but the page is empty and the log show :

Thu Apr 20 11:34:02 2006,621 [30510] DEBUG ClientProjectHandler - current 
project is test2
Thu Apr 20 11:34:02 2006,621 [30510] DEBUG PluginManager - trying to load 
class /var/www/html/cartoweb3/coreplugins/location/client/ClientLocation.php
Thu Apr 20 11:34:02 2006,622 [30510] DEBUG PluginManager 
- /var/www/html/cartoweb3/coreplugins/location/common/Location.php
Thu Apr 20 11:34:02 2006,628 [30510] DEBUG PluginManager - trying to load 
class /var/www/html/cartoweb3/coreplugins/layers/client/ClientLayers.php
Thu Apr 20 11:34:02 2006,628 [30510] DEBUG PluginManager 
- /var/www/html/cartoweb3/coreplugins/layers/common/Layers.php
Thu Apr 20 11:34:02 2006,637 [30510] DEBUG PluginManager - trying to load 
class /var/www/html/cartoweb3/coreplugins/images/client/ClientImages.php
Thu Apr 20 11:34:02 2006,637 [30510] DEBUG PluginManager 
- /var/www/html/cartoweb3/coreplugins/images/common/Images.php
Thu Apr 20 11:34:02 2006,640 [30510] DEBUG PluginManager - trying to load 
class /var/www/html/cartoweb3/coreplugins/query/client/ClientQuery.php
Thu Apr 20 11:34:02 2006,641 [30510] DEBUG PluginManager 
- /var/www/html/cartoweb3/coreplugins/query/common/Query.php
Thu Apr 20 11:34:02 2006,645 [30510] DEBUG PluginManager - trying to load 
class /var/www/html/cartoweb3/coreplugins/statictools/client/ClientStatictools.php
Thu Apr 20 11:34:02 2006,646 [30510] DEBUG PluginManager 
- /var/www/html/cartoweb3/coreplugins/statictools/common/Statictools.php
Thu Apr 20 11:34:02 2006,647 [30510] DEBUG PluginManager - trying to load 
class /var/www/html/cartoweb3/coreplugins/tables/client/ClientTables.php
Thu Apr 20 11:34:02 2006,647 [30510] DEBUG PluginManager 
- /var/www/html/cartoweb3/coreplugins/tables/common/Tables.php
Thu Apr 20 11:34:02 2006,654 [30510] WARN PluginManager - no plugin to load
Thu Apr 20 11:34:02 2006,655 [30510] DEBUG Cartoclient - client context loaded 
(from session, or new)
Thu Apr 20 11:34:02 2006,655 [30510] DEBUG I18n::setLocale - LANG: 
$_COOKIE[langCookie] = fr
jeu 20 avr 2006 11:34:02 CEST,656 [30510] DEBUG I18nGettext::bindtextdomain - 
LANG: binddomain test2. /var/www/html/cartoweb3/locale/
jeu 20 avr 2006 11:34:02 CEST,656 [30510] DEBUG I18nGettext::textdomain - 
LANG: textdomain test2.
jeu 20 avr 2006 11:34:02 CEST,658 [30510] DEBUG MapInfoCache - Caching mapInfo 
for future use

Why cartoweb3 stop here ? Why does I need to modify the client.ini file in the 
root directory ? The first project is correct, no error message is displayed.

Thanks you for the help,

Y.
-- 
Yves Jacolin
http://yjacolin.gloobe.org
----
Stagaire Conservatoire Régional des Espaces Naturels de la région Centre
http://cahiersnaturalistes.free.fr/cpnrc/
----
- Qu'est-ce que cela peut faire que je lutte pour la mauvaise cause 
puisque je suis de bonne foi?
- Et qu'est-ce que ça peut faire que je sois de mauvaise foi 
puisque c'est pour la bonne cause. (Jacques 
Prévert)



More information about the Cartoweb-users mailing list