<?xml version="1.0" encoding="UTF-8"?> 
<?xml-stylesheet href="https://dev.horde.org/themes/horde//default/feed-rss.xsl" type="text/xsl"?> 
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"> 
 <channel> 
  <title>Kronolith does not sync calendar, contacts work with Android 2.2.1/Motorola Milestone mobile</title> 
  <pubDate>Fri, 10 Apr 2026 14:49:31 +0000</pubDate> 
  <link>https://bugs.horde.org/ticket/10194</link> 
  <atom:link rel="self" type="application/rss+xml" title="Kronolith does not sync calendar, contacts work with Android 2.2.1/Motorola Milestone mobile" href="https://bugs.horde.org/ticket/10194/rss" /> 
  <description>Kronolith does not sync calendar, contacts work with Android 2.2.1/Motorola Milestone mobile</description> 
 
   
   
  <item> 
   <title>Hi,

I have a motorola milestone mobile phone with firmwar</title> 
   <description>Hi,

I have a motorola milestone mobile phone with firmware 2.2.1. I am trying to setup Horde ActiveSync to synchronize contacts and calendar entries. I created a corresponding profile on my mobile, setup completes without errors. Syncing contacts is successful afterwards in both directions but nothing happens with calendar entries. If I initiate a manual sync, nothing happens, I don&#039;t even see traffic from the mobile to my server via tcpdump.

I&#039;ve attached the activesync log of the initial setup. I&#039;ve reset the settings several times. No joy... 

Cheers,
Lars </description> 
   <pubDate>Sun, 05 Jun 2011 10:20:33 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/10194#t65399</link> 
  </item> 
   
  <item> 
   <title>The activesync log of the initial setup.</title> 
   <description>The activesync log of the initial setup.</description> 
   <pubDate>Sun, 05 Jun 2011 10:28:58 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/10194#t65400</link> 
  </item> 
   
  <item> 
   <title>Works fine here. The log provided shows a successful FOLDERS</title> 
   <description>Works fine here. The log provided shows a successful FOLDERSYNC only. 
Any errors in the Horde log?</description> 
   <pubDate>Mon, 06 Jun 2011 18:03:33 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/10194#t65431</link> 
  </item> 
   
  <item> 
   <title>have the same problem here. nothing suspicious in the horde </title> 
   <description>have the same problem here. nothing suspicious in the horde configs so far.</description> 
   <pubDate>Sat, 18 Jun 2011 22:08:01 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/10194#t65716</link> 
  </item> 
   
  <item> 
   <title>&gt; have the same problem here. nothing suspicious in the hord</title> 
   <description>&gt; have the same problem here. nothing suspicious in the horde configs so far.
I actualy meant: nothing on the horde configs so far.

I use kronolith 3.0.4 on horde 4.0.6</description> 
   <pubDate>Sun, 19 Jun 2011 20:12:41 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/10194#t65717</link> 
  </item> 
   
  <item> 
   <title>&gt; I actualy meant: nothing on the horde configs so far.
Oh </title> 
   <description>&gt; I actualy meant: nothing on the horde configs so far.
Oh boy.. Too late for me now. LOGs ... I mean LOGs</description> 
   <pubDate>Sun, 19 Jun 2011 20:15:14 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/10194#t65718</link> 
  </item> 
   
  <item> 
   <title>I can confirm, that there is nothing in the horde logs regar</title> 
   <description>I can confirm, that there is nothing in the horde logs regarding sync errors. It seems as if something is missing in the initial setup and later on the android app does not even try to sync the calendar.</description> 
   <pubDate>Sun, 19 Jun 2011 21:40:53 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/10194#t65720</link> 
  </item> 
   
  <item> 
   <title>&gt; later on the android app does not even try to sync the cal</title> 
   <description>&gt; later on the android app does not even try to sync the calendar.
Can confirm that here too,

Horde logs do nothing besides
+++++++++++++++++
2011-06-20T09:28:14+02:00 DEBUG: [androidc816936759] Initializing message diff engine for Contacts
2011-06-20T09:28:14+02:00 DEBUG: Horde_ActiveSync_Driver_Horde::getServerChanges(Contacts, 1308554796, 1308554894, 0)
2011-06-20T09:28:14+02:00 DEBUG: [androidc816936759] Found 0 message changes, checking for PIM initiated changes.
2011-06-20T09:28:14+02:00 DEBUG: [androidc816936759] No PIM changes present, returning all messages.
+++++++++++++++++
Even if I hit the &#039;Sync calendar now&#039; button a few times.

If i hit the &#039;Sync contacts now&#039; lots of lines are logged to the activesync log.

Anything more i can tell you for bugtracking?</description> 
   <pubDate>Mon, 20 Jun 2011 07:29:25 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/10194#t65723</link> 
  </item> 
   
  <item> 
   <title>It is the client&#039;s responsibility to initiate a SYNC request</title> 
   <description>It is the client&#039;s responsibility to initiate a SYNC request. From the small log already posted, it looks like the calendar folder is properly being initialized.

I can not reproduce this at all on any of my test devices, including android. At least one dev is using the Milestone without any issues as well.  Make sure you didn&#039;t miss anything in both the sync log AND the general horde log.

To make sure the server is working correctly, you can try to use the Touchdown application (trial available in Android Market) and see if calendar sync works better for you. It has a far more complete calendar implementation then the buggy stock android calendar.</description> 
   <pubDate>Mon, 20 Jun 2011 14:50:28 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/10194#t65729</link> 
  </item> 
   
  <item> 
   <title>&gt; It is the client&#039;s responsibility to initiate a SYNC reque</title> 
   <description>&gt; It is the client&#039;s responsibility to initiate a SYNC request. From 
&gt; the small log already posted, it looks like the calendar folder is 
&gt; properly being initialized.
I see.

&gt; I can not reproduce this at all on any of my test devices, including 
&gt; android. At least one dev is using the Milestone without any issues 
&gt; as well.  Make sure you didn&#039;t miss anything in both the sync log AND 
&gt; the general horde log.
That sounds goog for me because I am using a GalaxyTab.

&gt; To make sure the server is working correctly, you can try to use the 
&gt; Touchdown application (trial available in Android Market) and see if 
&gt; calendar sync works better for you. It has a far more complete 
&gt; calendar implementation then the buggy stock android calendar.

No errors in apache. Not working with Touchdown.
I attached the activesync log that was written while Touchdown syned.

I am going to try the latest git tag maybe the bug is already fixed.

</description> 
   <pubDate>Mon, 20 Jun 2011 16:10:08 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/10194#t65732</link> 
  </item> 
   
  <item> 
   <title>There are a few funny things happening in this log. First, t</title> 
   <description>There are a few funny things happening in this log. First, the client is issuing a PING request immediately after the FOLDERSYNC. This is incorrect, at least for version 2.5 of ActiveSync. At least one SYNC request needs to be issued before a PING. This might be a side effect of some other issue...

The second thing is the &quot;2011-06-20T17:55:24+02:00 ERR: Zugriff verweigert&quot; entry in the sync logs. This sounds like an issue with authentication that was already fixed. Though since you say you are using git master, this might be a new issue. Probably something to do with Horde sessions. What authentication backend are you using, what session backend, and are you using cookie based sessions?</description> 
   <pubDate>Mon, 20 Jun 2011 16:43:47 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/10194#t65733</link> 
  </item> 
   
  <item> 
   <title>&gt; The second thing is the &quot;2011-06-20T17:55:24+02:00 ERR: Zu</title> 
   <description>&gt; The second thing is the &quot;2011-06-20T17:55:24+02:00 ERR: Zugriff 
&gt; verweigert&quot; entry in the sync logs. This sounds like an issue with 
&gt; authentication that was already fixed. Though since you say you are 
&gt; using git master, this might be a new issue. Probably something to do 
&gt; with Horde sessions. What authentication backend are you using, what 
&gt; session backend, and are you using cookie based sessions?

I may have done a mistake by replying to others bug reports. I am currently working to get the git master to work. I did not use it before. More info to come.</description> 
   <pubDate>Mon, 20 Jun 2011 17:33:27 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/10194#t65735</link> 
  </item> 
   
  <item> 
   <title>Running git version 141b088dfea802b1d72fbbc8576fa8ae675a04b0</title> 
   <description>Running git version 141b088dfea802b1d72fbbc8576fa8ae675a04b0

No look with Touchdown either.

I let android it do what ever it was doing the whole night. No horde-calendar calendar entries synced.

The attached file is the activesync log using touchdown für android 2.x</description> 
   <pubDate>Tue, 21 Jun 2011 06:49:46 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/10194#t65740</link> 
  </item> 
   
  <item> 
   <title>Reproduction:
 - Delete all contact books (one is auto-rege</title> 
   <description>Reproduction:
 - Delete all contact books (one is auto-regenerated empty)
 - Delete all calendars (one is auto-regenerated empty)
 - Delete all coupled active sync devices in horde
 - Delete ActiveSync Source in Android
 - StartOver from scratch:
 - Reboot Android
 - add the ActiveSync Source in Android
 - Wait 10 minutes to finish inital sync
 - add a contact in addressbook
 - add an event in calendar
 - press &#039;sync&#039; in android
 - wait
 - no changes in calendar
 - even no changes in contacts this time (maybe due to this error: ERR: Ungültiges Adressbuch: NQZXETMRB6RN_kiPCU4AxEA) Where ever it came from

 - full activesync log appended
</description> 
   <pubDate>Tue, 21 Jun 2011 08:00:16 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/10194#t65742</link> 
  </item> 
   
  <item> 
   <title>Changes have been made in Git for this ticket:

Revert &quot;Anot</title> 
   <description>Changes have been made in Git for this ticket:

Revert &quot;Another small android workaround.&quot;
Need to keep this entry, at least temporarily. Otherwise,
initial setup can fail on some android devices that incorrectly
attempt to provision (even though they don&#039;t actually support it),
then (again, incorrectly) perform a FOLDERSYNC that is actually
ignored by the client anyway. Yay standards.

Hopefully helps at least some of the issues being reported in
Bug: 10194
This reverts commit 736800574f6cc05570266ce8adb8bbbc6aa120fc.

 1 files changed, 1 insertions(+), 4 deletions(-)
http://git.horde.org/horde-git/-/commit/7f69397f8b41e1e34334aa92ea9a3d6de81416db</description> 
   <pubDate>Tue, 21 Jun 2011 14:58:21 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/10194#t65747</link> 
  </item> 
   
  <item> 
   <title>This last commit might help some of the issues reported here</title> 
   <description>This last commit might help some of the issues reported here. Please try a completely fresh sync (new account on phone, clear devices in Horde etc...).

If still experiencing problems, I will need a dump of the event database to ensure nothing funny is causing problems there.
</description> 
   <pubDate>Tue, 21 Jun 2011 16:00:54 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/10194#t65748</link> 
  </item> 
   
  <item> 
   <title>Thanks for the git commit.

Things didn&#039;t change though.
</title> 
   <description>Thanks for the git commit.

Things didn&#039;t change though.

Reproduction:
 - Use a new mail - user (horde@xeroc.org)
 - Setup android to sync with it.
 - The initial synclog is attached
 - after a few minutes, as there was still no new calendar appearing in android hit the sync calendar button manually
 - log file did not change ( :-( )
 - after a few more minutes hit the sync contacts button
 - things changed in log file (log attached)
 - after a few minutes, hit the sync calendar button manually again
 - log file did not change
 - calendar still not appearing in android</description> 
   <pubDate>Tue, 21 Jun 2011 16:14:44 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/10194#t65749</link> 
  </item> 
   
  <item> 
   <title>Initial Log - right after setting active sync up on android</title> 
   <description>Initial Log - right after setting active sync up on android</description> 
   <pubDate>Tue, 21 Jun 2011 16:16:12 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/10194#t65750</link> 
  </item> 
   
  <item> 
   <title>Seems like samsungs android 2.2 needs the &#039;sync antomaticly&#039;</title> 
   <description>Seems like samsungs android 2.2 needs the &#039;sync antomaticly&#039; options enabled.
Anyway. Lots of logslines are produced.
calendar is produced on android. But existing events are not imported.

These lines are produced over and over:
#############
2011-06-21T18:45:49+02:00 DEBUG: [androidc816936759] Found 1 message changes, checking for PIM initiated changes.
2011-06-21T18:45:49+02:00 DEBUG: [androidc816936759] No PIM changes present, returning all messages.
2011-06-21T18:45:49+02:00 DEBUG: Horde::getMessage(Calendar, 20110621181107.emUPWjMRB6ROAMKbWQH30DA@horde.xeroc.org)
#############</description> 
   <pubDate>Tue, 21 Jun 2011 16:48:17 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/10194#t65751</link> 
  </item> 
   
  <item> 
   <title>This is the same failure mode as Bug: 10263</title> 
   <description>This is the same failure mode as Bug: 10263</description> 
   <pubDate>Tue, 21 Jun 2011 17:19:40 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/10194#t65757</link> 
  </item> 
   
  <item> 
   <title>&gt; This is the same failure mode as Bug: 10263
I don&#039; think </title> 
   <description>&gt; This is the same failure mode as Bug: 10263
I don&#039; think so ... His transfer stop after several events I thought. Here it is stuck during the very first. Not depending on the event (tested several different one (generated in google,kronologh,manually))</description> 
   <pubDate>Tue, 21 Jun 2011 21:46:15 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/10194#t65770</link> 
  </item> 
   
  <item> 
   <title>
Well, not according to the posted log. Regardless, the poi</title> 
   <description>
Well, not according to the posted log. Regardless, the point is that something is failing within kronolith&#039;s scope, while trying to fetch a single event.</description> 
   <pubDate>Wed, 22 Jun 2011 21:22:45 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/10194#t65792</link> 
  </item> 
   
  <item> 
   <title>
&gt; 2011-06-21T18:45:49+02:00 DEBUG: [androidc816936759] Fou</title> 
   <description>
&gt; 2011-06-21T18:45:49+02:00 DEBUG: [androidc816936759] Found 1 message 
&gt; changes, checking for PIM initiated changes.
&gt; 2011-06-21T18:45:49+02:00 DEBUG: [androidc816936759] No PIM changes 
&gt; present, returning all messages.
&gt; 2011-06-21T18:45:49+02:00 DEBUG: Horde::getMessage(Calendar, 
&gt; 20110621181107.emUPWjMRB6ROAMKbWQH30DA@horde.xeroc.org)
&gt; #############

Ok. From the phpshell available in Horde (horde/admin/phpshell.php) try running this (assuming that this event still exists in your database, if not, use the event_uid from another one of the log entries like above):

$event = $registry-&gt;calendar-&gt;export(&#039;20110621181107.emUPWjMRB6ROAMKbWQH30DA@horde.xeroc.org&#039;, &#039;activesync&#039;);

var_dump($event);


post back what happens.

</description> 
   <pubDate>Thu, 23 Jun 2011 02:22:43 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/10194#t65793</link> 
  </item> 
   
  <item> 
   <title>I tried:  (I added some more events. So this one has the uid</title> 
   <description>I tried:  (I added some more events. So this one has the uid thats fails - first to be transfered)

&gt; $event = $registry-&gt;calendar-&gt;export(&#039;kqnpeoc8ti9bhmoph23dei383c@xeroc.org&#039;, &#039;activesync&#039;)
But seems to fail with no warning/error on neither horde-log nor apache log.
The only reaction is firefox wanting to download a &#039;phpshell.php&#039; file which is empty.
To check the shell I tried a single &#039;echo &quot;foobar&quot;;&#039; which was working as expected.

This is the SQL entry (fetched directly from sql-db):

INSERT INTO `kronolith_events` (`event_id`, `event_uid`, `calendar_id`, `event_creator_id`, `event_description`, `event_location`, `event_status`, `event_attendees`, `event_keywords`, `event_exceptions`, `event_title`, `event_recurtype`, `event_recurinterval`, `event_recurdays`, `event_recurenddate`, `event_recurcount`, `event_start`, `event_end`, `event_alarm`, `event_modified`, `event_private`, `event_allday`, `event_alarm_methods`, `event_url`, `event_baseid`, `event_exceptionoriginaldate`, `event_resources`) VALUES
(&#039;fiH5UzMRB6ROANTIgXvhIFA&#039;, &#039;kqnpeoc8ti9bhmoph23dei383c@xeroc.org&#039;, &#039;QYe5aTMRB6ROAEpgpqU3pyA&#039;, &#039;mail@xeroc.org&#039;, &#039;&#039;, &#039;&#039;, 1, &#039;a:0:{}&#039;, NULL, &#039;&#039;, &#039;Chorprobe&#039;, 2, 1, 2, &#039;2016-01-09 23:00:00&#039;, NULL, &#039;2011-01-10 18:30:00&#039;, &#039;2011-01-10 19:30:00&#039;, 0, 1308677318, 0, 0, &#039;N;&#039;, &#039;&#039;, &#039;&#039;, NULL, &#039;a:0:{}&#039;);

</description> 
   <pubDate>Thu, 23 Jun 2011 10:02:02 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/10194#t65796</link> 
  </item> 
   
  <item> 
   <title>Just switched back to DEBUG logging.
Nothing strange either</title> 
   <description>Just switched back to DEBUG logging.
Nothing strange either.

I ran the SQL command that hast the event_id manually and there is the same dataset returned as in the ticket befor

Appended the log</description> 
   <pubDate>Thu, 23 Jun 2011 10:09:40 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/10194#t65797</link> 
  </item> 
   
  <item> 
   <title>If I use x-vcalendar instead everything works fine:

$even</title> 
   <description>If I use x-vcalendar instead everything works fine:

$event = $registry-&gt;calendar-&gt;export(&#039;kqnpeoc8ti9bhmoph23dei383c@xeroc.org&#039;, 
&#039;text/x-vcalendar&#039;);
var_dump($event);

I get:
++++++++++++
PHP Code
1
2
3
	
$event = $registry-&gt;calendar-&gt;export(&#039;kqnpeoc8ti9bhmoph23dei383c@xeroc.org&#039;,
&#039;text/x-vcalendar&#039;);
var_dump($event);

Ergebnisse

string(449) &quot;BEGIN:VCALENDAR
VERSION:1.0
X-WR-CALNAME:Kalender von XXXXXXXXXXX
PRODID:-//The Horde Project//Horde iCalendar Library//EN
METHOD:PUBLISH
BEGIN:VEVENT
DTSTART:20110110T183000Z
DTEND:20110110T193000Z
DTSTAMP:20110623T101053Z
UID:kqnpeoc8ti9bhmoph23dei383c@xeroc.org
SUMMARY:Chorprobe
ORGANIZER;CN=...........XXXXXBlackedOutXXXXXXX............
CLASS:PUBLIC
STATUS:TENTATIVE
TRANSP:0
RRULE:W1 MO 20160110T225959Z
END:VEVENT
END:VCALENDAR
&quot;
</description> 
   <pubDate>Thu, 23 Jun 2011 10:17:59 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/10194#t65798</link> 
  </item> 
   
  <item> 
   <title>Good news:
I got it to work

Bad news:
I had to comment </title> 
   <description>Good news:
I got it to work

Bad news:
I had to comment out a line of code:

in &quot;kronolith/lib/Event.php&quot;
in the public method &quot;public function toASAppointment()&quot;
i commented out

// $message-&gt;setTimezone($this-&gt;start);


When I saw this I remembered that there was something about converting to UTC in the configs. I ran the convert script provieded in the kronolith/bin/ folder. I guess it changed some sql values (dont know for sure), but things didn&#039;t work better. So i decided to comment this line out. Et voila. 

Hope I can help you fix the issue.</description> 
   <pubDate>Thu, 23 Jun 2011 10:35:50 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/10194#t65799</link> 
  </item> 
   
  <item> 
   <title>Things are getting weired.

I could find out, that the &#039;sc</title> 
   <description>Things are getting weired.

I could find out, that the &#039;script-crash&#039; was due to

framework/ActiveSync/lib/Horde/ActiveSync/Timezone.php
line 148: $transitions =$timezone-&gt;getTransitions();

interessting is, that $timezone is an instance of DateTimeZone. So if this crashes this are wrong in pear.php.net/Date i guess. I reinstalled it using force flag. No change :(

gonna keep you posted</description> 
   <pubDate>Thu, 23 Jun 2011 11:00:32 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/10194#t65800</link> 
  </item> 
   
  <item> 
   <title>&gt; interessting is, that $timezone is an instance of DateTime</title> 
   <description>&gt; interessting is, that $timezone is an instance of DateTimeZone. So if 
&gt; this crashes this are wrong in pear.php.net/Date i guess. I 

No, this is a method of the PHP date extension: http://www.php.net/manual/en/datetimezone.gettransitions.php

Your PHP is broken if it crashes on that.</description> 
   <pubDate>Thu, 23 Jun 2011 11:34:56 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/10194#t65801</link> 
  </item> 
   
  <item> 
   <title>&gt; Your PHP is broken if it crashes on that.
Thats my guess </title> 
   <description>&gt; Your PHP is broken if it crashes on that.
Thats my guess was too.

I tested a little using the PHP-Shell:
####################
$tz = new DateTimeZone(&#039;Europe/Berlin&#039;);
var_dump($tz);
$date = new DateTime(null, new DateTimeZone(&#039;Europe/Berlin&#039;));
var_dump($date);
$date-&gt;setDate(2011, 1, 10);
$date-&gt;setTime(18, 30, 0);
var_dump($date-&gt;getTimezone()-&gt;getName());
echo &quot;&lt;hr&gt;&quot;;
$timezone = new DateTimeZone(&quot;Europe/London&quot;);
var_dump($timezone);
$transitions = $timezone-&gt;getTransitions();
print_r(array_slice($transitions, 0, 3));
####################

this script is working well.

Then I added a few lines to
framework/ActiveSync/lib/Horde/ActiveSync/Timezone.php in function getOffsetsFromDate()
after $timezone = $date-&gt;toDateTime()-&gt;getTimezone();
####################
echo &quot;&lt;hr&gt;Horde_Date:\n&quot;;         var_dump($date);echo &quot;&lt;hr&gt;&quot;;
echo &quot;&lt;hr&gt;DateTime:\n&quot;;           var_dump($date-&gt;toDateTime());echo &quot;&lt;hr&gt;&quot;;
echo &quot;&lt;hr&gt;DateTimeZone:\n&quot;;       var_dump($date-&gt;toDateTime()-&gt;getTimeZone());echo &quot;&lt;hr&gt;&quot;;
echo &quot;&lt;hr&gt;!!!!!!!!:\n&quot;;           var_dump($timezone-&gt;getName());echo &quot;&lt;hr&gt;&quot;;
####################
The interessting thing is the value of &quot;$timezone-&gt;getName()&quot; which should be &quot;Europe/Berlin&quot; but appears to be &#039;binary&#039; crap from somewhere in the memory. 
####################
!!!!!!!!:
string(4) &quot;??
&quot;
####################

I set the timezone to Berlin with
$timezone = new DateTimeZone(&#039;Europe/Berlin&#039;);
and everything works well.

But this is not a &#039;nice&#039; fix

I also reinstalled the php5 and php5-common packages using debian aptitude. No changes so far.
I also upgraded the pear packages using pear upgrad-all. no changes either.

What&#039;s next?</description> 
   <pubDate>Thu, 23 Jun 2011 12:17:52 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/10194#t65803</link> 
  </item> 
   
  <item> 
   <title>What I dont get is the following code in 
framework/ActiveS</title> 
   <description>What I dont get is the following code in 
framework/ActiveSync/lib/Horde/ActiveSync/Message/Appointment.php

++++++++++++
157     public function setTimezone($date)
158     {
159         if (!($date instanceof Horde_Date)) {
160             $timezone = new Horde_Date(time(), $date);
161         }
162         $offsets = Horde_ActiveSync_Timezone::getOffsetsFromDate($date);
163         $tz = Horde_ActiveSync_Timezone::getSyncTZFromOffsets($offsets);
164         $this-&gt;_properties[&#039;timezone&#039;] = $tz;
165     }
++++++++++++
why the hell you set $timezone and not use it anywhere?</description> 
   <pubDate>Thu, 23 Jun 2011 12:20:58 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/10194#t65804</link> 
  </item> 
   
  <item> 
   <title> &gt; why the hell you set $timezone and not use it anywhere? </title> 
   <description> &gt; why the hell you set $timezone and not use it anywhere? 

What makes you think it&#039;s not used just because you don&#039;t see the property name listed in one method or file?  It *is* used, by the parent class while encoding to the wbxml stream. It&#039;s also set by the parent class while decoding the wbxml stream from the device.
</description> 
   <pubDate>Thu, 23 Jun 2011 14:25:24 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/10194#t65807</link> 
  </item> 
   
  <item> 
   <title>&gt; The interessting thing is the value of &quot;$timezone-&gt;getName</title> 
   <description>&gt; The interessting thing is the value of &quot;$timezone-&gt;getName()&quot; which 
&gt; should be &quot;Europe/Berlin&quot; but appears to be &#039;binary&#039; crap from 
&gt; somewhere in the memory.

Sounds like maybe the timezonedb is corrupt.  If you installed the pecl timezonedb extension, try disabling it. If you are not using it, try installing it.</description> 
   <pubDate>Thu, 23 Jun 2011 14:29:48 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/10194#t65808</link> 
  </item> 
   
  <item> 
   <title>&gt; Sounds like maybe the timezonedb is corrupt.  If you insta</title> 
   <description>&gt; Sounds like maybe the timezonedb is corrupt.  If you installed the 
&gt; pecl timezonedb extension, try disabling it. If you are not using it, 
&gt; try installing it.
Didnt use it until now. Still get some random memory bytes.

I guess this is more a PHP/Debian issue and may not have to do anything with horde.</description> 
   <pubDate>Thu, 23 Jun 2011 14:39:11 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/10194#t65809</link> 
  </item> 
   
  <item> 
   <title>What is the value of $this-&gt;_timezone in framework/Date/lib/</title> 
   <description>What is the value of $this-&gt;_timezone in framework/Date/lib/Horde/Date.php in the toDateTime method around line 280? If that is a valid timezone string, then yes, it is not a bug in Horde.</description> 
   <pubDate>Thu, 23 Jun 2011 16:41:22 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/10194#t65813</link> 
  </item> 
   
  <item> 
   <title>&gt; What is the value of $this-&gt;_timezone in 
&gt; framework/Dat</title> 
   <description>&gt; What is the value of $this-&gt;_timezone in 
&gt; framework/Date/lib/Horde/Date.php in the toDateTime method around 
&gt; line 280? If that is a valid timezone string, then yes, it is not a 
&gt; bug in Horde.

Just appended
++++++++++
echo &quot;&lt;hr&gt;&quot;.$this-&gt;_timezone.&quot;&lt;hr&gt;&quot;;
++++++++++

and i am getting lots of UTC and a few &quot;Europe/Berlin&quot;.
So I guess you can close the ticket resolved, as its an PHP issue. somehow, somewhere, no idea of fixing this one.</description> 
   <pubDate>Thu, 23 Jun 2011 16:58:42 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/10194#t65814</link> 
  </item> 
   
  <item> 
   <title>This is a php issue, not horde.</title> 
   <description>This is a php issue, not horde.</description> 
   <pubDate>Thu, 23 Jun 2011 17:03:04 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/10194#t65815</link> 
  </item> 
   
  <item> 
   <title>Reopening during the time I am trying to track this down to </title> 
   <description>Reopening during the time I am trying to track this down to something that can be either submitted to PHP as a bug report, or something in Horde_Date that can get fixed. After some irc debugging with a user who is experiencing this issue, we have come to the following:

The following *does* experience the issue on a debian lenny server:

$d = new Horde_Date(&#039;2011-07-08 15:00:00&#039;, &#039;Europe/Zurich&#039;);
$tz = $d-&gt;toDateTime()-&gt;getTimezone();
var_dump($tz);
var_dump($tz-&gt;getName());
var_dump($tz-&gt;getTransitions());
echo &#039;foobar&#039;;

The code dies at the $tz-&gt;getTransitions() line. In this case, the getName() call just returned an empty string.

If we break out the lower level code from Horde_Date that is actually being executed:

$date = new DateTime(null, new DateTimeZone(&#039;Europe/Zurich&#039;));
$date-&gt;setDate(2011, 07, 08);
$date-&gt;setTime(15, 0, 0);
$tz = $date-&gt;getTimezone();
var_dump($tz);
var_dump($tz-&gt;getName());
var_dump($tz-&gt;getTransitions());
echo &#039;foobar&#039;;

*this* code runs without issue. This is the exact same code that is executed, with (supposedly) the same values, as is run by using Horde_Date. Something in Horde_Date is causing things to get mucked up.

Both scripts execute fine on a number of local servers, as well as the reporter&#039;s Debian Squeeze server</description> 
   <pubDate>Tue, 05 Jul 2011 23:06:04 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/10194#t66187</link> 
  </item> 
   
  <item> 
   <title>A crash is always PHP&#039;s fault. I doubt someone from PHP is g</title> 
   <description>A crash is always PHP&#039;s fault. I doubt someone from PHP is going to look into this for an outdated PHP version in an outdated distribution though.</description> 
   <pubDate>Wed, 06 Jul 2011 08:48:06 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/10194#t66190</link> 
  </item> 
   
  <item> 
   <title>Agreed.</title> 
   <description>Agreed.</description> 
   <pubDate>Sun, 10 Jul 2011 20:21:56 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/10194#t66253</link> 
  </item> 
   
  <item> 
   <title>Just upgraded to php5.3 using dotdeb.org packages.
Now late</title> 
   <description>Just upgraded to php5.3 using dotdeb.org packages.
Now latest GIT-MASTER is working without changes.

[request: fixed/closed]</description> 
   <pubDate>Fri, 29 Jul 2011 06:47:50 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/10194#t66648</link> 
  </item> 
   
   
 
 </channel> 
</rss> 
