Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PHP Error: Request security check failed (GET /?_task=logout) #5579

Closed
asterismo opened this issue Jan 4, 2017 · 10 comments

Comments

Projects
None yet
5 participants
@asterismo
Copy link

commented Jan 4, 2017

I did a 'git pull' of master 5 min ago and i can login into my mail, but cannot see any mail, only empty folders, when trying to logout, i get this message in the browser:


HA FALLADO LA SOLICITUD DE COMPROBACIÓN
Por su seguridad, se ha protegido el acceso a este recurso contra CSRF.
Si lee esto probablemente no ha cerrado la sesión antes de dejar la aplicación web.

Ahora hace falta interacción humana para continuar.

Por favor, póngase en contacto con el administrador de su servidor.

My log error is this:

PHP Error: Request security check failed (GET /?_task=logout)

@asterismo

This comment has been minimized.

Copy link
Author

commented Jan 4, 2017

pulled from f351b48 to f78e2a4 pull: Fast-forward

@asterismo

This comment has been minimized.

Copy link
Author

commented Jan 4, 2017

I just wiped out and cloned again and still the same issue.

@alecpl

This comment has been minimized.

Copy link
Member

commented Jan 4, 2017

I cannot confirm. Any plugins or modified skin?

@asterismo

This comment has been minimized.

Copy link
Author

commented Jan 4, 2017

I commented the whole plugin section, and commented the larry skin,i got the same. Maybe php version? i'm running Debian 8 Jessie and PHP 5.6.29-0+deb8u1

@asterismo

This comment has been minimized.

Copy link
Author

commented Jan 4, 2017

nginx logges this:

2017/01/04 14:44:12 [error] 1627#0: *471406 open() "/var/www/html/mail/program/js/jquery.min.js" failed (2: No such file or directory), client: 127.0.0.1, server: mail.undernet.uy, request: "GET /program/js/jquery.min.js HTTP/1.1", host: "mail.undernet.uy", referrer: "https://mail.undernet.uy/?_task=logout"
2017/01/04 14:44:13 [error] 1627#0: *471406 open() "/var/www/html/mail/program/js/jquery.min.js" failed (2: No such file or directory), client: 127.0.0.1, server: mail.undernet.uy, request: "GET /program/js/jquery.min.js HTTP/1.1", host: "mail.undernet.uy", referrer: "https://mail.undernet.uy/?_task=logout"

@alecpl

This comment has been minimized.

Copy link
Member

commented Jan 4, 2017

You have to install javascript dependencies. See INSTALL and bin/install-jsdeps.sh. Though, missing js files should not cause such issues. This looks strange.

@asterismo

This comment has been minimized.

Copy link
Author

commented Jan 4, 2017

@alecpl Yes, that did the trick. Closing the issue. Thanks.

@asterismo asterismo closed this Jan 4, 2017

@reubenfarrelly

This comment has been minimized.

Copy link

commented Mar 29, 2017

I've just run into this issue as well - exact same symptoms and exact same fix. In my case it was an upgrade from 1.2 to 1.3-git. This was quite tricky to get to the bottom of so could there be something a little more explicit logged either on screen or in logs if these files are missing?

@Strubbl

This comment has been minimized.

Copy link

commented Jun 13, 2017

Same here, i tried to use composer for installing dependencies, but it did not work. The script in bin/ worked.

edit: okay, now i understood. php requirements need composer and JS requirements are installed with the script

@tomperys

This comment has been minimized.

Copy link

commented Jun 4, 2018

Same issue but I have no bin/install-jsdeps.sh file...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.