SQL syntax error: OTRS-otrs.UnlockTickets.pl-87

Hilfe zu Znuny Problemen aller Art
Locked
rosenrot
Znuny newbie
Posts: 82
Joined: 10 Dec 2012, 14:56
Znuny Version: 3.200
Real Name: Jan Bickel

SQL syntax error: OTRS-otrs.UnlockTickets.pl-87

Post by rosenrot »

Guten Morgen,
otrs loggt bei mir folgenden Fehler:
OTRS-otrs.UnlockTickets.pl-87
You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near ') AND st.ticket_lock_id NOT IN ( 1, 3 )' at line 1, SQL: 'SELECT st.tn, st.ticket_answered, st.id, st.timeout, sq.unlock_timeout FROM ticket st, queue sq WHERE st.queue_id = sq.id AND st.ticket_answered != 1 AND sq.unlock_timeout != 0 AND st.ticket_state_id IN ( ) AND st.ticket_lock_id NOT IN ( 1, 3 ) '
Dies hier sind Zeilen aus der otrs.UnlockTickets.pl:

Code: Select all

 87     while ( my @Row = $CommonObject{DBObject}->FetchrowArray() ) {
 88         push @Tickets, \@Row;
 89     }
Da ich nicht viel Ahnung von Datenbanken habe kann ich mir hier keinen Reim drauf machen. Kann mir hier jemand weiterhelfen?

Liebe Grüße,
Jan
reneeb
Znuny guru
Posts: 5018
Joined: 13 Mar 2011, 09:54
Znuny Version: 6.0.x
Real Name: Renée Bäcker
Company: Perl-Services.de
Contact:

Re: SQL syntax error: OTRS-otrs.UnlockTickets.pl-87

Post by reneeb »

Hast Du in der SysConfig irgendwelche Einstellungen bzgl. Ticket Status geändert oder hast Du die Ticket Status selbst geändert?
Perl / Znuny development: http://perl-services.de
Free Znuny add ons from the community: http://opar.perl-services.de
Commercial add ons: http://feature-addons.de
rosenrot
Znuny newbie
Posts: 82
Joined: 10 Dec 2012, 14:56
Znuny Version: 3.200
Real Name: Jan Bickel

Re: SQL syntax error: OTRS-otrs.UnlockTickets.pl-87

Post by rosenrot »

Ich habe in der Status-Verwaltung neue status hinzugefügt und diese in der sysconfig eingefügt.
Locked