• Resolved sklerotraficon

    (@sklerotraficon)


    Hello PYS-Support,

    I installed and activated the Free PYS Plugin and set up the Facebook Conversion API.

    Since then, as soon as any page on the Site is called, a Basic Authentication Interface pops up (Standard Basic Auth).

    As soon as I deactivate the PYS Plugin, the Basic Authentication is gone.

    I verified this beahvior severeral times:
    PYS Plugin activated -> Basic Auth active
    PYS Plugin deactivated -> no Basic Auth

    Thanks for hints on how to get rid of the Authentication when using the PYS Plugin

    Thanks and cheers

    Sklerotraficon

Viewing 11 replies - 1 through 11 (of 11 total)
  • Plugin Author PixelYourSite

    (@pixelyoursite)

    Hello,

    That’s very unusual, and to be honest I don’t event know what this Authentication can be.

    Are you sure you don’t have some code added using our Head and Footer feature that is related to this popup?

    Thread Starter sklerotraficon

    (@sklerotraficon)

    Hi,

    I checked the .htacces and the part with Basic Auth is not active (commented). Apart from that, there is no Basic Auth code for the Website.

    Thanks again for hints…

    Plugin Author PixelYourSite

    (@pixelyoursite)

    Please check if you have any code added using the plugin’s head and footer option.

    Open the plugin, and you will see a link to this feature in the right-side menu.

    Thread Starter sklerotraficon

    (@sklerotraficon)

    Thanks for your support,

    I reactivated the plugin, checked the Head & Footer section in the plugin, and there is nothing added in these fields, I also deactivated the slide switch and saved the Settings.

    To no prevail, the Basic Auth is still showing.

    Then I deactivated the plugin and the Basic Auth is gone promptly…

    Thanks again…

    Sklerotraficon

    Thread Starter sklerotraficon

    (@sklerotraficon)

    One thing I did notice:

    With the plugin enabled, when reloading the website, there goes one call to /wp-admin/admin-ajax.php (it keeps pending, until I hit the Cancel Button on the Basic Auth Interface, resulting in the request returning 401) which is not occuring with the disabled plugin.

    Maybe this is a clue.

    Plugin Author PixelYourSite

    (@pixelyoursite)

    The admin admin ajax called is normal, and I can’t see how it triggers your issue.

    I’m afraid I have no idea why this happens.

    You can message us your website URL on our website’s contact page to take a look.

    • This reply was modified 4 years, 6 months ago by PixelYourSite.
    Plugin Author PixelYourSite

    (@pixelyoursite)

    On top of checking your .htacces, I would also suggest you to look for any other plugin that might enable basic authentication, and to contact your hosting’s support. Maybe they have some extra security measures that create a conflict with our plugin.

    Thread Starter sklerotraficon

    (@sklerotraficon)

    The wp-admin folder contains a .htaccess file with basic auth to prevent access to this folder.

    Since the Plugin triggers (or at least, with the plugin activated, this call is triggered) this url, of course the Basic Auth is activated.

    Is there a way to keep the plugin from calling /wp-admin/admin-ajax.php ?

    Thank you

    Plugin Author PixelYourSite

    (@pixelyoursite)

    I’m glad you found the source of your problem.

    You can try to disable the admin ajax option we have under the Facebook ID.

    There is also an ajax filter values option on the Consent page that you can disable.

    But we do need admin.jax to avoid things like caching event ids, so this might not be a good idea.

    Thread Starter sklerotraficon

    (@sklerotraficon)

    Thanks for the hint,

    Disabling “Use Ajax when conversion API is enabled. Keep this option active if you use a cache” option did the trick.

    What are the downsides of disabling this options ?

    Thanks for your support!!

    Sklerotraficon

    Plugin Author PixelYourSite

    (@pixelyoursite)

    Depending on your cache configuration, it’s possible that the event ID’s cached.

    You can test this easily: open a page, check an event with Pixel Helper, and look for the event ID. Refresh the page, check the same event, and look if the event ID is different. If it is, you are fine and you don’t need that option ON.

Viewing 11 replies - 1 through 11 (of 11 total)

The topic ‘PixelYourSite Plugin triggers Basic Authentication’ is closed to new replies.