Ask your WordPress questions! Pay money and get answers fast! (more info)

PHP Errors WordPress

  • SOLVED

I just restored the website http://altamahatrading.com from a backup file from Backupbuddy. Now I am seeing PHP errors all over each page:

Warning: session_start() [function.session-start]: open(/tmp/sess_92d979a32b677b4035cae2577ff2b44a, O_RDWR) failed: Permission denied (13) in /home/altamaha/public_html/wp-content/plugins/eshop/eshop.php on line 49


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

I have tried changing file permissions in the eshop plugin files, but that didn't seem to help. Any assistance is greatly appreciated!

Answers (2)

2013-10-22

Arnav Joy answers:

your temp directory is not writeable , ask your server provider to make it writable.

please check this link

http://stackoverflow.com/questions/16022731/failed-to-write-session-data-files


Arnav Joy comments:

change the seesion_save.path directive in php.ini to a directory that actually exists, and give the apache user read/write permissions to it.


Anne Shenton comments:

Are you referring to the tmp folder in the root directory of the site? I have set the permissions to be writable but no change:

https://www.evernote.com/shard/s14/sh/fe23ee23-da5c-41e9-95af-50d284f18741/40183718a64c4b74797e8dcf926fb37e


Anne Shenton comments:

I'm not sure what you mean by your second comment. Where can I find those files/directories?


Arnav Joy comments:

ask your hosting provider , it is one of the folder in your file system


Anne Shenton comments:

I inquired with the host, and they fixed the problem. Thanks as always Arnav!

2013-10-22

Remy answers:

Did you change your hosting provider ? Did you try deactivating/reactivating the plugin ?


Anne Shenton comments:

I am using the same hosting provider but restored to a new database. I just tried deactivating/reactivating the plugin and no change.