[Tickets #6865] array_merge() : Argument #2 is not an array in kronolith/lib/Driver/sql.php

bugs at horde.org bugs at horde.org
Mon Jun 9 09:19:37 UTC 2008


DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.

Ticket URL: http://bugs.horde.org/ticket/6865
-----------------------------------------------------------------------
 Ticket             | 6865
 Created By         | rsalmon at mbpgroup.com
 Summary            | array_merge() : Argument #2 is not an array in
                    | kronolith/lib/Driver/sql.php
 Queue              | Kronolith
 Version            | HEAD
 Type               | Bug
 State              | Unconfirmed
 Priority           | 1. Low
 Milestone          |
 Patch              |
 Owners             |
-----------------------------------------------------------------------


rsalmon at mbpgroup.com (2008-06-09 05:19) wrote:

When accepting an invit, after clicking 'go' ("accept and add to my
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 #2 is not 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.





More information about the bugs mailing list