-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
"Invalid security token; please reload the page and try again" only when saving theme settings #1245
Comments
@mahagr looks like a gantry5 issue? |
My bad... I now see that the appearance menu is specific to gantry themes. |
Same as gantry/gantry5#1748 I'm really not sure what could cause this to fail in Nginx as we just call $nonce = Utils::getNonce('gantry-admin'); and protected function checkSecurityToken()
{
/** @var Request $request */
$request = $this->container['request'];
$nonce = $request->get->get('nonce');
return isset($nonce) && Utils::verifyNonce($nonce, 'gantry-admin');
} |
Same as getgrav/grav-plugin-admin#893 using g5_hydrogren |
mahagr
added a commit
that referenced
this issue
Jan 13, 2017
Please update nginx.conf:
|
Works like a charm now! Thanks |
robgnu
added a commit
to robgnu/grav-plugin-subscriber
that referenced
this issue
Jan 22, 2017
This plugin was affected by [nginx config bug](getgrav/grav#1245). This is solved now.
Not nginx.conf but well the configuration of the site in |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Got Grav running great in my Linux, PHP7, Nginx space and can do everything fine except save theme settings. Just updated to latest build and all plugins as well with no change. Double checked file permissions as well. Using Grav v1.1.12 and Admin v1.2.7
Using Nginx conf supplied and no errors being logged.
Turned debug on and attached results.
grav_debug.txt
The text was updated successfully, but these errors were encountered: