• Resolved Arno Welzel

    (@awelzel)


    I just installed CleanTalk in a multisite environment since it worked in a single site quite well. I also purchased a package plan for three years and up to three websites.

    The multisite setup is used to provide two languages using the “Multisite Language Switcher” plugin – so the primary site is German and the second site is English.

    Issue 1:

    When activating the plugin for the network, the result was a blank page with “File not found”. Fortunately, the site still works and I could manually enter the backend again by entering the URL in the browser.

    The the CleanTalk plugin told then me to add the API key to wp-config.php before I can use it. This is a bit strange, as the single site setup allowed me to enter the API key in the backend.

    Issue 2:

    On the primary site, there is a CleanTalk widget with statistics which works fine.

    However, on the second site, the widget tells me, that I need to activate it with an API key:

    “Get Access key to activate Anti-Spam protection!”

    When I click the “Activate” button I get just redirected to the backend configuration of the CleanTalk plugin for that site which says “Protection is active”.

    So – is protection for the second site in the multisite setup active or not?

    • This topic was modified 6 years, 5 months ago by Arno Welzel. Reason: Added topic tag
Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Support SergeM

    (@serge00)

    Hello, Arno.

    Thank you for your request.

    1.
    The CleanTalk Anti-Spam Plugin uses a defined constant in your wp-config.php file, yes. Simply add this line to the file:
    define('CLEANTALK_ACCESS_KEY', 'place your key here');

    You can see your access key in your CleanTalk Control Panel here:
    https://cleantalk.org/my/

    As for the error, could you send us your webserver log and PHP log files to see why that happened? Our e-mail — [email protected]

    2.
    Yes, widgets in the admin dashboards takes information from your main website. Please, check if the protection is working by using this blacklisted e-mail:
    [email protected]

    Registration or any comment with this e-mail should be blocked every time.

    Contact us anytime.

    Best regards.

    Thread Starter Arno Welzel

    (@awelzel)

    Maybe I did not explain that precise enough.

    ISSUE 1:

    Why is there “File not found” error when installing and activating the CleanTalk plugin in a multisite setup for the first time?

    ISSUE 2:

    I did already add the constant in wp-config.php and the primary site works fine – but the dashboard widget in the secondary site complains about a missing activation. If the plugin already recognizes a multisite setup and asks to put the API key to wp-config.php, why does the dashboard widget in the secondary site not recognize the API key in the global configuration? This seems to be a bug.

    Both sites run under the same Domain – https://arnowelzel.de/ – with different folders for the content.

    Plugin Support SergeM

    (@serge00)

    Thank you for your feedback.

    1.
    I just tested the plugin in WPMS and I see no errors after initial installation.
    That’s why I asked for logs. Maybe your webserver forbids to read-write some folders and necessary files couldn’t be downloaded.

    2.
    Yes, we aware of this behavior and it doesn’t affect protection. We plan to change it in the next versions.

    Kind regards.

    Thread Starter Arno Welzel

    (@awelzel)

    Thanks for the quick response. Indeed spam filtering also works on the secondary site as well.

    I checked the server logs and I could not find any error log around the time when I activated the plugin. PHP is allowed to write files within the root of the website.

    The reason why I thought, this may be a problem in the plugin: it only happened in the multisite setup and also only in the multisite setup the plugin requests to put the API key to wp-config.php instead of just using the primary site configuration.

    Another interesting finding:

    After I clicked “refresh” in the dashboard widget, the API key warning disappeared and I got the statistics in the secondary site as well.

    Besides these little glitches I’m quite pleased with the results yet.

    Plugin Support sergecleantalk

    (@sergecleantalk)

    Hello,

    Thank you for your feedback. We will revise our code.

    We will contact you within 2-3 working days.

    Best regards

    Hello,

    Thank you for the feedback! We will consider this information. We are already planned complex task about WMPS and it will be perform in the next releases. It could take few weeks. Should we inform you as soon as we finish?

    Thread Starter Arno Welzel

    (@awelzel)

    Thanks for the update. An individual notification is not neccessary – I’ll see the updated plugin anyway when it is available. Thank you.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Issues in Multisite setup’ is closed to new replies.