Error with mysql[solved]

Moderator: crythias

Post Reply
fisk5
Znuny newbie
Posts: 27
Joined: 17 Feb 2011, 01:30
Znuny Version: 3.0

Error with mysql[solved]

Post by fisk5 »

I get alot of this message when checking systemlog
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 sq.group_id IN (1, 2, 3, 4) AND tw.user_id IN (3) LIMIT 10000' at line 1, SQL: 'SELECT DISTINCT count(*) FROM ticket st, queue sq , ticket_watcher tw WHERE sq.id = st.queue_id AND st.id = tw.ticket_id AND st.ticket_state_id IN ( ) AND sq.group_id IN (1, 2, 3, 4) AND tw.user_id IN (3) LIMIT 10000'
Last edited by fisk5 on 22 Mar 2011, 15:59, edited 1 time in total.
crythias
Moderator
Posts: 10169
Joined: 04 May 2010, 18:38
Znuny Version: 5.0.x
Location: SouthWest Florida, USA
Contact:

Re: Error with mysql

Post by crythias »

Do these errors reflect a Generic Agent schedule?
OTRS 6.0.x (private/testing/public) on Linux with MySQL database.
Please edit your signature to include your OTRS version, Operating System, and database type.
Click Subscribe Topic below to get notifications. Consider amending your topic title to include [SOLVED] if it is so.
Need help? Before you ask
fisk5
Znuny newbie
Posts: 27
Joined: 17 Feb 2011, 01:30
Znuny Version: 3.0

Re: Error with mysql

Post by fisk5 »

When a agent logs in.
crythias
Moderator
Posts: 10169
Joined: 04 May 2010, 18:38
Znuny Version: 5.0.x
Location: SouthWest Florida, USA
Contact:

Re: Error with mysql

Post by crythias »

Have you changed state types?
OTRS 6.0.x (private/testing/public) on Linux with MySQL database.
Please edit your signature to include your OTRS version, Operating System, and database type.
Click Subscribe Topic below to get notifications. Consider amending your topic title to include [SOLVED] if it is so.
Need help? Before you ask
fisk5
Znuny newbie
Posts: 27
Joined: 17 Feb 2011, 01:30
Znuny Version: 3.0

Re: Error with mysql

Post by fisk5 »

Yes, i had for some reason set a state to invalid, i changed it and now it dont seem to produce that errors anymore.
Post Reply