Hallo allerseits, ich erhalte massig diese Fehlermeldung im Log:
Message: 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 st.ticket_lock_id IN (2) AND st.user_id IN (2) AND st.ticket_state_id IN ' at line 1, SQL: 'SELECT DISTINCT count(*) FROM ticket st, queue sq WHERE sq.id = st.queue_id AND st.ticket_state_id IN ( ) AND st.ticket_lock_id IN (2) AND st.user_id IN (2) AND st.ticket_state_id IN (14, 6) AND st.until_time <= 1297328162 LIMIT 10000' Hier die Abfrage alleine: 'SELECT DISTINCT count(*) FROM ticket st, queue sq WHERE sq.id = st.queue_id AND st.ticket_state_id IN ( ) AND st.ticket_lock_id IN (2) AND st.user_id IN (2) AND st.ticket_state_id IN (14, 6) AND st.until_time <= 1297328162 LIMIT 10000' Beim genaueren Nachforschen, soll diese Abfrage die Anzahl der gesperrten Tickets "st.ticket_lock_id IN (2)" des aktuellen Benutzers "st.user_id IN (2)", die sich in einem "Warten-Status" befinden "st.ticket_state_id IN (14, 6)" und deren "Warten bis" Zeitpunkt überschritten ist "st.until_time <= 1297328162" (ist der aktuelle Zeitpunkt, an dem die Abfrage gestellt wurde) addieren (und damit wohl etwas machen). Interessant ist, dass "AND st.ticket_state_id IN ( )" 2-mal in der Abfrage steht, einmal mit Werten und einmal ohne Werte?!? lösche ich das, geht die Abfrage problemlos durch. Ist das evtl. ein Fehler im Programm? Habe dazu nichts passendes auf http://bugs.otrs.org finden können. Oder muss ich da was anpassen? Aktuell mit OTRS 3.0.5, upgedatet von 2.4.7 Gruß Peter --------------------------------------------------------------------- OTRS mailing list: otrs-de - Webpage: http://otrs.org/ Archive: http://lists.otrs.org/pipermail/otrs-de To unsubscribe: http://lists.otrs.org/mailman/listinfo/otrs-de