Hallo zusammen,
ich habe heute die folgende Fehlermeldung im Protokoll entdeckt.
Wed Dec 18 14:24:36 2013 error OTRS-CGI-10 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 '((art.a_body LIKE '%1%' ) )(art.a_body LIKE '%' ) )) ORDER BY st.ticket_priority' at line 1, SQL: 'SELECT DISTINCT st.id, st.tn, st.ticket_priority_id FROM ticket st INNER JOIN queue sq ON sq.id = st.queue_id INNER JOIN article art ON st.id = art.ticket_id WHERE 1=1 AND sq.group_id IN (1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 14, 15, 16, 17, 18, 19, 20) AND (((art.a_body LIKE '%ACWT\_ITEM-WITHT%' ) ((art.a_body LIKE '%1%' ) )(art.a_body LIKE '%' ) )) ORDER BY st.ticket_priority_id ASC LIMIT 20000'
Könnt ihr mir vielleicht sagen, was genau gemeint ist? Ich bin leider zum Thema SQL unwissend...
Vielen Dank.
VG
MrWhite
DB Fehler im Systemprotokoll
-
- 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: DB Fehler im Systemprotokoll
Da fehlen entweder 'AND' oder 'OR' zwischen den Bedingungen, also z.B.
Code: Select all
(art.a_body LIKE '%ACWT\_ITEM-WITHT%' ) AND ((art.a_body LIKE '%1%' ) )
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
Free Znuny add ons from the community: http://opar.perl-services.de
Commercial add ons: http://feature-addons.de
Re: DB Fehler im Systemprotokoll
Hi reneeb,reneeb wrote:Da fehlen entweder 'AND' oder 'OR' zwischen den Bedingungen, also z.B.Code: Select all
(art.a_body LIKE '%ACWT\_ITEM-WITHT%' ) AND ((art.a_body LIKE '%1%' ) )
vielen dank für deine Antwort. Weißt du vielleicht woran das liegen könnte? Sehe diese Meldung zum 1.ten Mal im Protokoll.
VG
MrWhite
-
- 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: DB Fehler im Systemprotokoll
Bei was taucht das denn auf? Eine eigene Erweiterung oder Standard-OTRS? Was hast Du wie geklickt?
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
Free Znuny add ons from the community: http://opar.perl-services.de
Commercial add ons: http://feature-addons.de
Re: DB Fehler im Systemprotokoll
Morgen reneeb,reneeb wrote:Bei was taucht das denn auf? Eine eigene Erweiterung oder Standard-OTRS? Was hast Du wie geklickt?
kann ich dir leider nicht so sagen, wir haben etwa 20 Agenten. Ich kann mir vorstellen, dass die Fehlermeldung bei der Suche von bestimmten Tickets entstanden ist.
Ich würde sagen, ich beobachte das weiter und melde mich dann nochmal, sobald sich irgendetwas herauskristalisert.
Vielen Dank.
VG
MrWhite