I have done a clean install of OSTicket 1.11 on a DirectAdmin CentOS server. The server runs Apache and PHP 7.2 under php-fpm. The server conforms to the minimal conditions needed for installation.

Installation itself went without problems and the OS-Ticket frontend shows up alright. But both client login and login fo the Staff Control Panel give the "422 unprocessable Entity" error message. I'm stuck as the PHP error log provides no addiotional information either.

I can not find references to this issue on the forum, nor a referenc as to how to solve this. Does anyone have an idea what might be going on here and how I can solve this?

Many thanks in advance,

Erik

CentOS... does that mean you have SELinux running?

No, I do not have SELinux running.

4 days later
10 months later

I had the same issue. I simply commented the line:

Http::response(422);

out in two login.php files and was able to log in. It happened on a clean 1.14 install on Linux/Apache.

Nothing is reported in the Apache/PHP error logs because it was not captured on the server. Seems to be a browser-side issue.

20 days later

basta remover a linha em LOGIN

Http::response(422);

tanto para o front end como para o scp/login

remova a linha e pronto!

a year later

Commenting out the Http::response(422); in login.php and /scp/login.php worked for me.
I'm on CentOS7, don't use SELinux but I have my domain on Cloudflare. Could this be the cause?

Write a Reply...