I receive the following error when I try to activate the Bad Behavior plugin on my website:
PHP Warning: Unknown: open(D:\Temp\php\session\\sess_71jfv5hq80m1qske8hpevk98k0, O_RDWR) failed: No such file or directory (2) in Unknown on line 0 PHP Warning: Unknown: Failed to write session data (files). Please verify that the current setting of session.save_path is correct (D:\Temp\php\session\) in Unknown on line 0
I created a folder named 'Temp' in my site's root folder and then inside that subfolder 'php' and then inside that folder another subfolder 'session'. After doing this I still receive the error. How do I resolve the error?
I'm on the Windows web hosting plan.
Solved! Go to Solution.
Thank you for posting. If you're still having this trouble, it could be that the temp folder doesn't exist in your hosting account. You would not be able to create this folder. Reach out to our support team to have them check for you.
That would explain why I was still getting the error even after creating a Temp folder. I wouldn't be able to create a folder with that file path: D:\Temp\php\session