Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
Cannot change profile photo #6914
Biong able to change profile photo.
«The form security token was incorrect. This probably happened because the form has not been submitted within 3 hours.»
Steps to reproduce the problem
Friendica version you encountered the problem
Friendica source (git, zip)
I have tried to reproduce this using Firefox and Vivaldi with vier and frio themes, but could not.
Do you have access to the server? It could be a mismatch of the time settings between the server and your computer, so that the time window which is scheduled for working on the profile picture runs out really quick.
Hi, I am
Mh, both are time sync'ed, shouldn't be more than a few secs.
I found a timezone mismatch between the MySQL and the PHP jails:
I fixed that (which still shouldn't be a problem, if times are correctly compared), but nothing changed.
Both values can be found in MySQL table
the latter one contains
it seems that I get logged in on each page change.
I created a sample page with:
<?php session_start(); $_SESSION['test'] = $_SESSION['test'] + 1; echo '[' . session_id() . ']'; echo '[' . $_SESSION['test'] . ']'; session_end(); ?>
and the SID is always the same and the test counter increases one by one (and I can find the serialized value in the file session storage), so PHP's internal session management works fine. Seems to be Friendica-specific.
Found it! The varnish cache was configured to ignore cookies for some static resources, but thanks to rewrite in the case of Friendica those static resources are not static at all, this forced a re-generation of the