• Hi

    I just heard back from the client that a customer received a “Submission rejected, Invalid token” message when she tried submitting an order through Caldera Forms using a mobile phone.

    I did a search and came across this page: https://calderaforms.com/doc/caldera-forms-submission-rejected-token-invalid-mean/

    As the web host does not use LiteSpeed Cache I am also getting a warning message:

    WARNING
    The functionalities here can not work due to:
    LiteSpeed cache is disabled. How to fix it?

    Clicking the How to fix it? or the Learn more does not really help. As Enable is already activated on the site.

    The page I need help with: [log in to see the link]

Viewing 15 replies - 1 through 15 (of 20 total)
  • Plugin Support LiteSpeed Lisa

    (@lclarke)

    Does the site use some other caching plugin?
    As the link states it’s a caching issue, it would have to do with whatever plugin is doing the caching on that site.

    Thread Starter Paal Joachim Romdahl

    (@paaljoachim)

    Earlier it used WP Rocket which is now deactivated as I am testing out LiteSpeed but it probably still has code in the htaccess file. I have also earlier used Autoptimize especially for caching. It is also deactivated.

    Plugin Support LiteSpeed Lisa

    (@lclarke)

    Hmmm. We should take a closer look at the plugin settings.

    Please share the site’s Report Number: Navigate to LiteSpeed Cache > Report, press the Send to LiteSpeed button, make note of the “Report Number”, and post it here so we can look up the report on our end.

    Thread Starter Paal Joachim Romdahl

    (@paaljoachim)

    Report number: MLEFRNAF

    Thanks Lisa!

    Plugin Support LiteSpeed Lisa

    (@lclarke)

    Hi, Paal.

    There is still a lot of WP Rocket code in the .htaccess file. If you are able to edit that file, you can try removing everything between

    # BEGIN WP Rocket v3.0.4
    and
    # END WP Rocket

    See if that helps. I noticed a lot of browser cache stuff in there that might be interfering.

    Thread Starter Paal Joachim Romdahl

    (@paaljoachim)

    I removed all the WP Rocket code.
    Did a Purge All with LiteSpeed and still see the Warning in regards to “LiteSpeed cache is disabled. How to fix it?”

    As I would think that after removing the WP Rocket code and doing a Purge All that I would be able to turn on the caching. What I would expect is a general cache on – off button (I see it in the General tab area.). When caching is disabled then the button should be off. Right now it looks like the various cache options are on even if the warning message says they are off.

    Plugin Support qtwrk

    (@qtwrk)

    Hi,

    Please also check advanced-cache.php

    Best regards

    Plugin Support LiteSpeed Lisa

    (@lclarke)

    From what I could see, LSCache is enabled in the plugin, but not at the server level. It needs to be enabled in both places.

    Didn’t you say that the web host isn’t using LSCache? If that’s true, then there is no way to get rid of that message, and no way to use the caching options in the LSCache plugin.

    If I am misunderstanding your situation, and you’d like to enable LSCache at the server level, this wiki gives instructions for doing so in various environments.

    Let me know if that doesn’t solve the issue!

    Thread Starter Paal Joachim Romdahl

    (@paaljoachim)

    I just checked with the hosts website and notice they have a setup for LiteSpeed Cache, so I am checking with them in regards to the warning message.

    Thank you very much qtwrk and Lisa…:)

    Plugin Support qtwrk

    (@qtwrk)

    Hi,

    OK , let us know if you need any help from us ??

    Best regards

    Thread Starter Paal Joachim Romdahl

    (@paaljoachim)

    Hey

    I was told by the web host that there was some old code in the advanced-cache.php file. They removed the old code and the warning message is now also gone from the manage/settings screen of the LiteSpeed plugin.

    Thanks for your help!

    Plugin Support LiteSpeed Lisa

    (@lclarke)

    Oh, good, glad to hear it!

    Thread Starter Paal Joachim Romdahl

    (@paaljoachim)

    Hey

    I installed the plugin on another web site and am having the same issue. LSCache Module is disabled. How to fix it? (link)

    It would be great if one can just install it and have the option to remove earlier cache stuff that disables the LSCache Module. As it is tricky to get the plugin working after having tested other cache plugins.

    Btw I opened up advanced-cache and saw this code in it.

    <?php
    
    /**
     * LiteSpeed Cache Plugin
     */
    if (!defined('ABSPATH')) {
        die();
    }
    
    define('LSCACHE_ADV_CACHE', true);
    
    /**
     * Because of the way it handles caching, the LiteSpeed Cache plugin for WordPress does not need an advanced-cache.php file.
     * For this reason, there is no real logic in this file. So why include it at all?
     * Setting the WP_CACHE global variable requires that an advanced-cache.php file exists.
     * This variable can help to increase compatibility as other plugins can check it to determine whether or not a cache is currently being used.
     * It can also help to avoid conflicts with other full page caches such as W3 Total Cache, etc.
     *
     */
    return;

    I deleted a folder named cache and deleted advanced_cache.php to see if it would make a difference. Hmm I will have do continue to do som research on what else I need to do to enable the LSCache Module.

    Plugin Support qtwrk

    (@qtwrk)

    Hi,

    Report number please

    Best regards

    Thread Starter Paal Joachim Romdahl

    (@paaljoachim)

    Thanks!
    Report number: KOPDMVBF

Viewing 15 replies - 1 through 15 (of 20 total)
  • The topic ‘Submission rejected. Invalid token’ is closed to new replies.