Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
I place the module in sites/mysitename/modules directory
How do I fill out the settings for a multisite install?
where "localhost" is now do I put in the name of my installation?
do I need to somehow specify a different tmp file like /tmp/radioactivity-sitename ?
can I do this in the cfg.inc file that is produced?
will this conflict with the settings page?
Comment | File | Size | Author |
---|---|---|---|
#2 | radioactivity-multisite_tmp_file-1918338-2.patch | 1.02 KB | René-Marc Simard |
Comments
Comment #1
Anonymous (not verified) CreditAttribution: Anonymous commentedJust done the same thing - you can't specify a different /tmp folder for each site as that's a global setting for the module.
My quick fix was to change lines 25+44 of includes/RadioactivityFileIncidentStorage.inc to:
It's a hack, but without it radioactivity for each site will come from a single file, and no filtering will be done. You'll end up getting Duplicate Key errors when adding new content on probably all of the sites.
Comment #2
René-Marc Simard CreditAttribution: René-Marc Simard commentedHere is _isos' approach rolled into a simple patch, along with some hardening to filter out any characters that could be problematic within file names, like the columns in an IPV6 address for instance.