Summary | array_merge() : Argument #2 is not an array in kronolith/lib/Driver/sql.php |
Queue | Kronolith |
Queue Version | HEAD |
Type | Bug |
State | Resolved |
Priority | 1. Low |
Owners | jan (at) horde (dot) org |
Requester | rsalmon (at) mbpgroup (dot) com |
Created | 06/09/2008 (6232 days ago) |
Due | |
Updated | 06/10/2008 (6231 days ago) |
Assigned | 06/10/2008 (6231 days ago) |
Resolved | 06/10/2008 (6231 days ago) |
Github Issue Link | |
Github Pull Request | |
Milestone | |
Patch | No |
Assigned to Jan Schneider
State ⇒ Resolved
http://cvs.horde.org/diff.php/kronolith/lib/api.php?r1=1.229&r2=1.230&ty=u
http://cvs.horde.org/diff.php/kronolith/lib/api.php?r1=1.228&r2=1.229&ty=u
line 421, referer:
State ⇒ Feedback
line 421, referer:
Priority ⇒ 1. Low
Type ⇒ Bug
Summary ⇒ array_merge() : Argument #2 is not an array in kronolith/lib/Driver/sql.php
Queue ⇒ Kronolith
Milestone ⇒
Patch ⇒ No
State ⇒ Unconfirmed
calendar") I get the following warnings in Apache's log file :
[Mon Jun 09 10:26:04 2008] [error] [client 192.168.1.73] PHP Warning:
array_merge() [<a
href='function.array-merge'>function.array-merge</a>]: Argument
#2isnot an array in /var/www/html/horde/kronolith/lib/Driver/sql.php on
line 421, referer:
http://192.168.1.22/horde/imp/message.php?mailbox=INBOX&index=2973
[Mon Jun 09 10:26:04 2008] [error] [client 192.168.1.73] PHP Warning:
implode() [<a href='function.implode'>function.implode</a>]: Invalid
arguments passed in /var/www/html/horde/kronolith/lib/Driver/sql.php
on line 426, referer:
http://192.168.1.22/horde/imp/message.php?mailbox=INBOX&index=2973
and /tmp/horde.log
Jun 09 10:38:53 HORDE [debug] [kronolith]
Kronolith_Driver_sql::getByUID(): user = "ronan"; query = "SELECT
event_id, event_uid, calendar_id, event_description, event_location,
event_private, event_status, event_attendees, event_keywords,
event_title, event_category, event_recurcount, event_recurtype,
event_recurenddate, event_recurinterval, event_recurdays, event_start,
event_end, event_alarm, event_modified, event_exceptions,
event_creator_id FROM kronolith_events WHERE event_uid = ? AND
calendar_id IN (?)"; values = "" [pid 19223 on line 427 of
"/var/www/html/horde/kronolith/lib/Driver/sql.php"]
Jun 09 10:38:53 HORDE [error] [kronolith] DB Error: syntax error:
SELECT event_id, event_uid, calendar_id, event_description,
event_location, event_private, event_status, event_attendees,
event_keywords, event_title, event_category, event_recurcount,
event_recurtype, event_recurenddate, event_recurinterval,
event_recurdays, event_start, event_end, event_alarm, event_modified,
event_exceptions, event_creator_id FROM kronolith_events WHERE
event_uid = ? AND calendar_id IN (?) [nativecode=1064 ** You have an
error in your SQL syntax; check the manual that corresponds to your
MySQL server version for the right syntax to use near '? AND
calendar_id IN (?)' at line 1] [pid 19223 on line 431 of
"/var/www/html/horde/kronolith/lib/Driver/sql.php"]
The event is added and the reply is sent.