PEAR installation

View: New views
7 Messages — Rating Filter:   Alert me  
< Prev | 1 - 2 | Next >

Re: PEAR installation

by Fabio D'Ovidio-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Oliver,
I print my query result from ServMapOverlay.php in queryByIdSelection:

print_r($idAttribute, $query);

and it give me the right result :
pro_com is my attribute

"pro_com - pro_com IN ('63049')"

Oliver Christen ha scritto:

> "POST
> http://my_server/cartoweb3/htdocs/demoCW3.php?ajaxActionRequest=Search.DoIt&"
>
> I presume this is in the Firebug console ?
> do you have anything in the Response tab ?
>
>
>> Oliver,
>> thanks for your help.
>> The problem is that demoCW3 project doesn't work. When I try to
>> access the whole application (not only the search functionality) it
>> remains blocked on:
>>
>> "POST
>> http://my_server/cartoweb3/htdocs/demoCW3.php?ajaxActionRequest=Search.DoIt&"
>>
>>
>> and I am not able to do nothing !
>>
>> I'll send you some shell screenshots.... I have never installed
>> php_sqlite.so because also from pear-pecl it names sqlite.so
>>
>> PS: my PEAR "include path" is :
>> include_path.:/usr/share/php:/usr/share/pear
>>
>>
>> geomarketing:/usr/lib/php5/20060613# ls -la
>> totale 4576
>> drwxrwxrwx 2 root root    4096 2008-09-25 19:33 .
>> drwxrwxrwx 5 root root    4096 2008-09-24 18:45 ..
>> -rw-r--r-- 1 root root   59976 2008-05-10 12:36 curl.so
>> -rw-r--r-- 1 root root  131096 2008-05-10 12:36 gd.so
>> -rw-r--r-- 1 root root  125681 2008-09-25 17:42 pdo_pgsql.so
>> -rw-r--r-- 1 root root  284901 2008-09-25 17:41 pdo.so
>> -rw-r--r-- 1 root root 1437640 2008-09-25 18:03 pdo_sqlite.so
>> -rw-r--r-- 1 root root  106296 2008-05-10 12:36 pgsql.so
>> lrwxrwxrwx 1 root root      16 2008-09-23 13:23
>> php_mapscript_4.10.0.so -> php_mapscript.so
>> -rwxrwxrwx 1 root root 1142976 2008-09-23 13:23 php_mapscript.so
>> lrwxrwxrwx 1 root root      32 2008-09-25 19:33 php_sqlite.so ->
>> /usr/lib/php5/20060613/sqlite.so
>> -rwxr-xr-x 1 root root 1213743 2008-09-25 19:24 sqlite.so
>> -rw-r--r-- 1 root root   90960 2008-05-10 12:36 xmlrpc.so
>> -rw-r--r-- 1 root root   28440 2008-05-10 12:36 xsl.so
>>
>>
>> geomarketing:/etc/php5/apache2/conf.d# ls -la
>> totale 48
>> drwxr-xr-x 2 root root 4096 2008-09-25 19:45 .
>> drwxr-xr-x 6 root root 4096 2008-09-19 16:52 ..
>> -rw-r--r-- 1 root root   54 2008-05-10 12:36 curl.ini
>> -rw-r--r-- 1 root root   50 2008-05-10 12:36 gd.ini
>> -rw-r--r-- 1 root root   17 2008-09-25 18:08 pdo.ini
>> -rw-r--r-- 1 root root   23 2008-09-25 18:11 pdo_pgsql.ini
>> -rw-r--r-- 1 root root   24 2008-09-25 18:08 pdo_sqlite.ini
>> -rw-r--r-- 1 root root   61 2008-05-10 12:36 pgsql.ini
>> -rw-r--r-- 1 root root   34 2008-09-23 15:54 php_mapscript.ini
>> -rw-r--r-- 1 root root   24 2008-09-25 19:45 php_sqlite.ini
>> -rw-r--r-- 1 root root   59 2008-05-10 12:36 xmlrpc.ini
>> -rw-r--r-- 1 root root   52 2008-05-10 12:36 xsl.ini
>>
>>
>> geomarketing:/usr/lib/php5/20060613# locate sqlite.so
>> /usr/lib/libsqlite.so
>> /usr/lib/libsqlite.so.0
>> /usr/lib/libsqlite.so.0.8.6
>> /usr/lib/php5/20060613/pdo_sqlite.so
>> /usr/lib/php5/20060613/php_sqlite.so
>> /usr/lib/php5/20060613/sqlite.so
>> /var/www/cartoweb3/include/pear/PEAR/SQLite-1.0.3/.libs/sqlite.so
>> /var/www/cartoweb3/include/pear/PEAR/SQLite-1.0.3/modules/sqlite.so
>>
>>
>> Oliver Christen ha scritto:
>>> Hi
>>>
>>> "Recenter Id canceled, unable to find selected Id"
>>> is NOT related to pear/pecl
>>>
>>> it's a DATA problem, mapserver returned NOTHING for the selected id.
>>>
>>> put some debug in ServerMapquery.php in function queryByIdSelection
>>> to see exactly what may be wrong.
>>>
>>> regards
>>> Oliver
>>>
>>>
>>>
>>>> Hi Oliver.
>>>> I uninstalled from Debian sqlite, pdo_sqlite shared objs and I
>>>> reinstalled them trought pear-pecl.
>>>> The error is always the same when I use my plugin function from my
>>>> cartoweb project:
>>>>
>>>> "Recenter Id canceled, unable to find selected Id"
>>>>
>>>> ...while if I test Search funtionality from demoCW3 project I have
>>>> NO ERROR!! Before I reintsalled *.so the error for demoCW3 project
>>>> was:
>>>>
>>>> "Can't able to find php_sqlite.so" (something like that....)...
>>>>
>>>> Thank you
>>>>
>>>> --
>>>> Ing. Fabio D'Ovidio
>>>>
>>>> INOVA Open Solutions s.r.l.
>>>> Web : http://www.inovaos.it
>>>> Tel.: 081 197 57 600
>>>> mail: fabiodovidio@...
>>>>
>>>>
>>>>
>>>>
>>>> Oliver Christen ha scritto:
>>>>> what error do you get ?
>>>>>
>>>>>
>>>>>
>>>>>> I installed sqlite from php-pecl. Its name is sqlite.so, i
>>>>>> renamed it with php_sqlite.so and.... cartoweb doesn't work for
>>>>>> search function!
>>>>>>
>>>>>> How can I do ?
>>>>>>
>>>>>> Thanks.
>>>>>>
>>>>>> Oliver Christen ha scritto:
>>>>>>>>
>>>>>>>> I know I could install this packages also trought pear command
>>>>>>>> line.....
>>>>>>>>
>>>>>>>
>>>>>>> maybe thats why the name is different, PEAR may have expected
>>>>>>> you to install it via PEAR's command line.
>>>>>>>
>>>>>>> does it work now with a renamed .so ?
>>>>>>>
>>>>>>
>>>>>> --
>>>>>> Ing. Fabio D'Ovidio
>>>>>>
>>>>>> INOVA Open Solutions s.r.l.
>>>>>> Web : http://www.inovaos.it
>>>>>> Tel.: 081 197 57 600
>>>>>> mail: fabiodovidio@...
>>>>>>
>>>>>>
>>>>>
>>>>>
>>>>
>>>>
>>>
>>>
>>
>> --
>> Ing. Fabio D'Ovidio
>>
>> INOVA Open Solutions s.r.l.
>> Web : http://www.inovaos.it
>> Tel.: 081 197 57 600
>> mail: fabiodovidio@...
>>
>>
>
>

--
Ing. Fabio D'Ovidio

INOVA Open Solutions s.r.l.
Web : http://www.inovaos.it
Tel.: 081 197 57 600
mail: fabiodovidio@...

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

Re: PEAR installation

by Fabio D'Ovidio-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message



Oliver Christen ha scritto:
> the response seems ok
>
> when you say the application remains blocked, do you mean the
> "waiting" message do not disappear ?


Yes, true !

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

Re: PEAR installation

by Fabio D'Ovidio-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message



Fabio D'Ovidio ha scritto:
> Oliver,
> I print my query result from ServMapOverlay.php in queryByIdSelection:
>
> print_r($idAttribute, $query);
>
> and it give me the right result :
> pro_com is my attribute
>
> "pro_com - pro_com IN ('63049')"


...so my resluts is not empty for getIdSelectionBbox in ServLocation.php...

waht's the matter ?


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

Re: PEAR installation

by Oliver Christen :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

thats a javascript bug which should have been fixed in version 3.5

in file AjaxPlugins.js

===================================================================
RCS file: /var/lib/cvs/projects/cw3/cartoweb3/htdocs/js/AjaxPlugins.js,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -r1.11 -r1.12
--- cartoweb3/htdocs/js/AjaxPlugins.js 2007/07/19 16:56:57 1.11
+++ cartoweb3/htdocs/js/AjaxPlugins.js 2008/07/28 08:24:15 1.12
@@ -126,6 +126,11 @@
 
     clearWaitingMessage: function() {
         xHide($('loadbarDiv'));
+        // force hide after 10, solve non closing waiting msg bug
+        var timeoutFn = function() {
+            xHide($('loadbarDiv'));
+        }
+        setTimeout(timeoutFn, 10);
     },
     
     clearDhtmlDrawings: function() {


>
>
> Oliver Christen ha scritto:
>> the response seems ok
>>
>> when you say the application remains blocked, do you mean the
>> "waiting" message do not disappear ?
>
>
> Yes, true !
>
>
_______________________________________________
Cartoweb-users mailing list
Cartoweb-users@...
http://lists.maptools.org/mailman/listinfo/cartoweb-users

Re: PEAR installation

by Oliver Christen :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

the important part is what is returned, here $results

because ServerLocation say what it receives is empty.


> Oliver,
> I print my query result from ServMapOverlay.php in queryByIdSelection:
>
> print_r($idAttribute, $query);
>
> and it give me the right result :
> pro_com is my attribute
>
> "pro_com - pro_com IN ('63049')"
>
> Oliver Christen ha scritto:
>> "POST
>> http://my_server/cartoweb3/htdocs/demoCW3.php?ajaxActionRequest=Search.DoIt&"
>> I presume this is in the Firebug console ?
>> do you have anything in the Response tab ?
>>
>>
>>> Oliver,
>>> thanks for your help.
>>> The problem is that demoCW3 project doesn't work. When I try to access
>>> the whole application (not only the search functionality) it remains
>>> blocked on:
>>>
>>> "POST
>>> http://my_server/cartoweb3/htdocs/demoCW3.php?ajaxActionRequest=Search.DoIt&"
>>>
>>> and I am not able to do nothing !
>>>
>>> I'll send you some shell screenshots.... I have never installed
>>> php_sqlite.so because also from pear-pecl it names sqlite.so
>>>
>>> PS: my PEAR "include path" is :
>>> include_path.:/usr/share/php:/usr/share/pear
>>>
>>>
>>> geomarketing:/usr/lib/php5/20060613# ls -la
>>> totale 4576
>>> drwxrwxrwx 2 root root    4096 2008-09-25 19:33 .
>>> drwxrwxrwx 5 root root    4096 2008-09-24 18:45 ..
>>> -rw-r--r-- 1 root root   59976 2008-05-10 12:36 curl.so
>>> -rw-r--r-- 1 root root  131096 2008-05-10 12:36 gd.so
>>> -rw-r--r-- 1 root root  125681 2008-09-25 17:42 pdo_pgsql.so
>>> -rw-r--r-- 1 root root  284901 2008-09-25 17:41 pdo.so
>>> -rw-r--r-- 1 root root 1437640 2008-09-25 18:03 pdo_sqlite.so
>>> -rw-r--r-- 1 root root  106296 2008-05-10 12:36 pgsql.so
>>> lrwxrwxrwx 1 root root      16 2008-09-23 13:23
>>> php_mapscript_4.10.0.so -> php_mapscript.so
>>> -rwxrwxrwx 1 root root 1142976 2008-09-23 13:23 php_mapscript.so
>>> lrwxrwxrwx 1 root root      32 2008-09-25 19:33 php_sqlite.so ->
>>> /usr/lib/php5/20060613/sqlite.so
>>> -rwxr-xr-x 1 root root 1213743 2008-09-25 19:24 sqlite.so
>>> -rw-r--r-- 1 root root   90960 2008-05-10 12:36 xmlrpc.so
>>> -rw-r--r-- 1 root root   28440 2008-05-10 12:36 xsl.so
>>>
>>>
>>> geomarketing:/etc/php5/apache2/conf.d# ls -la
>>> totale 48
>>> drwxr-xr-x 2 root root 4096 2008-09-25 19:45 .
>>> drwxr-xr-x 6 root root 4096 2008-09-19 16:52 ..
>>> -rw-r--r-- 1 root root   54 2008-05-10 12:36 curl.ini
>>> -rw-r--r-- 1 root root   50 2008-05-10 12:36 gd.ini
>>> -rw-r--r-- 1 root root   17 2008-09-25 18:08 pdo.ini
>>> -rw-r--r-- 1 root root   23 2008-09-25 18:11 pdo_pgsql.ini
>>> -rw-r--r-- 1 root root   24 2008-09-25 18:08 pdo_sqlite.ini
>>> -rw-r--r-- 1 root root   61 2008-05-10 12:36 pgsql.ini
>>> -rw-r--r-- 1 root root   34 2008-09-23 15:54 php_mapscript.ini
>>> -rw-r--r-- 1 root root   24 2008-09-25 19:45 php_sqlite.ini
>>> -rw-r--r-- 1 root root   59 2008-05-10 12:36 xmlrpc.ini
>>> -rw-r--r-- 1 root root   52 2008-05-10 12:36 xsl.ini
>>>
>>>
>>> geomarketing:/usr/lib/php5/20060613# locate sqlite.so
>>> /usr/lib/libsqlite.so
>>> /usr/lib/libsqlite.so.0
>>> /usr/lib/libsqlite.so.0.8.6
>>> /usr/lib/php5/20060613/pdo_sqlite.so
>>> /usr/lib/php5/20060613/php_sqlite.so
>>> /usr/lib/php5/20060613/sqlite.so
>>> /var/www/cartoweb3/include/pear/PEAR/SQLite-1.0.3/.libs/sqlite.so
>>> /var/www/cartoweb3/include/pear/PEAR/SQLite-1.0.3/modules/sqlite.so
>>>
>>>
>>> Oliver Christen ha scritto:
>>>> Hi
>>>>
>>>> "Recenter Id canceled, unable to find selected Id"
>>>> is NOT related to pear/pecl
>>>>
>>>> it's a DATA problem, mapserver returned NOTHING for the selected id.
>>>>
>>>> put some debug in ServerMapquery.php in function queryByIdSelection to
>>>> see exactly what may be wrong.
>>>>
>>>> regards
>>>> Oliver
>>>>
>>>>
>>>>
>>>>> Hi Oliver.
>>>>> I uninstalled from Debian sqlite, pdo_sqlite shared objs and I
>>>>> reinstalled them trought pear-pecl.
>>>>> The error is always the same when I use my plugin function from my
>>>>> cartoweb project:
>>>>>
>>>>> "Recenter Id canceled, unable to find selected Id"
>>>>>
>>>>> ...while if I test Search funtionality from demoCW3 project I have NO
>>>>> ERROR!! Before I reintsalled *.so the error for demoCW3 project was:
>>>>>
>>>>> "Can't able to find php_sqlite.so" (something like that....)...
>>>>>
>>>>> Thank you
>>>>>
>>>>> --
>>>>> Ing. Fabio D'Ovidio
>>>>>
>>>>> INOVA Open Solutions s.r.l.
>>>>> Web : http://www.inovaos.it
>>>>> Tel.: 081 197 57 600
>>>>> mail: fabiodovidio@...
>>>>>
>>>>>
>>>>>
>>>>>
>>>>> Oliver Christen ha scritto:
>>>>>> what error do you get ?
>>>>>>
>>>>>>
>>>>>>
>>>>>>> I installed sqlite from php-pecl. Its name is sqlite.so, i renamed
>>>>>>> it with php_sqlite.so and.... cartoweb doesn't work for search
>>>>>>> function!
>>>>>>>
>>>>>>> How can I do ?
>>>>>>>
>>>>>>> Thanks.
>>>>>>>
>>>>>>> Oliver Christen ha scritto:
>>>>>>>>>
>>>>>>>>> I know I could install this packages also trought pear command
>>>>>>>>> line.....
>>>>>>>>>
>>>>>>>>
>>>>>>>> maybe thats why the name is different, PEAR may have expected you
>>>>>>>> to install it via PEAR's command line.
>>>>>>>>
>>>>>>>> does it work now with a renamed .so ?
>>>>>>>>
>>>>>>>
>>>>>>> --
>>>>>>> Ing. Fabio D'Ovidio
>>>>>>>
>>>>>>> INOVA Open Solutions s.r.l.
>>>>>>> Web : http://www.inovaos.it
>>>>>>> Tel.: 081 197 57 600
>>>>>>> mail: fabiodovidio@...
>>>>>>>
>>>>>>>
>>>>>>
>>>>>>
>>>>>
>>>>>
>>>>
>>>>
>>>
>>> --
>>> Ing. Fabio D'Ovidio
>>>
>>> INOVA Open Solutions s.r.l.
>>> Web : http://www.inovaos.it
>>> Tel.: 081 197 57 600
>>> mail: fabiodovidio@...
>>>
>>>
>>
>>
>
> --
> Ing. Fabio D'Ovidio
>
> INOVA Open Solutions s.r.l.
> Web : http://www.inovaos.it
> Tel.: 081 197 57 600
> mail: fabiodovidio@...
>
>

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

Re: PEAR installation

by Fabio D'Ovidio-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Ok Oliver,
thanks for your support!
But this bug doesn't resolve my problem with search functionality, is it
right ?

Oliver Christen ha scritto:

> thats a javascript bug which should have been fixed in version 3.5
>
> in file AjaxPlugins.js
>
> ===================================================================
> RCS file: /var/lib/cvs/projects/cw3/cartoweb3/htdocs/js/AjaxPlugins.js,v
> retrieving revision 1.11
> retrieving revision 1.12
> diff -u -r1.11 -r1.12
> --- cartoweb3/htdocs/js/AjaxPlugins.js 2007/07/19 16:56:57 1.11
> +++ cartoweb3/htdocs/js/AjaxPlugins.js 2008/07/28 08:24:15 1.12
> @@ -126,6 +126,11 @@
>  
>     clearWaitingMessage: function() {
>         xHide($('loadbarDiv'));
> +        // force hide after 10, solve non closing waiting msg bug
> +        var timeoutFn = function() {
> +            xHide($('loadbarDiv'));
> +        }
> +        setTimeout(timeoutFn, 10);
>     },
>         clearDhtmlDrawings: function() {
>
>
>>
>>
>> Oliver Christen ha scritto:
>>> the response seems ok
>>>
>>> when you say the application remains blocked, do you mean the
>>> "waiting" message do not disappear ?
>>
>>
>> Yes, true !
>>
>>
>

--
Ing. Fabio D'Ovidio

INOVA Open Solutions s.r.l.
Web : http://www.inovaos.it
Tel.: 081 197 57 600
mail: fabiodovidio@...

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

Re: PEAR installation

by Fabio D'Ovidio-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message



Oliver Christen ha scritto:
> the important part is what is returned, here $results
>
> because ServerLocation say what it receives is empty.

but it isn't empty ... it returns my correct value

anyway, thanks a lot !
_______________________________________________
Cartoweb-users mailing list
Cartoweb-users@...
http://lists.maptools.org/mailman/listinfo/cartoweb-users
< Prev | 1 - 2 | Next >