Support » Plugin: Wordfence Security - Firewall & Malware Scan » Unable to download httaccess Falcon Engine and WPLM conflict

Viewing 5 replies - 1 through 5 (of 5 total)
  • Thread Starter LogoLogics

    (@logologics)

    This is what WPLM support had to say and how they have a temporary fix:

    Author of Wordefense assumed that ajax url has no parameters, and in js/admin.js file is something like this:

    1
    <a href=”‘ + WordfenceAdminVars.ajaxURL + ‘?action=wordfence_downloadHtaccess&nonce=’ + self.nonce + ‘”
    And it works always, if ajaxURL do not have already question mark.

    But, when you turn on WPML ajaxURL look like this:

    1
    ‘/new/wp-admin/admin-ajax.php?lang=nl’
    And when we add next “?” we have this:

    1
    /new/wp-admin/admin-ajax.php?lang=nl?action=wordfence_downloadHtaccess&nonce=1226e8d72c
    And it will be not works.

    I prepared temporary fix.

    I change in file:

    1
    wordfence/lib/wordfenceClass.php
    line: 3090 from:

    1
    ‘ajaxURL’ => admin_url(‘admin-ajax.php’),
    To:

    1
    ‘ajaxURL’ => preg_replace( ‘/\?.+$/’, ”, admin_url(‘admin-ajax.php’)),

    I will forward the details to our Themes & Plugins Compatibility Team and they will contact the author. Please note that this process may take a while as it depends on how soon the author will reply to our efforts to contact him.

    It would be great if you can also contact the author asking him to reply us. You could also refer them to our Go Global program so that we can help them make their theme compatible with WPML. https://wpml.org/documentation/theme-compatibility/go-global-program/

    This may help expedite the process.

    Plugin Author Wordfence

    (@mmaunder)

    Hi,

    I suspect WPML are breaking functionality in other plugins by adding their own query string parameter to what admin_url(‘admin-ajax.php’) returns.

    We’ll take a look at this but have no ETA at this point.

    Regards,

    Mark.

    Thread Starter LogoLogics

    (@logologics)

    Hi Mark,

    It definitively only gets in trouble if WPLM is active.
    Hope you are willing and able to fix this, so even WPLM users can enjoy the Falcon engine.

    Thanks for your time,
    Annie

    Hi Mark,

    Amit here from the WPML compatibility team, we’ll be happy to help if needed, you can catch me on Slack (@amit.k).

    Cheers!
    Amit

    Thread Starter LogoLogics

    (@logologics)

    Thanks Amit, hope this can be resolved soon.

    Annie

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Unable to download httaccess Falcon Engine and WPLM conflict’ is closed to new replies.