[Cartoweb-users] Tips: change split() with explode()
CONSIS - Jefe Rodolfo
jeferodolfo at yahoo.com
Sun Oct 4 15:05:57 EST 2009
When using last PHP 5.3.0 version, change split() with explode() in plugin Serveredit.php.
Jefe Rodolfo P Silva
Analista de SIG
CONSIS - Consultoria e Sistemas Ltda
http://189.59.94.5/consis.html
(67) 3354-2432
(61) 9245-6220
--- Em dom, 4/10/09, cartoweb-users-request at lists.maptools.org <cartoweb-users-request at lists.maptools.org> escreveu:
De: cartoweb-users-request at lists.maptools.org <cartoweb-users-request at lists.maptools.org>
Assunto: Cartoweb-users Digest, Vol 53, Issue 1
Para: cartoweb-users at lists.maptools.org
Data: Domingo, 4 de Outubro de 2009, 13:30
Send Cartoweb-users mailing list submissions to
cartoweb-users at lists.maptools.org
To subscribe or unsubscribe via the World Wide Web, visit
http://lists.maptools.org/mailman/listinfo/cartoweb-users
or, via email, send a message with subject or body 'help' to
cartoweb-users-request at lists.maptools.org
You can reach the person managing the list at
cartoweb-users-owner at lists.maptools.org
When replying, please edit your Subject line so it is more specific
than "Re: Contents of Cartoweb-users digest..."
Today's Topics:
1. Help with DemoEdit Configuration (CONSIS - Jefe Rodolfo)
2. Re: Help with DemoEdit Configuration (Bruno Friedmann)
3. Re: Help with DemoEdit Configuration (R. Paul Warriner)
4. A new problem with DemoEdit (CONSIS - Jefe Rodolfo)
----------------------------------------------------------------------
Message: 1
Date: Sat, 3 Oct 2009 11:41:09 -0700 (PDT)
From: CONSIS - Jefe Rodolfo <jeferodolfo at yahoo.com>
Subject: [Cartoweb-users] Help with DemoEdit Configuration
To: cartoweb-users at lists.maptools.org
Message-ID: <897361.28025.qm at web34405.mail.mud.yahoo.com>
Content-Type: text/plain; charset="iso-8859-1"
Dear,
?
I?m trying to able DemoEdit in my computer, but it?s very dificult. All steps about install and create spatial table was do. My Postgres version is 8.3 and Postgis version is 1.4.0?. Using QGIS? I can see these data and possible to edit too. It?s very important?able Demoedit, because a big project around here will be started using cartoweb and I will need consulting and suport. So, I?m waiting a help. In time, english is not my first language. I?m from Brazil and we speak portuguese. Sorry for some wrong worlds.
?
Down, the list with erros when I try to run:
?
http://127.0.0.1:1080/cartoweb3/htdocs/demoEdit.php
?
FailureCartoWeb version: 3.5.0 [$Revision: 1.9 $]
class: SoapFaultWrapper
message: MapServer error: Error in msPOSTGISLayerRetrievePGVersion(): Error executing POSTGIS statement (msPOSTGISLayerRetrievePGVersion():select substring(version() from 12 for (position('on' in version()) - 13))
Error in msPOSTGISLayerRetrievePGVersion(): Error executing POSTGIS statement (msPOSTGISLayerRetrievePGVersion():select substring(version() from 12 for (position('on' in version()) - 13))
Error in msPOSTGISLayerRetrievePGVersion(): Error executing POSTGIS statement (msPOSTGISLayerRetrievePGVersion():select substring(version() from 12 for (position('on' in version()) - 13))
Backtrace:
file: 230 - C:\ms4w\apps\cartoweb3\coreplugins\images\server\ServerImages.php
call: ServerContext->checkMsErrors()
file: 311 - C:\ms4w\apps\cartoweb3\server\Cartoserver.php
call: ServerImages->drawMainmap(Object(Images))
file: 349 - C:\ms4w\apps\cartoweb3\server\Cartoserver.php
call: Cartoserver->doGetMap(Object(MapRequest))
file: 370 - C:\ms4w\apps\cartoweb3\server\Cartoserver.php
call: Cartoserver->callWithExceptionCheck("doGetMap", Object(MapRequest))
file: 76 - C:\ms4w\apps\cartoweb3\server\MapResultCache.php
call: Cartoserver->cacheGetMap(Object(MapRequest))
file: 108 - C:\ms4w\apps\cartoweb3\server\MapResultCache.php
call: MapResultCache->getMapResultFromServer(Object(MapRequest))
file: 215 - C:\ms4w\apps\cartoweb3\server\MapResultCache.php
call: MapResultCache->cacheMapResult(Object(MapRequest), "C:\ms4w\apps\cartoweb3/www-data/mapresult_cache/mapResult.28ba40...")
file: 380 - C:\ms4w\apps\cartoweb3\server\Cartoserver.php
call: MapResultCache->getMap(Object(MapRequest))
file: 104 - C:\ms4w\apps\cartoweb3\client\CartoserverService.php
call: Cartoserver->getMap(Object(MapRequest))
file: 165 - C:\ms4w\apps\cartoweb3\client\CartoserverService.php
call: CartoserverService->callDirect("getMap", Object(MapRequest))
file: 233 - C:\ms4w\apps\cartoweb3\client\CartoserverService.php
call: CartoserverService->callFunction("getMap", Object(MapRequest))
file: 981 - C:\ms4w\apps\cartoweb3\client\Cartoclient.php
call: CartoserverService->getMap(Object(MapRequest))
file: 1135 - C:\ms4w\apps\cartoweb3\client\Cartoclient.php
call: Cartoclient->getMapResultFromRequest(Object(MapRequest))
file: 1315 - C:\ms4w\apps\cartoweb3\client\Cartoclient.php
call: Cartoclient->doMain()
file: 33 - C:\ms4w\apps\cartoweb3\htdocs\client.php
call: Cartoclient->main()
file: 3 - C:\ms4w\apps\cartoweb3\htdocs\demoEdit.php
call: require_once("C:\ms4w\apps\cartoweb3\htdocs\client.php")
Jefe Rodolfo P Silva
Analista de SIG
CONSIS - Consultoria e Sistemas Ltda
http://189.59.94.5/consis.html
(67) 3354-2432
(61) 9245-6220
____________________________________________________________________________________
Veja quais s?o os assuntos do momento no Yahoo! +Buscados
http://br.maisbuscados.yahoo.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.maptools.org/pipermail/cartoweb-users/attachments/20091003/9338c53a/attachment-0001.htm
------------------------------
Message: 2
Date: Sun, 04 Oct 2009 12:21:32 +0200
From: Bruno Friedmann <bruno at ioda-net.ch>
Subject: Re: [Cartoweb-users] Help with DemoEdit Configuration
Cc: cartoweb-users at lists.maptools.org
Message-ID: <4AC8772C.6010405 at ioda-net.ch>
Content-Type: text/plain; charset=UTF-8
Hi Jefe,
I've never try yet cartoweb with postgis 1.4.
So if you can try to downgrade to a postgis 1.3.5 version and see if you have the same error.
I think cw3.5 need some adjustement to work with 1.4 as some function have change.
I also believe you need a quiet recent Mapserver (5.2 5.4) to work with new postgis.
Did the other demo working ?
CONSIS - Jefe Rodolfo wrote:
> Dear,
>
> I?m trying to able DemoEdit in my computer, but it?s very dificult. All steps about install and create spatial table was do. My Postgres version is 8.3 and Postgis version is 1.4.0 . Using QGIS I can see these data and possible to edit too. It?s very important able Demoedit, because a big project around here will be started using cartoweb and I will need consulting and suport. So, I?m waiting a help. In time, english is not my first language. I?m from Brazil and we speak portuguese. Sorry for some wrong worlds.
>
> Down, the list with erros when I try to run:
>
> http://127.0.0.1:1080/cartoweb3/htdocs/demoEdit.php
>
> FailureCartoWeb version: 3.5.0 [$Revision: 1.9 $]
> class: SoapFaultWrapper
> message: MapServer error: Error in msPOSTGISLayerRetrievePGVersion(): Error executing POSTGIS statement (msPOSTGISLayerRetrievePGVersion():select substring(version() from 12 for (position('on' in version()) - 13))
>
> Error in msPOSTGISLayerRetrievePGVersion(): Error executing POSTGIS statement (msPOSTGISLayerRetrievePGVersion():select substring(version() from 12 for (position('on' in version()) - 13))
>
> Error in msPOSTGISLayerRetrievePGVersion(): Error executing POSTGIS statement (msPOSTGISLayerRetrievePGVersion():select substring(version() from 12 for (position('on' in version()) - 13))
>
>
> Backtrace:
>
> file: 230 - C:\ms4w\apps\cartoweb3\coreplugins\images\server\ServerImages.php
> call: ServerContext->checkMsErrors()
>
> file: 311 - C:\ms4w\apps\cartoweb3\server\Cartoserver.php
> call: ServerImages->drawMainmap(Object(Images))
>
> file: 349 - C:\ms4w\apps\cartoweb3\server\Cartoserver.php
> call: Cartoserver->doGetMap(Object(MapRequest))
>
> file: 370 - C:\ms4w\apps\cartoweb3\server\Cartoserver.php
> call: Cartoserver->callWithExceptionCheck("doGetMap", Object(MapRequest))
>
> file: 76 - C:\ms4w\apps\cartoweb3\server\MapResultCache.php
> call: Cartoserver->cacheGetMap(Object(MapRequest))
>
> file: 108 - C:\ms4w\apps\cartoweb3\server\MapResultCache.php
> call: MapResultCache->getMapResultFromServer(Object(MapRequest))
>
> file: 215 - C:\ms4w\apps\cartoweb3\server\MapResultCache.php
> call: MapResultCache->cacheMapResult(Object(MapRequest), "C:\ms4w\apps\cartoweb3/www-data/mapresult_cache/mapResult.28ba40...")
>
> file: 380 - C:\ms4w\apps\cartoweb3\server\Cartoserver.php
> call: MapResultCache->getMap(Object(MapRequest))
>
> file: 104 - C:\ms4w\apps\cartoweb3\client\CartoserverService.php
> call: Cartoserver->getMap(Object(MapRequest))
>
> file: 165 - C:\ms4w\apps\cartoweb3\client\CartoserverService.php
> call: CartoserverService->callDirect("getMap", Object(MapRequest))
>
> file: 233 - C:\ms4w\apps\cartoweb3\client\CartoserverService.php
> call: CartoserverService->callFunction("getMap", Object(MapRequest))
>
> file: 981 - C:\ms4w\apps\cartoweb3\client\Cartoclient.php
> call: CartoserverService->getMap(Object(MapRequest))
>
> file: 1135 - C:\ms4w\apps\cartoweb3\client\Cartoclient.php
> call: Cartoclient->getMapResultFromRequest(Object(MapRequest))
>
> file: 1315 - C:\ms4w\apps\cartoweb3\client\Cartoclient.php
> call: Cartoclient->doMain()
>
> file: 33 - C:\ms4w\apps\cartoweb3\htdocs\client.php
> call: Cartoclient->main()
>
> file: 3 - C:\ms4w\apps\cartoweb3\htdocs\demoEdit.php
> call: require_once("C:\ms4w\apps\cartoweb3\htdocs\client.php")
>
>
>
>
>
> Jefe Rodolfo P Silva
> Analista de SIG
> CONSIS - Consultoria e Sistemas Ltda
> http://189.59.94.5/consis.html
> (67) 3354-2432
> (61) 9245-6220
>
>
> ____________________________________________________________________________________
> Veja quais s?o os assuntos do momento no Yahoo! +Buscados
> http://br.maisbuscados.yahoo.com
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> Cartoweb-users mailing list
> Cartoweb-users at lists.maptools.org
> http://lists.maptools.org/mailman/listinfo/cartoweb-users
--
Bruno Friedmann
------------------------------
Message: 3
Date: Sun, 04 Oct 2009 07:01:01 -0400
From: "R. Paul Warriner" <r.warriner at verizon.net>
Subject: Re: [Cartoweb-users] Help with DemoEdit Configuration
To: cartoweb-users at lists.maptools.org
Message-ID: <4AC8806D.1010006 at verizon.net>
Content-Type: text/plain; charset=UTF-8; format=flowed
Hi Jefe,
I had issues trying to use Mapserver 5.4 and PostGIS 1.3 (a couple of
new map file enforcements for 5.4), so I would avoid 5.4 starting out.
Mapserver 5.2. and as Bruno mentions, PostGIS 1.3 are working for us.
Paul
Bruno Friedmann wrote:
> Hi Jefe,
> I've never try yet cartoweb with postgis 1.4.
> So if you can try to downgrade to a postgis 1.3.5 version and see if you have the same error.
>
> I think cw3.5 need some adjustement to work with 1.4 as some function have change.
> I also believe you need a quiet recent Mapserver (5.2 5.4) to work with new postgis.
>
> Did the other demo working ?
>
> CONSIS - Jefe Rodolfo wrote:
>
>> Dear,
>>
>> I?m trying to able DemoEdit in my computer, but it?s very dificult. All steps about install and create spatial table was do. My Postgres version is 8.3 and Postgis version is 1.4.0 . Using QGIS I can see these data and possible to edit too. It?s very important able Demoedit, because a big project around here will be started using cartoweb and I will need consulting and suport. So, I?m waiting a help. In time, english is not my first language. I?m from Brazil and we speak portuguese. Sorry for some wrong worlds.
>>
>> Down, the list with erros when I try to run:
>>
>> http://127.0.0.1:1080/cartoweb3/htdocs/demoEdit.php
>>
>> FailureCartoWeb version: 3.5.0 [$Revision: 1.9 $]
>> class: SoapFaultWrapper
>> message: MapServer error: Error in msPOSTGISLayerRetrievePGVersion(): Error executing POSTGIS statement (msPOSTGISLayerRetrievePGVersion():select substring(version() from 12 for (position('on' in version()) - 13))
>>
>> Error in msPOSTGISLayerRetrievePGVersion(): Error executing POSTGIS statement (msPOSTGISLayerRetrievePGVersion():select substring(version() from 12 for (position('on' in version()) - 13))
>>
>> Error in msPOSTGISLayerRetrievePGVersion(): Error executing POSTGIS statement (msPOSTGISLayerRetrievePGVersion():select substring(version() from 12 for (position('on' in version()) - 13))
>>
>>
>> Backtrace:
>>
>> file: 230 - C:\ms4w\apps\cartoweb3\coreplugins\images\server\ServerImages.php
>> call: ServerContext->checkMsErrors()
>>
>> file: 311 - C:\ms4w\apps\cartoweb3\server\Cartoserver.php
>> call: ServerImages->drawMainmap(Object(Images))
>>
>> file: 349 - C:\ms4w\apps\cartoweb3\server\Cartoserver.php
>> call: Cartoserver->doGetMap(Object(MapRequest))
>>
>> file: 370 - C:\ms4w\apps\cartoweb3\server\Cartoserver.php
>> call: Cartoserver->callWithExceptionCheck("doGetMap", Object(MapRequest))
>>
>> file: 76 - C:\ms4w\apps\cartoweb3\server\MapResultCache.php
>> call: Cartoserver->cacheGetMap(Object(MapRequest))
>>
>> file: 108 - C:\ms4w\apps\cartoweb3\server\MapResultCache.php
>> call: MapResultCache->getMapResultFromServer(Object(MapRequest))
>>
>> file: 215 - C:\ms4w\apps\cartoweb3\server\MapResultCache.php
>> call: MapResultCache->cacheMapResult(Object(MapRequest), "C:\ms4w\apps\cartoweb3/www-data/mapresult_cache/mapResult.28ba40...")
>>
>> file: 380 - C:\ms4w\apps\cartoweb3\server\Cartoserver.php
>> call: MapResultCache->getMap(Object(MapRequest))
>>
>> file: 104 - C:\ms4w\apps\cartoweb3\client\CartoserverService.php
>> call: Cartoserver->getMap(Object(MapRequest))
>>
>> file: 165 - C:\ms4w\apps\cartoweb3\client\CartoserverService.php
>> call: CartoserverService->callDirect("getMap", Object(MapRequest))
>>
>> file: 233 - C:\ms4w\apps\cartoweb3\client\CartoserverService.php
>> call: CartoserverService->callFunction("getMap", Object(MapRequest))
>>
>> file: 981 - C:\ms4w\apps\cartoweb3\client\Cartoclient.php
>> call: CartoserverService->getMap(Object(MapRequest))
>>
>> file: 1135 - C:\ms4w\apps\cartoweb3\client\Cartoclient.php
>> call: Cartoclient->getMapResultFromRequest(Object(MapRequest))
>>
>> file: 1315 - C:\ms4w\apps\cartoweb3\client\Cartoclient.php
>> call: Cartoclient->doMain()
>>
>> file: 33 - C:\ms4w\apps\cartoweb3\htdocs\client.php
>> call: Cartoclient->main()
>>
>> file: 3 - C:\ms4w\apps\cartoweb3\htdocs\demoEdit.php
>> call: require_once("C:\ms4w\apps\cartoweb3\htdocs\client.php")
>>
>>
>>
>>
>>
>> Jefe Rodolfo P Silva
>> Analista de SIG
>> CONSIS - Consultoria e Sistemas Ltda
>> http://189.59.94.5/consis.html
>> (67) 3354-2432
>> (61) 9245-6220
>>
>>
>> ____________________________________________________________________________________
>> Veja quais s?o os assuntos do momento no Yahoo! +Buscados
>> http://br.maisbuscados.yahoo.com
>>
>>
>> ------------------------------------------------------------------------
>>
>> _______________________________________________
>> Cartoweb-users mailing list
>> Cartoweb-users at lists.maptools.org
>> http://lists.maptools.org/mailman/listinfo/cartoweb-users
>>
>
>
>
------------------------------
Message: 4
Date: Sun, 4 Oct 2009 09:30:17 -0700 (PDT)
From: CONSIS - Jefe Rodolfo <jeferodolfo at yahoo.com>
Subject: [Cartoweb-users] A new problem with DemoEdit
To: cartoweb-users at lists.maptools.org
Message-ID: <35685.33553.qm at web34407.mail.mud.yahoo.com>
Content-Type: text/plain; charset="iso-8859-1"
Someone can be help with this?
FailureCartoWeb version: 3.5.0 [$Revision: 1.9 $]
class: SoapFaultWrapper
message: Error [8192, Function split() is deprecated, C:\ms4w\apps\cartoweb3\plugins\edit\server\ServerEdit.php, 585]
Backtrace:
file: UNKNOWN - UNKNOWN
call: Common::cartowebErrorHandler(8192, "Function split() is deprecated", "C:\ms4w\apps\cartoweb3\plugins\edit\server\ServerEdit.php", 585, Array(0))
file: 585 - C:\ms4w\apps\cartoweb3\plugins\edit\server\ServerEdit.php
call: split()
file: 615 - C:\ms4w\apps\cartoweb3\plugins\edit\server\ServerEdit.php
call: ServerEdit->checkLayerMetadata()
file: 74 - C:\ms4w\apps\cartoweb3\server\ServerPluginHelper.php
call: ServerEdit->handlePreDrawing(Object(EditRequest))
file: 132 - C:\ms4w\apps\cartoweb3\server\ServerPluginHelper.php
call: ServerPluginHelper->callHandleFunction(Object(ServerEdit), "handlePreDrawing")
file: UNKNOWN - UNKNOWN
call: ClientResponderHelper->handlePreDrawingHelper(Object(ServerEdit))
file: 267 - C:\ms4w\apps\cartoweb3\common\PluginManager.php
call: call_user_func_array(Array(2), Array(1))
file: 285 - C:\ms4w\apps\cartoweb3\common\PluginManager.php
call: PluginManager->callPluginImplementing(Object(ServerEdit), "ClientResponder", "handlePreDrawing", Array(0))
file: 301 - C:\ms4w\apps\cartoweb3\server\Cartoserver.php
call: PluginManager->callPluginsImplementing("ClientResponder", "handlePreDrawing")
file: 349 - C:\ms4w\apps\cartoweb3\server\Cartoserver.php
call: Cartoserver->doGetMap(Object(MapRequest))
file: 370 - C:\ms4w\apps\cartoweb3\server\Cartoserver.php
call: Cartoserver->callWithExceptionCheck("doGetMap", Object(MapRequest))
file: 76 - C:\ms4w\apps\cartoweb3\server\MapResultCache.php
call: Cartoserver->cacheGetMap(Object(MapRequest))
file: 209 - C:\ms4w\apps\cartoweb3\server\MapResultCache.php
call: MapResultCache->getMapResultFromServer(Object(MapRequest))
file: 380 - C:\ms4w\apps\cartoweb3\server\Cartoserver.php
call: MapResultCache->getMap(Object(MapRequest))
file: 104 - C:\ms4w\apps\cartoweb3\client\CartoserverService.php
call: Cartoserver->getMap(Object(MapRequest))
file: 165 - C:\ms4w\apps\cartoweb3\client\CartoserverService.php
call: CartoserverService->callDirect("getMap", Object(MapRequest))
file: 233 - C:\ms4w\apps\cartoweb3\client\CartoserverService.php
call: CartoserverService->callFunction("getMap", Object(MapRequest))
file: 981 - C:\ms4w\apps\cartoweb3\client\Cartoclient.php
call: CartoserverService->getMap(Object(MapRequest))
file: 1135 - C:\ms4w\apps\cartoweb3\client\Cartoclient.php
call: Cartoclient->getMapResultFromRequest(Object(MapRequest))
file: 1315 - C:\ms4w\apps\cartoweb3\client\Cartoclient.php
call: Cartoclient->doMain()
file: 33 - C:\ms4w\apps\cartoweb3\htdocs\client.php
call: Cartoclient->main()
file: 3 - C:\ms4w\apps\cartoweb3\htdocs\demoEdit.php
call: require_once("C:\ms4w\apps\cartoweb3\htdocs\client.php")
Jefe Rodolfo P Silva
Analista de SIG
CONSIS - Consultoria e Sistemas Ltda
http://189.59.94.5/consis.html
(67) 3354-2432
(61) 9245-6220
____________________________________________________________________________________
Veja quais s?o os assuntos do momento no Yahoo! +Buscados
http://br.maisbuscados.yahoo.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.maptools.org/pipermail/cartoweb-users/attachments/20091004/f9028ba2/attachment.htm
------------------------------
_______________________________________________
Cartoweb-users mailing list
Cartoweb-users at lists.maptools.org
http://lists.maptools.org/mailman/listinfo/cartoweb-users
End of Cartoweb-users Digest, Vol 53, Issue 1
*********************************************
____________________________________________________________________________________
Veja quais são os assuntos do momento no Yahoo! +Buscados
http://br.maisbuscados.yahoo.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.maptools.org/pipermail/cartoweb-users/attachments/20091004/4174ae20/attachment-0001.htm
More information about the Cartoweb-users
mailing list