Unfortunately, the username and password you have entered do not match!

Registration

Unfortunately, this username is already taken!

Unfortunately, this e-mail address is already used!

Please retype the verification code.

All fields are required

RSForms do not work when Caching is enabled

Welcome, Guest
Username Password: Remember me

RSForms do not work when Caching is enabled
(1 viewing) (1) Guest
  • Page:
  • 1

TOPIC: RSForms do not work when Caching is enabled

RSForms do not work when Caching is enabled 3 years ago #6169

Help. Need to enable caching but this seems to break RSForms.

Re:RSForms do not work when Caching is enabled 3 years ago #6460

same here

Re:RSForms do not work when Caching is enabled 3 years ago #6473

I can confirm this. I use the rsform plugin for RsForm Pro, so caching caches the page, including the form. I turned of the global config cache but kept the System Cache plugin enabled, using Browser Caching. That seems to work.

The rsform plugin needs to be corrected so it stops the relevant Joomla article (containing the {rsform} plugin code) from being cached.

Re:RSForms do not work when Caching is enabled 3 years ago #6487

  • cvoogt
  • OFFLINE
  • Fresh Boarder
  • Posts: 10
Actually RsForm Pro doesn't behave right with ANY caching turned on. It is a serious bug. For some strange reason RsFormPro does not bother to keep itself from being cached. There is some code in there that generates HTTP headers and sets Pragma to no cache, but that apparently is not good enough.

Here is what worked for me:

Turned on Global Config's cache. Turned off System Cache plugin. Cleaned cache.
Added this code to the top of my index.php template file:

 
$cache = &JFactory::getCache('com_rsform');
$cache->clean();
 


This keeps RsForm from caching, but only works on the global cache (in my testing anyway).

I would REALLY like to be able to use the System Cache too as the two in combination really speed up site loading.
Last Edit: 3 years ago by cvoogt.

Re:RSForms do not work when Caching is enabled 2 years, 11 months ago #6684

Did you just put that right after the first php tag in the index file in your template folder?

eg /templates/rt_mediamogul_j15/index.php

 
<?php
$cache = &JFactory::getCache('com_rsform');
$cache->clean();
 

Re:RSForms do not work when Caching is enabled 2 years, 9 months ago #7284

yes. this hack only helps with the global caching .. do not use the system cache plugin with RsForm Pro.

Re:RSForms do not work when Caching is enabled 2 years, 9 months ago #7288

  • octavian
  • NOW ONLINE
  • Moderator
  • Posts: 308
Hello,

If you'll take a look at components/com_rsform/controller/adapter.php (latest version of RSForm! Pro, of course), on lines 59 and 60, you'll see that we've already added this code:
 
$cache =& JFactory::getCache('com_rsform');
$cache->clean();
 

However, this code has only effect when you access RSForm! Pro through index.php?option=com_rsform.

The System Cache Plugin works like this (we'll be using the example of RSForm! Pro loaded in a content article):
- the article is loaded;
- the RSForm! Pro Content Plugin runs and replaces the placeholder {rsform 1} with the specified form;
- the System Plugin records what the page looks like and saves it in the cache. This means that from now on, the page will never load the RSForm! Pro Content Plugin, and RSForm! Pro will never run as it should (the form will get displayed because it's appearance is stored in the cache, but the functionality is not).

There is no way to stop this from happening, unless you disable the System Cache Plugin. Unless the System Cache Plugin is modified to accept new parameters, there's no solution.

Take a look at the code of the System Cache Plugin, located in plugins/system/cache.php, and you'll find this comment from the Joomla! Developers:

 
// the following code searches for a token in the cached page and replaces it with the
// proper token.
 


So, they are aware of the problem and they did a little hack so that the token of the forms (a hidden field containing a secret token) gets replaced with the proper value, so that the standard forms in Joomla! (search, login, register etc) work.

We're trying our best to come up with a fix, but no luck so far. I hope this solves the "mistery" of the System Cache Plugin.
Please note: my help is not official customer support. To receive your support, submit a ticket by clicking here
Regards,
RSJoomla! Development Team

Re:RSForms do not work when Caching is enabled 2 years, 6 months ago #8220

  • dennus
  • OFFLINE
  • Fresh Boarder
  • Posts: 2
How can I call up www.mydomain.nl/index.php?option=com_rsform ???

When I do I get a message saying the page no longer exists.

This might be a way to overcome the problem until you guys can come up with a solution.

Re:RSForms do not work when Caching is enabled 2 years, 6 months ago #8266

Deosnt work when systems chace is onand form is loaded thru standard url in a modal window

see www.chickenout.tv for an example (click signup)
blah blah blah: link | email

Re:RSForms do not work when Caching is enabled 2 years, 5 months ago #8466

was this ever fixed?

Re:RSForms do not work when Caching is enabled 2 years, 4 months ago #8494

However, this code has only effect when you access RSForm! Pro through index.php?option=com_rsform.

The System Cache Plugin works like this (we'll be using the example of RSForm! Pro loaded in a content article):
- the article is loaded;
- the RSForm! Pro Content Plugin runs and replaces the placeholder {rsform 1} with the specified form;
- the System Plugin records what the page looks like and saves it in the cache. This means that from now on, the page will never load the RSForm! Pro Content Plugin, and RSForm! Pro will never run as it should (the form will get displayed because it's appearance is stored in the cache, but the functionality is not).

There is no way to stop this from happening, unless you disable the System Cache Plugin. Unless the System Cache Plugin is modified to accept new parameters, there's no solution.


I'm sorry. I'm not a tech guy, but my site has two forms embedded in my newsletter's subscription page. They are working perfectly for years from now, even with the joomla cache activated.

If this line of thought was right, they cant work. In reality they work pretty well even with the joomla cache activated

So why I cant embed rsform in my page and have it working with cache activated?

Re:RSForms do not work when Caching is enabled 2 years, 4 months ago #8549

  • fumla
  • OFFLINE
  • Fresh Boarder
  • Posts: 1
I have exact the same problem, caching enabled and it don't work, now I send a ticket to support and they replied that I have to disable the caching in Joomla for this to work! Thats not correct to sell some script and don't make it compatible with what it is sold for.

Also they informed me to load the forms from a menu, we do this here www.cclogic.com but still same problem.

Many modules allow you to disable caching for them so that they work, why can't the developpers of RSFORMS PRO not do the same?

Re:RSForms do not work when Caching is enabled 2 years, 3 months ago #8858

I have the same problem, its a shame I keep seeing these... we do not monitor these forums etc? Finding a solution and posting on the forums will prevent people bombarding you with support.

Re:RSForms do not work when Caching is enabled 2 years, 1 month ago #9370

I have been testing this out, I have enabled cache plugin and also the global configurations cache,

so far so good, the captcha works!

I'm going to keep on test this for next couple of days, hopefully it will not break.

this is something that needs to be addressed in someway... enabling cache on a site is a fundamental as Google has mentioned several times that site speed is part of the ranking metrics.
Last Edit: 2 years, 1 month ago by herman.brummer.

Re:RSForms do not work when Caching is enabled 2 years ago #9644

Ok I have found the solution. I hope everyone reading this post has found some form of solution.

1. Download the Recaptcha plugin. (it can be downloaded in the downloads section where your key is located.)
2. Install it into Joomla
3. Go to the Recaptcha website and Register. It will give you 2 keys when you finish
4. Once you have both keys go back into the rsform module and go to configuration. You will see there is a Recaptcha tab. Enter both keys. Then add the recaptcha to your form.
5. This should fix your problems and make your forms captcha look much nicer than the standard one.

Check it out on my Web Site

http://www.windshield-replace
ment.com


Re:RSForms do not work when Caching is enabled 1 year, 11 months ago #9936

  • myles
  • OFFLINE
  • Fresh Boarder
  • Posts: 5
This solution worked for me at first but then it stopped working? Any suggestions?

Re:RSForms do not work when Caching is enabled 1 year, 10 months ago #10146

  • matt
  • OFFLINE
  • Expert Boarder
  • Posts: 99
I have finaly found out how to make RSForm Pro work with cache enabled (just cache in global configuration for me) and the form linked to an menu.

In this thread from Joomla forum http://forum.joomla.org/viewtopic.php?p=1900993. Thanks cvoogt!

I added this code to template index-file:
if($_REQUEST['option'] == 'com_rsform'){
$cachepage = &JFactory::getCache('page');
$cachepage->clean();
}


Matt
Last Edit: 1 year, 10 months ago by matt.

Re:RSForms do not work when Caching is enabled 1 year, 4 months ago #11516

  • atombc
  • OFFLINE
  • Fresh Boarder
  • Posts: 3
Hello,

Do you know the status of this problem? Have there been any development on this? I just set up caching on two of my sites and the RSForms died.

Do I need to take the hacking route described above?

Thanks,
Tom.

Re:RSForms do not work when Caching is enabled 1 year, 3 months ago #11749

I know may sound obvious -- but I used to cringe with this problem and always had to disable cache with RSForms..

One day I realized all I had to do was to use the Form module (either via 'loadposition' or simply in any normal module position) and no more issues with caching..

Basically don't use the content plug-ins.

Re:RSForms do not work when Caching is enabled 9 months, 2 weeks ago #13519

  • cvoogt
  • OFFLINE
  • Fresh Boarder
  • Posts: 10
Thanks for the suggestion. I tried this, but this also does not work for me with any caching turned on ... either with the Global Config cache or the System Cache or both. I really wish this would finally work with caching, since I use this on several customer sites and have paid for several licenses.

Anyone else have ideas?

Re: RSForms do not work when Caching is enabled 5 months, 1 week ago #14628

Even after trying all methods here, i couldn't solve my problem at www.myindustry.ir/magazine/special-issue/managers-disease.html ... any suggestion ?

Re: RSForms do not work when Caching is enabled 2 months, 3 weeks ago #15466

I found this plugin that seems to do the trick:
extensions.joomla.org/extensions/site-management/cache/17783

I use it in conjunction with the module and it is working, at least for me. Have not tried the content plugin yet.

Re: RSForms do not work when Caching is enabled 1 month, 3 weeks ago #15793

I've been using a cache component called Jot Cache that seems to work just fine with the form in the content

extensions.joomla.org/extensions/site-management/cache/13155

Let me know if any of you guys bump into any issue with this

Re: RSForms do not work when Caching is enabled 6 hours, 1 minute ago #0

Hello,
This is an automatically generated message.
We do not monitor these forums. The forum is provided to exchange information and experience with other users ONLY. Forum responses are not guaranteed.

However, please submit a ticket if you wish to receive our support. Our ticketing system is the only way of getting in touch with RSJoomla! and receiving the official RSJoomla! Customer Support.

For more information, the Support Policy is located here: http://www.rsjoomla.com/support-policy.html.

Thank You!
PLEASE NOTE: This topic is NOT locked and you can add replies to it. Other users are free to reply as well. This message has been generated by a bot and has no effect on the topic whatsoever.
  • Page:
  • 1
Moderators: alex, alexp, octavian, bogdanc, andreic
Time to create page: 1.90 seconds
Feedback