ZenphotoCMS Forum
Static Cache Plugin Breaks Contact Form - Printable Version

+- ZenphotoCMS Forum (https://forum.zenphoto.org)
+-- Forum: Support (https://forum.zenphoto.org/forum-1.html)
+--- Forum: General support (https://forum.zenphoto.org/forum-4.html)
+--- Thread: Static Cache Plugin Breaks Contact Form (/thread-4280.html)



Static Cache Plugin Breaks Contact Form - thisisted - 2008-12-19

I have revision 2983. When I enable both the Static Cache plugin and the Contact Form, the former caches the contact form I have on a custom page.
Clicking [b]Send[/b] doesn't send the form, probably because the contact form is dynamic.
Also: the capatcha image on the form is regenerated (shuffled letters) when I reload the page, but the code (the letters the user enters) remains the same.

Is this a known bug? If not, is there an easy way to add the contact form to Static Cache's exclude list?




Static Cache Plugin Breaks Contact Form - acrylian - 2008-12-19

Thanks, you are right the form is cached and that does not make sense. There is currently no easy way to excluded page. You have to hack that into the plugin yourself around line 173. I will put adding a more convenient way for expluding specific pages on my list.




Static Cache Plugin Breaks Contact Form - mironb - 2009-12-02

Hi I have new 1.27 zenphoto and contact form on http fotostacja.pl/galeria5/index.php?p=credit . How can I exclude it form static cache plugin ? I try to write in plugin options:
search.php/.index.php?p=credit/
search.php/.credit.php/
And nothing works
Excluding works for index.php
regards




Static Cache Plugin Breaks Contact Form - acrylian - 2009-12-02

Quote: If you want to exclude a page completly enter [i]page-filename.php/[/i]. If you want to exclude a page by a specific title,image filename or album folder name enter [i]pagefilename.php/titlelink or image filename or album folder[/i]. Separate several entries by comma."
So that means instead of index.php?p=credit using credit.php. Several entries separated by comma, not dots as you did.
search.php,credit.php and so on.

Not sure right now why actually slashes behind the filenames though. Been quite some time when we did this..




Static Cache Plugin Breaks Contact Form - mironb - 2009-12-02

Ok Thanks again
In polish translation is mistake . is changed with ,
Now working




Static Cache Plugin Breaks Contact Form - acrylian - 2009-12-02

We should talk to that translator..;-)




Static Cache Plugin Breaks Contact Form - makar - 2010-03-04

The static_html_cache plugin has search.php page excluded by default, perhaps contact.php should be excluded by default too.




Static Cache Plugin Breaks Contact Form - acrylian - 2010-03-04

You can manually exclude any page you want on the statci caches plugin options but you are right, that should probably be default.