BrianRayA
Forum Replies Created
-
Forum: Plugins
In reply to: [Contact Form 7] Recaptcha working on contact page but not on my widgetsSure if you visit. https://www.elfer.nl/contact/ you can see its working at the bottom of the page. But when you visit the homepage or any other page where i have a widget placed with the code, you cant see the ReCaptcha.
https://www.elfer.nl at the bottom for example.
https://www.elfer.nl/aanbod/te-koop/ at the bottom for another exampleForum: Plugins
In reply to: [Download Manager] WPDM not working on multisiteBut how is it possible that the tables are empty if i have more 398 items in the back end in all languages? It suddenly stopped working.
Forum: Plugins
In reply to: [Download Manager] WPDM not working on multisiteDear Shaon,
Thank you for the reply,
The working downloads section: https://bertplantagie.com/databank/
The not working downloads section are these: This one after pressing a filter
and this one after pressing a filter: here
Thanks in advance,
Brian
Sure! Will do!
Thanks again for the help.
Hi Danny!
This solution really worksout!
Many kudos for you! i’ve been searching for a solution forever.
Thanks!
Hi Danny,
Thanks for your response but could you explain me the why it gives this error right now?
XMLHttpRequest cannot load https://bertplantagie.com/wp-admin/admin-ajax.php?mc4wp_action=subscribe. The 'Access-Control-Allow-Origin' header has a value 'https://bertplantagie.de' that is not equal to the supplied origin. Origin 'https://bertplantagie.nl' is therefore not allowed access.
Forum: Plugins
In reply to: [MC4WP: Mailchimp for WordPress] Subscribe button keeps on loading.Thanks for your reply but something went horribly wrong when I added your written code in the Functions.PHP Everything is gone. I can’t even get on WordPress anymore.
I interpreted your code like this
if( defined( ‘DOING_AJAX’ ) && DOING_AJAX ) {
$allowed_origins = array(
‘https://MYSITEURL.com’,
‘https://https://MYSITEURL.de’,
‘https://MYSITEURL.nl’
);
$origin = ( isset( $_SERVER[‘HTTP_ORIGIN’] ) ) ? $_SERVER[‘HTTP_ORIGIN’] : ”;if( in_array( $origin, $allowed_origins ) ) {
// tell server origin is allowed
header(“Access-Control-Allow-Origin: ” . $origin );
}`
}`Could you tell me what happend cause im clueless and it broke everything.