• Hello,

    I just wanted to let you know that the creation of the file iawp-click-config.php inside the plugins folder is causing problems for WordPress installations without a writeable plugins folder (the similar problem occurred with the temp folder some time ago). I think you cannot rely on the fact that all WordPress installations have write access to a plugins folder. For example, I personally manage a number of WordPress sites using wp-cli, so I don’t have these folders writable for the web server process owner. Unfortunately, this new feature has caused issues with Independent Analytics and a few other plugins on all of my sites. I hope you can find a better solution than a self-modifying plugin in its folder, as it will probably break again on some sites with every update. Thank you very much!

    Regards
    Michal Krause

Viewing 1 replies (of 1 total)
  • Plugin Author Ben Sibley

    (@bensibley)

    Hi Michal,

    Thanks for your feedback on this.

    We’re in a tricky situation here, and I don’t think we’ll be able to move the config file out of this location. In order to track clicks, we’re using a PHP endpoint that runs without WordPress. This allows clicks to be recorded without loading WP for each click, which would be terrible for performance. Since this endpoint needs some info like if the Pro version is installed, the config file is created so the endpoint can read from it. The issue is that the config file needs to be in the same folder so that the endpoint knows where to find it.

    When we released 2.9, we had both files in the uploads folder, but we had issues with that folder being executable and the files being misidentified as malware, so we moved them into the plugins folder instead. Unfortunately, there doesn’t seem to be anywhere we can add these files that they will be reliably writable and executable, given the variety of WP environments. With that said, the plugins folder has been the more reliable option so far.

    Is it possible for you to make the independent-analytics-pro folder writeable for your sites, while keeping the rest of the plugins directory unwritable?

    As for it causing issues with other plugins on the site, could you let me know more about that? We can resolve any conflicts that may be created with other plugins.

Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.