Summary | WINDOWS: Failed to create event |
Queue | Kronolith |
Queue Version | 3.0 |
Type | Bug |
State | Resolved |
Priority | 2. Medium |
Owners | jan (at) horde (dot) org |
Requester | admin (at) meld0 (dot) com |
Created | 04/14/2011 (5203 days ago) |
Due | |
Updated | 08/08/2011 (5087 days ago) |
Assigned | |
Resolved | 04/14/2011 (5203 days ago) |
Github Issue Link | |
Github Pull Request | |
Milestone | |
Patch | No |
"Zeitformat (Mon Aug 08 2011 00:00:00 GMT+0200 (Mitteleuropäische
Sommerzeit) 12:00 AM) nicht erkannt"
when i want to add a new event
Generally, if PHP on windows doesn't support strptime(), and isn't
able to parse the string that the user sends either, there is nothing
we can do.
"Zeitformat (Mon Aug 08 2011 00:00:00 GMT+0200 (Mitteleuropäische
Sommerzeit) 12:00 AM) nicht erkannt"
when i want to add a new event
Fix variable name (
Bug #9916).3 files changed, 3 insertions(+), 1 deletions(-)
http://git.horde.org/horde-git/-/commit/041c0facfd7fc786481de919b9b56a56fe4f1315
under windows i see in the log:
NOTICE: HORDE [kronolith] PHP ERROR: Undefined variable: start [pid
724 on line 2737 of
"D:\Groupware-Server\horde-git\kronolith\lib\Kronolith.php"]
check whether this method exist. And do NOT replace existing code.
Finally, please use unified diffs when creating patches.
New Attachment: Kronolith.php.patch
horde interface, i edited the function to use:
http://www.php.net/manual/de/function.date-parse-from-format.php
I attached a patch file for the kronolith.php, have a look at it. It
works fine for me with both 24h/12h setting.
Assigned to Jan Schneider
[jan] Fix undefined function on Windows (
Bug #9916).3 files changed, 9 insertions(+), 1 deletions(-)
http://git.horde.org/horde-git/-/commit/e584f37b15accc799ee27a06c6c8da0073c86af0
Priority ⇒ 2. Medium
Type ⇒ Bug
Summary ⇒ WINDOWS: Failed to create event
Queue ⇒ Kronolith
Milestone ⇒
Patch ⇒ No
State ⇒ Unconfirmed
When trying to create (save) an event nothing happens you just see the
spinning little circle in the background.
You can click cancel and use horde but the event is not created.
log file indicates: PHP Fatal error: Call to undefined function
strptime() in
C:\\Server\\www\\default\\horde\\kronolith\\lib\\Kronolith.php on line
2625,
and the php documentation reveals (under Notes):
http://php.net/manual/en/function.strptime.php
Note: This function is not implemented on Windows platforms.