[turba] A lot of empty message since turba-2.3.4

Philippe Camps Philippe.Camps at impmc.upmc.fr
Fri Mar 4 09:59:38 UTC 2011


Le 04/03/2011 10:18, Jan Schneider a écrit :
> Zitat von Philippe Camps <philippe.camps at impmc.upmc.fr>:
>
>> Le 25/02/2011 17:07, Philippe Camps a écrit :
>>> Hi the list,
>>>
>>> I have recently update horde and its applications to the last 
>>> version (horde-3.3.11), except turba.
>>>
>>> The last version which is working is turba-2.3.3. I have problem 
>>> since turba2.3.4, and it's the same thing with turba-2.3.5.
>>>
>>> The problem: when I click on the address bookmark icon, I can see 
>>> that a new empty message appears with a red hand. So that, I have 
>>> more and more lines above my address bookmark .
>>>
>>> In my logs, there is a PHP warning about the htmlspecialchars() 
>>> function in horde/lib/Horde/Notification/Listener/status.php
>>>
>>> [client 134.157.XXX.XXX] PHP Warning:htmlspecialchars() expects 
>>> parameter 1 to be string, object given in 
>>> /var2/www/html/new/WORK/horde-3.3.11/lib/Horde/Notification/Listener/status.php 
>>> on line 77, referer: 
>>> https://www.domain/new/WORK/horde-3.3.11/login.php?frameset_loaded=1
>>>
>>> My php version is 4.3.9 (redhat 4)
>>>
>>> In my mysql backend, there are also new records whenever I click. 
>>> And the number of records equal the number of my empty messages:
>>>
>>> mysql> *select * from horde_datatree where user_uid='matrice';*
>>>
>>> +-------------+------------------------+----------+----------------------------------+------------------+----------------+---------------+---------------------+ 
>>> | datatree_id | group_uid| user_uid | datatree_name| 
>>> datatree_parents | datatree_order | datatree_data | 
>>> datatree_serialized |
>>>
>>> +-------------+------------------------+----------+----------------------------------+------------------+----------------+---------------+---------------------+ 
>>> |619 | horde.shares.turba| matrice| 736759c241722fd1d229c9bfaeac6088 
>>> ||NULL | NULL|0 |
>>>
>>> |620 | horde.shares.nag| matrice| matrice||NULL | NULL|0 |
>>>
>>> |621 | horde.shares.kronolith | matrice| matrice||NULL | NULL|0 |
>>>
>>> |622 | horde.shares.mnemo| matrice| matrice||NULL | NULL|0 |
>>>
>>> |5653 | horde.shares.turba| matrice| 
>>> 38845372e11ceeeaac8d18cd4451deb0 ||NULL | NULL|0 |
>>>
>>> |5654 | horde.shares.turba| matrice| 
>>> 6c2f5d0bd7f8ad73675e0a242be351a5 ||NULL | NULL|0 |
>>>
>>> |5659 | horde.shares.turba| matrice| 
>>> dc4828af3f3187cb65200c7d9a54bfa3 ||NULL | NULL|0 |
>>>
>>> |5660 | horde.shares.turba| matrice| 
>>> 97e7ed13edf5ad3767926508f9b474ba ||NULL | NULL|0 |
>>>
>>> |5661 | horde.shares.turba| matrice| 
>>> 6e0903ba1511911949f8fd5e69062f9e ||NULL | NULL|0 |
>>>
>>> |5662 | horde.shares.turba| matrice| 
>>> 34e9b798e13ca8d580baff95aede0c5c ||NULL | NULL|0 |
>>>
>>> |5663 | horde.shares.turba| matrice| 
>>> dc1cb30f1081113664bd7fd5f76c4553 ||NULL | NULL|0 |
>>>
>>> |5739 | horde.shares.turba| matrice| 
>>> 0453d2eba24948d6e4ad823a0a99f198 ||NULL | NULL|0 |
>>>
>>> |5740 | horde.shares.turba| matrice| 
>>> e59fb1b570e800e27a36774f680d12a9 ||NULL | NULL|0 |
>>>
>>> |5741 | horde.shares.turba| matrice| 
>>> 3f7ec2c7bfcd2a938d3b28af0b088a87 ||NULL | NULL|0 |
>>>
>>> |5742 | horde.shares.turba| matrice| 
>>> a793fdfafc1a1a71d8869b495118a7f8 ||NULL | NULL|0 |
>>>
>>> |5743 | horde.shares.turba| matrice| 
>>> e3fff298aa5a8e3ddadcb7312bd2e669 ||NULL | NULL|0 |
>>>
>>> .....
>>>
>>> More than 20 lines.
>>>
>>> I have configured myself the files: config/sources.php and 
>>> config/attributes.php
>>>
>>> What does it mean ? Have you any suggestions ? Thanks a lot
>>>
>> Hi,
>>
>> Nobody else met this bug in turba>2.3.3 ?
>> So am I  the only one in this case ?
>
> Yes, looks like it. There seem to several issues at once. Let's start 
> with one first. Put a
>
> var_dump($text);
>
> before the
>
> $text = htmlspecialchars($text);
>
> line and post the output.
>
> Jan.
>
Hi Jan,

Thank you kindly help me

I did what you suggest, and I get in each message:


object(__PHP_Incomplete_Class)(16) { ["__PHP_Incomplete_Class_Name"]=> 
string(16) "turba_driver_sql" ["name"]=> string(8) "localsql" 
["title"]=> string(12) "Mon annuaire" ["map"]=> array(41) { ["__key"]=> 
string(9) "object_id" ["__owner"]=> string(8) "owner_id" ["__type"]=> 
string(11) "object_type" ["__members"]=> string(14) "object_members" 
["__uid"]=> string(10) "object_uid" ["firstname"]=> string(16) 
"object_firstname" ["lastname"]=> string(15) "object_lastname" 
["middlenames"]=> string(18) "object_middlenames" ["namePrefix"]=> 
string(17) "object_nameprefix" ["nameSuffix"]=> string(17) 
"object_namesuffix" ["name"]=> array(3) { ["fields"]=> array(5) { [0]=> 
string(10) "namePrefix" [1]=> string(9) "firstname" [2]=> string(11) 
"middlenames" [3]=> string(8) "lastname" [4]=> string(10) "nameSuffix" } 
["format"]=> string(14) "%s %s %s %s %s" ["parse"]=> array(2) { [0]=> 
array(2) { ["fields"]=> array(3) { [0]=> string(9) "firstname" [1]=> 
string(11) "middlenames" [2]=> string(8) "lastname" } ["format"]=> 
string(8) "%s %s %s" } [1]=> array(2) { ["fields"]=> array(2) { [0]=> 
string(9) "firstname" [1]=> string(8) "lastname" } ["format"]=> 
string(5) "%s %s" } } } ["alias"]=> string(12) "object_alias" 
["birthday"]=> string(11) "object_bday" ["homeStreet"]=> string(17) 
"object_homestreet" ["homePOBox"]=> string(14) "object_homepob" 
["homeCity"]=> string(15) "object_homecity" ["homeProvince"]=> 
string(19) "object_homeprovince" ["homePostalCode"]=> string(21) 
"object_homepostalcode" ["homeCountry"]=> string(18) 
"object_homecountry" ["workStreet"]=> string(17) "object_workstreet" 
["workPOBox"]=> string(14) "object_workpob" ["workCity"]=> string(15) 
"object_workcity" ["workProvince"]=> string(19) "object_workprovince" 
["workPostalCode"]=> string(21) "object_workpostalcode" 
["workCountry"]=> string(18) "object_workcountry" ["timezone"]=> 
string(9) "object_tz" ["email"]=> string(12) "object_email" 
["homePhone"]=> string(16) "object_homephone" ["workPhone"]=> string(16) 
"object_workphone" ["cellPhone"]=> string(16) "object_cellphone" 
["fax"]=> string(10) "object_fax" ["pager"]=> string(12) "object_pager" 
["title"]=> string(12) "object_title" ["role"]=> string(11) 
"object_role" ["company"]=> string(14) "object_company" ["category"]=> 
string(15) "object_category" ["notes"]=> string(12) "object_notes" 
["website"]=> string(10) "object_url" ["freebusyUrl"]=> string(18) 
"object_freebusyurl" ["pgpPublicKey"]=> string(19) "object_pgppublickey" 
["smimePublicKey"]=> string(21) "object_smimepublickey" } ["tabs"]=> 
array(5) { ["Petite annonce personnelle"]=> array(8) { [0]=> string(9) 
"firstname" [1]=> string(8) "lastname" [2]=> string(11) "middlenames" 
[3]=> string(10) "namePrefix" [4]=> string(10) "nameSuffix" [5]=> 
string(4) "name" [6]=> string(5) "alias" [7]=> string(8) "birthday" } 
["Lieu"]=> array(13) { [0]=> string(10) "homeStreet" [1]=> string(9) 
"homePOBox" [2]=> string(8) "homeCity" [3]=> string(12) "homeProvince" 
[4]=> string(14) "homePostalCode" [5]=> string(11) "homeCountry" [6]=> 
string(10) "workStreet" [7]=> string(9) "workPOBox" [8]=> string(8) 
"workCity" [9]=> string(12) "workProvince" [10]=> string(14) 
"workPostalCode" [11]=> string(11) "workCountry" [12]=> string(8) 
"timezone" } ["Communications"]=> array(6) { [0]=> string(5) "email" 
[1]=> string(9) "homePhone" [2]=> string(9) "workPhone" [3]=> string(9) 
"cellPhone" [4]=> string(3) "fax" [5]=> string(5) "pager" } 
["Organisation"]=> array(3) { [0]=> string(5) "title" [1]=> string(4) 
"role" [2]=> string(7) "company" } ["Autre"]=> array(6) { [0]=> 
string(8) "category" [1]=> string(5) "notes" [2]=> string(7) "website" 
[3]=> string(11) "freebusyUrl" [4]=> string(12) "pgpPublicKey" [5]=> 
string(14) "smimePublicKey" } } ["fields"]=> array(40) { ["__key"]=> 
string(9) "object_id" ["__owner"]=> string(8) "owner_id" ["__type"]=> 
string(11) "object_type" ["__members"]=> string(14) "object_members" 
["__uid"]=> string(10) "object_uid" ["firstname"]=> string(16) 
"object_firstname" ["lastname"]=> string(15) "object_lastname" 
["middlenames"]=> string(18) "object_middlenames" ["namePrefix"]=> 
string(17) "object_nameprefix" ["nameSuffix"]=> string(17) 
"object_namesuffix" ["alias"]=> string(12) "object_alias" ["birthday"]=> 
string(11) "object_bday" ["homeStreet"]=> string(17) "object_homestreet" 
["homePOBox"]=> string(14) "object_homepob" ["homeCity"]=> string(15) 
"object_homecity" ["homeProvince"]=> string(19) "object_homeprovince" 
["homePostalCode"]=> string(21) "object_homepostalcode" 
["homeCountry"]=> string(18) "object_homecountry" ["workStreet"]=> 
string(17) "object_workstreet" ["workPOBox"]=> string(14) 
"object_workpob" ["workCity"]=> string(15) "object_workcity" 
["workProvince"]=> string(19) "object_workprovince" ["workPostalCode"]=> 
string(21) "object_workpostalcode" ["workCountry"]=> string(18) 
"object_workcountry" ["timezone"]=> string(9) "object_tz" ["email"]=> 
string(12) "object_email" ["homePhone"]=> string(16) "object_homephone" 
["workPhone"]=> string(16) "object_workphone" ["cellPhone"]=> string(16) 
"object_cellphone" ["fax"]=> string(10) "object_fax" ["pager"]=> 
string(12) "object_pager" ["title"]=> string(12) "object_title" 
["role"]=> string(11) "object_role" ["company"]=> string(14) 
"object_company" ["category"]=> string(15) "object_category" ["notes"]=> 
string(12) "object_notes" ["website"]=> string(10) "object_url" 
["freebusyUrl"]=> string(18) "object_freebusyurl" ["pgpPublicKey"]=> 
string(19) "object_pgppublickey" ["smimePublicKey"]=> string(21) 
"object_smimepublickey" } ["strict"]=> array(3) { [0]=> string(9) 
"object_id" [1]=> string(8) "owner_id" [2]=> string(11) "object_type" } 
["approximate"]=> array(0) { } ["listNameField"]=> string(8) "lastname" 
["alternativeName"]=> NULL ["_params"]=> array(12) { ["persistent"]=> 
bool(false) ["username"]=> string(5) "horde" ["password"]=> string(8) 
"i8YhcXvP" ["hostspec"]=> string(22) "mysql.impmc.jussieu.fr" ["port"]=> 
int(3306) ["protocol"]=> string(3) "tcp" ["database"]=> string(5) 
"horde" ["charset"]=> string(10) "iso-8859-1" ["ssl"]=> bool(false) 
["splitread"]=> bool(false) ["phptype"]=> string(5) "mysql" ["table"]=> 
string(13) "turba_objects" } ["_capabilities"]=> array(2) { 
["delete_all"]=> bool(true) ["delete_addressbook"]=> bool(true) } 
["_count"]=> NULL ["_contact_owner"]=> string(0) "" ["_db"]=> 
&object(db_mysql)(26) { ["phptype"]=> string(5) "mysql" ["dbsyntax"]=> 
string(5) "mysql" ["features"]=> array(7) { ["limit"]=> string(5) 
"alter" ["new_link"]=> string(5) "4.2.0" ["numrows"]=> bool(true) 
["pconnect"]=> bool(true) ["prepare"]=> bool(false) ["ssl"]=> 
bool(false) ["transactions"]=> bool(true) } ["errorcode_map"]=> 
array(26) { [1004]=> int(-15) [1005]=> int(-15) [1006]=> int(-15) 
[1007]=> int(-5) [1008]=> int(-17) [1022]=> int(-5) [1044]=> int(-26) 
[1046]=> int(-14) [1048]=> int(-3) [1049]=> int(-27) [1050]=> int(-5) 
[1051]=> int(-18) [1054]=> int(-19) [1061]=> int(-5) [1062]=> int(-5) 
[1064]=> int(-2) [1091]=> int(-4) [1100]=> int(-21) [1136]=> int(-22) 
[1142]=> int(-26) [1146]=> int(-18) [1216]=> int(-3) [1217]=> int(-3) 
[1356]=> int(-13) [1451]=> int(-3) [1452]=> int(-3) } ["connection"]=> 
resource(180) of type (mysql link persistent) ["dsn"]=> array(14) { 
["phptype"]=> string(5) "mysql" ["dbsyntax"]=> string(5) "mysql" 
["username"]=> string(5) "horde" ["password"]=> string(8) "i8YhcXvP" 
["protocol"]=> string(3) "tcp" ["hostspec"]=> string(22) 
"mysql.impmc.jussieu.fr" ["port"]=> int(3306) ["socket"]=> bool(false) 
["database"]=> string(5) "horde" ["persistent"]=> bool(false) 
["charset"]=> string(10) "iso-8859-1" ["ssl"]=> bool(false) 
["splitread"]=> bool(false) ["table"]=> string(13) "turba_objects" } 
["autocommit"]=> bool(true) ["transaction_opcount"]=> int(0) ["_db"]=> 
string(5) "horde" ["_debug"]=> bool(false) ["_default_error_mode"]=> 
NULL ["_default_error_options"]=> NULL ["_default_error_handler"]=> 
string(0) "" ["_error_class"]=> string(10) "PEAR_Error" 
["_expected_errors"]=> array(0) { } ["fetchmode"]=> int(1) 
["fetchmode_object_class"]=> string(8) "stdClass" ["was_connected"]=> 
bool(true) ["last_query"]=> string(0) "" ["options"]=> array(8) { 
["result_buffering"]=> int(500) ["persistent"]=> bool(false) ["ssl"]=> 
bool(false) ["debug"]=> int(0) ["seqname_format"]=> string(6) "%s_seq" 
["autofree"]=> bool(false) ["portability"]=> int(17) ["optimize"]=> 
string(11) "performance" } ["last_parameters"]=> array(0) { } 
["prepare_tokens"]=> array(0) { } ["prepare_types"]=> array(0) { } 
["prepared_queries"]=> array(0) { } ["_last_query_manip"]=> bool(false) 
["_next_query_manip"]=> bool(false) } ["_write_db"]=> 
&object(db_mysql)(26) { ["phptype"]=> string(5) "mysql" ["dbsyntax"]=> 
string(5) "mysql" ["features"]=> array(7) { ["limit"]=> string(5) 
"alter" ["new_link"]=> string(5) "4.2.0" ["numrows"]=> bool(true) 
["pconnect"]=> bool(true) ["prepare"]=> bool(false) ["ssl"]=> 
bool(false) ["transactions"]=> bool(true) } ["errorcode_map"]=> 
array(26) { [1004]=> int(-15) [1005]=> int(-15) [1006]=> int(-15) 
[1007]=> int(-5) [1008]=> int(-17) [1022]=> int(-5) [1044]=> int(-26) 
[1046]=> int(-14) [1048]=> int(-3) [1049]=> int(-27) [1050]=> int(-5) 
[1051]=> int(-18) [1054]=> int(-19) [1061]=> int(-5) [1062]=> int(-5) 
[1064]=> int(-2) [1091]=> int(-4) [1100]=> int(-21) [1136]=> int(-22) 
[1142]=> int(-26) [1146]=> int(-18) [1216]=> int(-3) [1217]=> int(-3) 
[1356]=> int(-13) [1451]=> int(-3) [1452]=> int(-3) } ["connection"]=> 
resource(180) of type (mysql link persistent) ["dsn"]=> array(14) { 
["phptype"]=> string(5) "mysql" ["dbsyntax"]=> string(5) "mysql" 
["username"]=> string(5) "horde" ["password"]=> string(8) "i8YhcXvP" 
["protocol"]=> string(3) "tcp" ["hostspec"]=> string(22) 
"mysql.impmc.jussieu.fr" ["port"]=> int(3306) ["socket"]=> bool(false) 
["database"]=> string(5) "horde" ["persistent"]=> bool(false) 
["charset"]=> string(10) "iso-8859-1" ["ssl"]=> bool(false) 
["splitread"]=> bool(false) ["table"]=> string(13) "turba_objects" } 
["autocommit"]=> bool(true) ["transaction_opcount"]=> int(0) ["_db"]=> 
string(5) "horde" ["_debug"]=> bool(false) ["_default_error_mode"]=> 
NULL ["_default_error_options"]=> NULL ["_default_error_handler"]=> 
string(0) "" ["_error_class"]=> string(10) "PEAR_Error" 
["_expected_errors"]=> array(0) { } ["fetchmode"]=> int(1) 
["fetchmode_object_class"]=> string(8) "stdClass" ["was_connected"]=> 
bool(true) ["last_query"]=> string(0) "" ["options"]=> array(8) { 
["result_buffering"]=> int(500) ["persistent"]=> bool(false) ["ssl"]=> 
bool(false) ["debug"]=> int(0) ["seqname_format"]=> string(6) "%s_seq" 
["autofree"]=> bool(false) ["portability"]=> int(17) ["optimize"]=> 
string(11) "performance" } ["last_parameters"]=> array(0) { } 
["prepare_tokens"]=> array(0) { } ["prepare_types"]=> array(0) { } 
["prepared_queries"]=> array(0) { } ["_last_query_manip"]=> bool(false) 
["_next_query_manip"]=> bool(false) } }



More information about the turba mailing list