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

Problem with caching and sending forms #1192

Closed
muuvmuuv opened this issue Dec 6, 2016 · 5 comments
Closed

Problem with caching and sending forms #1192

muuvmuuv opened this issue Dec 6, 2016 · 5 comments
Labels

Comments

@muuvmuuv
Copy link

muuvmuuv commented Dec 6, 2016

Hey all I have already a problem with caching (memcache currently installed).

I can not send a form after I cleared the cache and submit a form. The first form submit works (not cached yet) the second one not.

There is no error coming just a redirect back to the form.

GRAV: v1.1.8
Admin: v1.2.4
Form: v2.0.7
PHP: 5.6.24-0+deb8u1
System: Linux flora 3.16.0-4-amd64 #1 SMP Debian 3.16.7-ckt25-2+deb8u3 (2016-07-02) x86_64
Server API: FPM/FastCGI
IPv6: yes

Memcache:
Version: 2.2.0
libmemcached version: 1.0.18
SASL support: yes
Session support: yes
igbinary support: no
json support: no
msgpack support: no

Settings here:
bildschirmfoto 2016-12-06 um 16 19 23

@flaviocopes
Copy link
Contributor

You mention memcache but you have memcached selected, they are 2 different systems, which one are you using?

@muuvmuuv
Copy link
Author

muuvmuuv commented Dec 7, 2016

@flaviocopes we are using memcache. Thank's for the hint, but that did not worked for us. It gave us an error now. Here the response:
[2016-12-07 22:55:47] grav.CRITICAL: Class 'Memcache' not found - Trace: #0 /var/www/static/grav/influxe-gaming.de/vendor/filp/whoops/src/Whoops/Run.php(375): Whoops\Run->handleError(1, 'Class 'Memcache...', '/var/www/static...', 210) #1 [internal function]: Whoops\Run->handleShutdown() #2 {main} [] []

@flaviocopes
Copy link
Contributor

This new error is because Memcache is not installed in PHP. Is it loaded in your phpinfo()? (you can check that in the Admin config 'info' panel

@muuvmuuv
Copy link
Author

muuvmuuv commented Dec 9, 2016

@flaviocopes I pasted the info above. It is installed with version 2.2.0

@rhukster
Copy link
Member

Grav now automatically sets never_cache_twig if a form is found in a page.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants