Title: Issues in Multisite setup
Last modified: June 9, 2018

---

# Issues in Multisite setup

 *  Resolved [Arno Welzel](https://wordpress.org/support/users/awelzel/)
 * (@awelzel)
 * [7 years, 11 months ago](https://wordpress.org/support/topic/issues-in-multisite-setup/)
 * 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 7 years, 11 months ago by [Arno Welzel](https://wordpress.org/support/users/awelzel/).
      Reason: Added topic tag

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

 *  [SergeM](https://wordpress.org/support/users/serge00/)
 * (@serge00)
 * [7 years, 11 months ago](https://wordpress.org/support/topic/issues-in-multisite-setup/#post-10381477)
 * 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/](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 — [support@cleantalk.org](https://wordpress.org/support/topic/issues-in-multisite-setup/support@cleantalk.org?output_format=md)
 * 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: 
   [stop_email@example.com](https://wordpress.org/support/topic/issues-in-multisite-setup/stop_email@example.com?output_format=md)
 * Registration or any comment with this e-mail should be blocked every time.
 * Contact us anytime.
 * Best regards.
 *  Thread Starter [Arno Welzel](https://wordpress.org/support/users/awelzel/)
 * (@awelzel)
 * [7 years, 11 months ago](https://wordpress.org/support/topic/issues-in-multisite-setup/#post-10381857)
 * 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/](https://arnowelzel.de/)–
   with different folders for the content.
 *  [SergeM](https://wordpress.org/support/users/serge00/)
 * (@serge00)
 * [7 years, 11 months ago](https://wordpress.org/support/topic/issues-in-multisite-setup/#post-10382032)
 * 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](https://wordpress.org/support/users/awelzel/)
 * (@awelzel)
 * [7 years, 11 months ago](https://wordpress.org/support/topic/issues-in-multisite-setup/#post-10382427)
 * 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](https://wordpress.org/support/users/sergecleantalk/)
 * (@sergecleantalk)
 * [7 years, 11 months ago](https://wordpress.org/support/topic/issues-in-multisite-setup/#post-10383292)
 * Hello,
 * Thank you for your feedback. We will revise our code.
 * We will contact you within 2-3 working days.
 * Best regards
 *  [Safronik](https://wordpress.org/support/users/safronik/)
 * (@safronik)
 * [7 years, 11 months ago](https://wordpress.org/support/topic/issues-in-multisite-setup/#post-10399453)
 * 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](https://wordpress.org/support/users/awelzel/)
 * (@awelzel)
 * [7 years, 11 months ago](https://wordpress.org/support/topic/issues-in-multisite-setup/#post-10399460)
 * 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.

 * ![](https://ps.w.org/cleantalk-spam-protect/assets/icon-256x256.gif?rev=3539767)
 * [Anti Spam for Contact Forms, Comments & Online Stores - CleanTalk](https://wordpress.org/plugins/cleantalk-spam-protect/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/cleantalk-spam-protect/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/cleantalk-spam-protect/)
 * [Active Topics](https://wordpress.org/support/plugin/cleantalk-spam-protect/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/cleantalk-spam-protect/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/cleantalk-spam-protect/reviews/)

## Tags

 * [access key](https://wordpress.org/support/topic-tag/access-key/)
 * [multisite](https://wordpress.org/support/topic-tag/multisite/)
 * [wpms](https://wordpress.org/support/topic-tag/wpms/)

 * 7 replies
 * 4 participants
 * Last reply from: [Arno Welzel](https://wordpress.org/support/users/awelzel/)
 * Last activity: [7 years, 11 months ago](https://wordpress.org/support/topic/issues-in-multisite-setup/#post-10399460)
 * Status: resolved