Hi guys – i have problem with Tickets-queue view), it displays 500 internal server error, instead of listing entries. The exact message is :
„500 Internal Server Error - The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator at webmaster@localhost to inform them of the time this error occurred, and the actions you performed just before this error. More information about this error may be available in the server error log.”
After checking logs i’ve go following error: „
„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.responsible_user_id IN (21) ) AND sq.group_id IN (1,2,3,4,5,6,7,8,9' at line 1, SQL: 'SELECT COUNT(DISTINCT(st.id)) FROM ticket st INNER JOIN ticket_flag tf1 ON st.id = tf1.ticket_id INNER JOIN queue sq ON sq.id = st.queue_id WHERE 1=1 AND st.ticket_state_id IN ( ) AND ( st.responsible_user_id IN (21) ) AND sq.group_id IN (1,2,3,4,5,6,7,8,9) AND tf1.ticket_key = 'Seen' AND tf1.ticket_value = '1' AND tf1.create_by = 21 LIMIT 10000'”
AFAIU the problem is „st.ticket_state_id IN ()” – there are no IDs inside brackets. How can we find what caused this error?
Adding a new ticket doesn’t work – same error… What can we do with this ?
Queue view does not work – 500 internal server error
Moderator: crythias
-
- Administrator
- Posts: 4143
- Joined: 18 Dec 2007, 12:23
- Znuny Version: Znuny and Znuny LTS
- Real Name: Roy Kaldung
- Company: Znuny
- Contact:
Re: Queue view does not work – 500 internal server error
Hi,
Looks like someone messed with the SysConfig Ticket::ViewableStateType
- Roy
Looks like someone messed with the SysConfig Ticket::ViewableStateType
- Roy
Znuny and Znuny LTS running on CentOS / RHEL / Debian / SLES / MySQL / PostgreSQL / Oracle / OpenLDAP / Active Directory / SSO
Use a test system - always.
Do you need professional services? Check out https://www.znuny.com/
Do you want to contribute or want to know where it goes ?
Use a test system - always.
Do you need professional services? Check out https://www.znuny.com/
Do you want to contribute or want to know where it goes ?
-
- Znuny newbie
- Posts: 15
- Joined: 21 Apr 2020, 16:32
- Znuny Version: 6.0.27
- Real Name: Anna Gawińska
Re: Queue view does not work – 500 internal server error
Hi !
We don't have any states in ViewableStateType
How can we fix it ?
We don't have any states in ViewableStateType
How can we fix it ?
-
- Administrator
- Posts: 4143
- Joined: 18 Dec 2007, 12:23
- Znuny Version: Znuny and Znuny LTS
- Real Name: Roy Kaldung
- Company: Znuny
- Contact:
Re: Queue view does not work – 500 internal server error
Just reset the setting
- Roy
Znuny and Znuny LTS running on CentOS / RHEL / Debian / SLES / MySQL / PostgreSQL / Oracle / OpenLDAP / Active Directory / SSO
Use a test system - always.
Do you need professional services? Check out https://www.znuny.com/
Do you want to contribute or want to know where it goes ?
Use a test system - always.
Do you need professional services? Check out https://www.znuny.com/
Do you want to contribute or want to know where it goes ?
-
- Znuny newbie
- Posts: 15
- Joined: 21 Apr 2020, 16:32
- Znuny Version: 6.0.27
- Real Name: Anna Gawińska
Re: Queue view does not work – 500 internal server error
Can you explain how to do this ? i will be very grateful
-
- Znuny newbie
- Posts: 15
- Joined: 21 Apr 2020, 16:32
- Znuny Version: 6.0.27
- Real Name: Anna Gawińska
Re: Queue view does not work – 500 internal server error
Ok i reser setting but it still doesn't work
-
- Znuny superhero
- Posts: 914
- Joined: 15 Dec 2016, 15:13
- Znuny Version: All
- Real Name: Emin
- Company: Efflux GmbH
- Contact:
Re: Queue view does not work – 500 internal server error
Hey,
This is how it should look by default or after resetting and deploying the setting: You should also delete the cache. Exexute as OTRS user: /opt/otrs/bin/otrs.Console.pl Maint::Cache::Delete
— Emin
This is how it should look by default or after resetting and deploying the setting: You should also delete the cache. Exexute as OTRS user: /opt/otrs/bin/otrs.Console.pl Maint::Cache::Delete
— Emin
You do not have the required permissions to view the files attached to this post.
Professional Znuny and OTRS services: efflux.de | efflux.de/en/
Free and premium add-ons: German | English
Free and premium add-ons: German | English
-
- Znuny newbie
- Posts: 15
- Joined: 21 Apr 2020, 16:32
- Znuny Version: 6.0.27
- Real Name: Anna Gawińska
Re: Queue view does not work – 500 internal server error
It's working ! Thank you guys so much ! you saved my life