• Resolved Jay

    (@jwbats)


    I have a boilerplace WP installation on my localhost, which I use to install new sites quickly.

    Among the installed plugins, is WP Server Stats. I activated it on my boilerplate installation, created a backup with UpdraftPlus and restored it on a new site.

    Now it’s giving error output. Deactivating and reactivating does not solve this problem.

    I think it’s caused by the fact that it tries to access things it’s created on the boilerplate installation. But if it’s moved somewhere else, it doesn’t realize it’s been moved.

    Can this plugin be made resettable, or even better… can it be modified to do that on its own?

    Errors:

    Warning: session_start(): open(/var/lib/php/session/sess_0ea12sot8qi8qqhavdj26k32v5, O_RDWR) failed: Permission denied (13) in /var/www/sites/www.mywebsite.net/html/wp-content/plugins/wp-server-stats/wp-server-stats.php on line 46

    The plugin generated 270 characters of unexpected output during activation. If you notice “headers already sent” messages, problems with syndication feeds or other issues, try deactivating or removing this plugin.

    Warning: Unknown: open(/var/lib/php/session/sess_0ea12sot8qi8qqhavdj26k32v5, O_RDWR) failed: Permission denied (13) in Unknown on line 0

    Warning: Unknown: Failed to write session data (files). Please verify that the current setting of session.save_path is correct (/var/lib/php/session) in Unknown on line 0

    • This topic was modified 7 years ago by Jay.
Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author iSaumya

    (@isaumya)

    Hi,
    This is a very common thing. To resolve this. Just delete the plugin on the migrated site and reinstalled the plugin.

    The reason it cause this is because as the plugin ask for a lot of things to the server, at the beginning of fresh install once the plugin gets those data, it store the kind of data which will not get updated regularly to the WordPress cache for 7 day and after that it again fetches the current most data. This helps makes the plugin very lightweight without consuming much server resource.

    Please note that this only happens for those data which doesn’t get changed regularly.

    So changes are when you migrated your site it still hold to the old data. But if you completely delete the plugin it will also delete all the cache it has and then when you reinstall it will fetch the current data again.

    Hope this helps.

    Plugin Author iSaumya

    (@isaumya)

    P.S.: The latest version of the plugin i.e. v1.5.8 has ditched the Session dependency entirely.

    Thread Starter Jay

    (@jwbats)

    Thanks!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Permission Denied Errors When Restoring Plugin With UpdraftPlus’ is closed to new replies.