• Resolved fooey

    (@fooey)


    We noticed errors in the error log related to this plugin.

    PHP Warning: file_put_contents(/home/site/public_html/wp-content/plugins/independent-analytics/temp/device-detector.json): Failed to open stream: No such file or directory in /home/gloriade/public_html/wp-content/plugins/independent-analytics/IAWP/Utils/Device_Cache.php on line 87

    Is there something that needs to be addressed?

    thanks

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

    (@bensibley)

    Hi there,

    Thanks for getting in touch about this.

    Independent Analytics writes to a file inside its folder, located here: /wp-content/plugins/independent-analytics/temp/. It sounds like the file permissions on the site are likely blocking it from doing this. If you are able to change the file permissions to make the plugins folder writeable, that should resolve the issues.

    If that’s not an option, you can change the location where Independent Analytics writes to instead by adding this line to your wp-config.php file:

    define('IAWP_TEMP_DIR', '/home/site/public_html/wp-content/uploads/iawp/');

    I’m guessing the uploads folder is writeable, but you can choose any location that your server will allow plugins to write to files.

    Thread Starter fooey

    (@fooey)

    I checked the folder permissions and they are 0755.

    I added the line to wp-config but shouldn’t it write to the correct folder with those permissions?

    Thanks

    Plugin Author Ben Sibley

    (@bensibley)

    If the file permissions are correct, then I’m not sure exactly why it’s unable to write to the default folder. There may be another security feature on the site blocking it from working.

    Is it working well now that it’s been set to write to the uploads folder?

    Thread Starter fooey

    (@fooey)

    So far, I will keep an eye on it and let you know if the errors return. Thank you so much for such speedy replies!

    Plugin Author Ben Sibley

    (@bensibley)

    You’re welcome!

    Stay in touch if you need any further assistance.

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

You must be logged in to reply to this topic.