Hallo, bitte überprüfe mal, ob es noch valide(!) Ticketstatus vom Statustyp "pending reminder" gibt. Das könnte die Ursache sein.
Viele Grüße Rene On 02/10/2011 10:42 AM, Peter Wohlers wrote: > 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 > -- ** Besuchen Sie uns auf der CeBIT in Hannover ** ** vom 01.03.2010 - 05.03.2011 ** ** Halle 2 Stand D36, Partnerstand Univention ** Dipl.-Ing. Rene Böhm c.a.p.e. IT GmbH Annaberger Str. 240 09125 Chemnitz Tel.: +49 371 5347-624 Fax.: +49 371 5347-625 Mobil: +49 176 66680681 http://www.cape-it.de Geschäftsführung Rico Barth, Thomas Maier AG Chemnitz, HRB 23192 --------------------------------------------------------------------- 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