[turba] A lot of empty message since turba-2.3.4
Jan Schneider
jan at horde.org
Fri Mar 4 10:20:31 UTC 2011
Zitat von Philippe Camps <Philippe.Camps at impmc.upmc.fr>:
> 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"
Whoa, no idea how you got *there*.
Try putting this at the top of the push() method in
lib/Horde/Notification.php:
if (is_a($event, 'Turba_Driver_sql')) {
var_dump(debug_backtrace());
}
Jan.
--
Do you need professional PHP or Horde consulting?
http://horde.org/consulting/
More information about the turba
mailing list