[pmwiki-users] session_write_close() error in captcha recipe

Petko Yotov 5ko at 5ko.fr
Fri Jul 10 15:03:59 CDT 2009


On Friday 10 July 2009 18:28:13 SteP wrote:
> Failed to write session data (files). Please
> verify that the current setting of session.save_path is correct (/tmp) in

This means that the directory where pmwiki tries to save session files doesn't 
exist. But in this case, you also probably cannot login with a password.

You can fix this by setting another directory.

1. Create a directory "sessions" in the same place where your index.php is, 
one for every field. Create in "sessions" a file named .htaccess with such a 
line:

  Deny from all

2. In farmconfig.php:

  session_save_path("sessions");


Petko



More information about the pmwiki-users mailing list