• Resolved Luis Fatorbinario

    (@fatorbinario)


    Hi Scott,

    Usually I don’t use CloudFlare but I’m testing something and need it for the project. The problem is that there is a problem when CloudFLare is activated, an error message shows about Javascript and Cookies on user registration form using WP-SpamShield.

    I read on your documentation something about to prevent CDN tools to not serve PHP files. How can I do that please?

    Best regards
    Luis

    https://www.ads-software.com/plugins/wp-spamshield/

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Contributor redsand

    (@redsand)

    Hi Luis,

    You will need to go into your CloudFlare settings. Usually in CDN settings there should be something about including/excluding what kind of files are served from the CDN. It should only be static files like JavaScript, CSS, and image files (etc) served from the CDN. You’ll need to check your settings to be sure PHP files are not being served from it. You may need to check your CloudFlare documentation for more info.

    One thing I’d recommend doing is using WP-SpamShield in Compatibility Mode while you’re using the CDN. Instructions for using Compatibility Mode. It will hopefully make things a bit easier to get working.

    If you still can’t get it working with that, then just head over to the WP-SpamShield Support Form, and take a moment to fill out a support request. We’ll be happy to help you get things working.

    – Scott

    Hi,

    “You’ll need to check your settings to be sure PHP files are not being served from it”

    We actually don’t cache dynamic content (PHP, .html, etc.) by default), unless the site owner tells us to cache everything with PageRules.

    A JavaScript error of some sort might be Rocket Loader or Auto Minify, if enabled, and a user could try turning that off to see if those optional performance features are affecting JavaScript in some way.

    Thread Starter Luis Fatorbinario

    (@fatorbinario)

    Thanks for the replies.

    I had to turn WP-SpamShield off to solve the problem 2 weeks ago and for my surprise the registration bots and spammers are not trying my server anymore.

    CloudFlare has some sort of protection that blocks them.

    So my conclusion is. If a client demands CloudFlare I turn WP-SpamShield OFF otherwise is ON.

    Plugin Contributor redsand

    (@redsand)

    @damoncloudflare: Thanks for the insight. We will update documentation to reflect that. We initially had that info for general CDN’s and we need to differentiate the info in our docs because CloudFlare works differently than a regular CDN.

    @fatorbinario: You shouldn’t have to disable the plugin completely, as we have plenty of users who use WP-SpamShield with CloudFlare successfully. If you submit a support request at the WP-SpamShield Support Form, we can run some tests and help you get things fixed up fairly quickly. Keep in mind that WP-SpamShield also helps with human spam as well. Either way, your choice.

    Thread Starter Luis Fatorbinario

    (@fatorbinario)

    Hi Scott,

    As I stated above this is the first project that demands CloudFlare, usually I don’t even use it. WP-SpamShield is the number one tool I install after deploying a website, it’s a great product without any doubts even in the free version.

    Since after I disable it because of the conflict (yes. Rocket Loader and Minify were both ON), I didn’t even test it anymore because of the project’s deadline. But on my first opportunity I will try it with both again.

    Thanks for your support and time. You have a great product and I hope to use WP-SpamShield for years yet.

    Regards
    Luis

    Plugin Contributor redsand

    (@redsand)

    Hi Luis,

    No worries…I completely understand about deadlines.

    We usually can help solve any issue within 24 hours. Just know that we’re here to help when you do want to look into the issue again.

    You’re very welcome. Thank you for the positive feedback! ??

    – Scott

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Javascript error when a new user try to register’ is closed to new replies.