jwineman
Forum Replies Created
-
Forum: Plugins
In reply to: [Cloudflare] Cloudflare plugin not workingSomething else lower down the stack may be affecting it.
You need to open a support ticket with HostGator and ask if there is anything on your account which is reading
php://input.Thanks,
JohnForum: Plugins
In reply to: [Cloudflare] Cloudflare plugin not workingForum: Plugins
In reply to: [Cloudflare] Multisite w. Domain MappingHi @bechster,
Unfortunately we don’t officially support WP MU, we’ve never tested the plugin with domain mapping and I’m not sure how to configure it.
Thanks,
JohnForum: Plugins
In reply to: [Cloudflare] plugin needed or notYes, I recommend you activate the plugin. It won’t change anything without you doing something and you can always revert the settings in the Cloudflare.com dashboard if something messes up!
Thanks,
JohnForum: Plugins
In reply to: [Cloudflare] plugin needed or notHi @greg007,
You don’t need the plugin. Everything you can do in the plugin you can do through the Cloudflare.com dashboard. The plugin can automatically configure a lot of functionality for you though.
Thanks,
JohnSo we use get_site_url() to get the URL of your WordPress blog. I assume your dev environment is set to “dev-mysite.com” instead of “mysite.com” which is why its showing up as unprovisioned.
You could edit that setting in WordPress (which might break site functionality) or hardcode your prod url here:
https://github.com/cloudflare/Cloudflare-WordPress/blob/master/src/WordPress/WordPressAPI.php#L104To test further on your dev environment.
What if you view it from mysite.com?
Forum: Plugins
In reply to: [Cloudflare] Deactivating Plugin breaks backofficeHi @weaper,
Please check this KB article and let me know if it helps you solve your issue:
Thanks,
JohnForum: Plugins
In reply to: [Cloudflare] CSRF Token not found…Cloudflare and WordfenceIf you’re able to upgrade the version of PHP you’re running to 5.6+ that will also fix the issue.
Forum: Plugins
In reply to: [Cloudflare] CSRF Token not found.More information on the WordFence issue can be found here:
https://wordpress.org/support/topic/csrf-token-not-found-cloudflare-and-wordfence/#post-8903134
https://wordpress.org/support/topic/csrf-token-not-found-after-updating-wordfence/#post-8848149Thanks,
John- This reply was modified 9 years, 2 months ago by jwineman.
Forum: Plugins
In reply to: [Cloudflare] CSRF Token not found…Cloudflare and WordfenceHi Guys,
The affected code in WordFence is here:
https://plugins.svn.wordpress.org/wordfence/trunk/vendor/wordfence/wf-waf/src/lib/utils.php
$data = file_get_contents('php://input');Up to PHP 5.6 the
php://inputbuffer can only be read once so they need to modify their code to copy the buffer before reading it so that it is still available to other code that needs to read the POST body.An example solution exists here:
https://stackoverflow.com/a/35404842Forum: Plugins
In reply to: [Cloudflare] 3.2.0 Update Causes “Too Many Redirects” ErrorHi,
What about mixed content issues? Do you have automatic HTTPS rewrites enabled?
Thanks,
JohnForum: Plugins
In reply to: [Cloudflare] 3.2.0 Update Causes “Too Many Redirects” ErrorHi @turnheelsite,
This is probably a misconfiguration of your SSL setting – please check this KB article for more information and let us know if it solves your issue!
Thanks,
JohnForum: Plugins
In reply to: [Cloudflare] Multisite Activation RecommendationsHi @treyrich,
We don’t officially support WordPress MU but a few customers have mentioned using the plugin successfully.
Unfortunately I don’t know enough about it to recommend settings.
If you try it and run into any issues please let us know however I can’t guarantee we’ll fix them since its not supported.
Thanks,
JohnForum: Plugins
In reply to: [Cloudflare] CSRF Token not found After Updating WordfenceHi,
Unfortunately we can’t use
$HTTP_RAW_POST_DATAbecause it was deprecated in PHP 5.6 and removed in PHP 7. It would break comparability with users running modern versions of PHP.The root issue is you have another plugin which is reading the POST data from
php://inputbut not rewinding the buffer. Since requests made from our plugin should only be read by our plugin whatever plugin is doing this is behaving incorrectly. To determine which plugin is doing this you can deactivate them and re-enable them, trying the Cloudflare plugin each time. When the Cloudflare plugin stops working you know which plugin is causing the issue.We’ve also seen this with the Infinite WP plugin and are working with them on a fix.
Thanks,
John