whats the path to your php_sqlite.so ?


Oliver, if I test on demoCW3 project I have the following error:
but I installed both php5-sqlite3, pecl install pdo_sqlite, pdo_pgsql

how can I do ?

SoapFaultWrapper<br />Message : Error [2, dl() [<a href='function

.dl'>function.dl</a>]: Unable to load dynamic library '/usr/lib/php5/20060613/php_sqlite.so' - /usr/lib

/php5/20060613/php_sqlite.so: cannot open shared object file: No such file or directory, /usr/share/php

/PEAR.php, 753]

Backtrace:

file: UNKNOWN - UNKNOWN

call: Common::cartowebErrorHandler(2, "dl() [<a href='function.dl'>function.dl</a>]: Unable to load dyn

...", "/usr/share/php/PEAR.php", 753, Array(3))

file: 753 - /usr/share/php/PEAR.php

call: dl("php_sqlite.so")

file: 198 - /usr/share/php/DB/sqlite.php

call: PEAR->loadExtension("sqlite")

file: 556 - /usr/share/php/DB.php

call: DB_sqlite->connect(Array(9), False)

file: 192 - /var/www/cartoweb3/common/Utils.php

call: DB::connect("sqlite:////var/www/cartoweb3/projects/demoCW3/server_conf/demoCW...", Array(0))

file: 301 - /var/www/cartoweb3/plugins/search/common/Search.php

call: Utils::getDb(Null, "sqlite:////var/www/cartoweb3/projects/demoCW3/server_conf/demoCW...")

file: 82 - /var/www/cartoweb3/plugins/search/server/ServerSearch.php

call: DbResultProvider->getResult(Object(SearchRequest))

file: 74 - /var/www/cartoweb3/server/ServerPluginHelper.php

call: ServerSearch->handlePreDrawing(Object(SearchRequest))

file: 132 - /var/www/cartoweb3/server/ServerPluginHelper.php

call: ServerPluginHelper->callHandleFunction(Object(ServerSearch), "handlePreDrawing")

file: UNKNOWN - UNKNOWN

call: ClientResponderHelper->handlePreDrawingHelper(Object(ServerSearch))

file: 267 - /var/www/cartoweb3/common/PluginManager.php

call: call_user_func_array(Array(2), Array(1))

file: 285 - /var/www/cartoweb3/common/PluginManager.php

call: PluginManager->callPluginImplementing(Object(ServerSearch), "ClientResponder", "handlePreDrawing"

, Array(0))

file: 301 - /var/www/cartoweb3/server/Cartoserver.php

call: PluginManager->callPluginsImplementing("ClientResponder", "handlePreDrawing")

file: 349 - /var/www/cartoweb3/server/Cartoserver.php

call: Cartoserver->doGetMap(Object(MapRequest))

file: 370 - /var/www/cartoweb3/server/Cartoserver.php

call: Cartoserver->callWithExceptionCheck("doGetMap", Object(MapRequest))

file: 76 - /var/www/cartoweb3/server/MapResultCache.php

call: Cartoserver->cacheGetMap(Object(MapRequest))

file: 184 - /var/www/cartoweb3/server/MapResultCache.php

call: MapResultCache->getMapResultFromServer(Object(MapRequest))

file: 380 - /var/www/cartoweb3/server/Cartoserver.php

call: MapResultCache->getMap(Object(MapRequest))

file: 104 - /var/www/cartoweb3/client/CartoserverService.php

call: Cartoserver->getMap(Object(MapRequest))

file: 165 - /var/www/cartoweb3/client/CartoserverService.php

call: CartoserverService->callDirect("getMap", Object(MapRequest))

file: 233 - /var/www/cartoweb3/client/CartoserverService.php

call: CartoserverService->callFunction("getMap", Object(MapRequest))

file: 948 - /var/www/cartoweb3/client/Cartoclient.php

call: CartoserverService->getMap(Object(MapRequest))

file: 1086 - /var/www/cartoweb3/client/Cartoclient.php

call: Cartoclient->getMapResultFromRequest(Object(MapRequest))

file: 1261 - /var/www/cartoweb3/client/Cartoclient.php

call: Cartoclient->doMain()

file: 33 - /var/www/cartoweb3/htdocs/client.php

call: Cartoclient->main()

file: 3 - /var/www/cartoweb3/htdocs/demoCW3.php

call: require_once("/var/www/cartoweb3/htdocs/client.php")



Oliver Christen ha scritto:
sqlite is only used by plugins (usualy the search plugin), not by core functionalities. i would be more tempted to print out the raw mapserver query result directly from the queryLayerByAttributes function in ServerMapquery.php to get additional infos



Maybe the problem could be related to php_sqlite extension....
I didn't install it so now i'm trying .....

I'll send u the result

Thanks

--
Ing. Fabio D'Ovidio

INOVA Open Solutions s.r.l.
Web : http://www.inovaos.it
Tel.: 081 197 57 600
mail: [EMAIL PROTECTED]


Oliver Christen ha scritto:
are you sure the problem is linked to PEAR?
a "Recenter Id canceled, unable to find selected Id" is not the consequency of a database query, but of a mapserver query (queryByAttributes), which do not use PEAR. it means the id you requested was not found so it's linked to your data content.

regards
Oliver

Hello.
I installed cartoweb 3.4 on CentOS machine and I had no problem.
Now, I am installing cartoweb on Debian Etch. I used the same go-pear.php script to install PEAR modules and I modifed php.ini in order to use them ("include_directory"...). The problem is that my cartoweb proj doesn't able to read and use PEAR module (I think)...but it is strange that auth plugin works fine (it uses PEAR to connect to my DB....)
The error is :
"Recenter Id canceled, unable to find selected Id"...



How can I resolve the problem ?

--
Ing. Fabio D'Ovidio

INOVA Open Solutions s.r.l.
Web : http://www.inovaos.it
Tel.: 081 197 57 600
mail: [EMAIL PROTECTED]

_______________________________________________
Cartoweb-users mailing list
Cartoweb-users@lists.maptools.org
http://lists.maptools.org/mailman/listinfo/cartoweb-users








--
Ing. Fabio D'Ovidio

INOVA Open Solutions s.r.l.
Web : http://www.inovaos.it
Tel.: 081 197 57 600
mail: [EMAIL PROTECTED]



_______________________________________________
Cartoweb-users mailing list
Cartoweb-users@lists.maptools.org
http://lists.maptools.org/mailman/listinfo/cartoweb-users

Reply via email to