WordPress.org

Support

Support » How-To and Troubleshooting » session error message after server upgrade to php5

session error message after server upgrade to php5

  • My server was upgraded to php5 this past weekend, and now I’m getting these warnings at the bottom of my WP pages:

    Warning: Unknown: open(/tmp/sess_f6580bdb02dbb73818d2a7266a8c5aca, 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 () in Unknown on line 0

    This seems to be limited to my theme (other themes are okay), but I don’t know where to look for anything to do with sessions. Help please?

Viewing 3 replies - 1 through 3 (of 3 total)
  • Moderator Samuel Wood (Otto)

    @otto42

    WordPress.org Tech Dude

    Complain to whoever upgraded your server. WordPress does not use sessions. A theme might, I grant you.

    But a session requires tmp files, and it looks like your server doesn’t have permissions set for you to use them.

    Thanks.

    I upgraded my server from PHP 4 to 5 and got these same errors, showing up below the footer on my admin screens. In my case, I traced it to the Bad Behavior plugin. Deactivating Bad Behavior removed the errors.

    I’m still checking with my host to see if anything went wrong in the PHP upgrade.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘session error message after server upgrade to php5’ is closed to new replies.