My osTicket Version 1.10 is installed in PLESK Windows Server. I have tried to install XAMPP on the PLESK Windows Server but not able to start XAMPP .
Soon I get error after login to osTicket “Valid CSRF Token Required in Osticket After login” which was earlier working fine
After login I get this error:
8
Answers
I had the same problem. MySQL table ‘ost_session’ was broken. Run this command in MySQL:
REPAIR TABLE ost_session
I had the same problem with PHP 7.1.1, then I changed to 7.0.15 and it worked
I received this error after installing OST 1.10 on Windows Server 2012 with IIS 7 using PHP Manager for IIS. (http://osticket.com/wiki/Installation#Windows_Recommended_Links)
Accorinding to “To install osTicket, your web server must have PHP 5.3 (or better)” I installed “the latest PHP version” in my case 7.1.1. With PHP 7.1.1 I could not login into the SCP.
After changing the PHP Version from 7.1.1 to 5.4.45 everything works fine.
Its because of varnish cache login credentials.
Test directly with web server host entries. It will work.
My configuration
I had the same problem: “Valid CSRF Token Required…”
Here is where I found the fix:
https://github.com/osTicket/osTicket/commit/424bfc99d93b920f6162b602eeea41125086425d
And here is a conversation about the problem:
https://github.com/osTicket/osTicket/issues/3546
I might be late, but what worked for me was to use another browser on my computer or clearing the cache
in
include/class.ostsession.php
Just add this line:
After:
So it will be:
Then try to login from scratch, don’t just refresh the submission.
Login to you server using
ssh(ssh username@ip)
and then check if in your Apache/Centos config file following setting is enabled using the below commandThen replace
with
At last restart the web server.